# hugoam/two

c++ toolkit for rapid development of live graphical apps and games

Repository: https://github.com/hugoam/two
Canonical: https://ross.abutalabs.com/products/two
Language: C++
License: Zlib
License Family: permissive
Topics: reflection, ui, rendering, gamedev
Last push: 2023-11-21T18:16:25+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3162, "days_push": 1016, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1732, forks 100 (observed 2026-08-28T04:05:28.775562+00:00)

## What it is
two is a C++ toolkit for rapidly prototyping live graphical applications and games, providing reflection, generic algorithms, an immediate-mode UI system, and a flexible mid-level graphics renderer. It favors small reusable libraries over monolithic engines and can also be used from higher-level language bindings.

## Use cases
- prototype a graphical c++ app quickly
- build a small game without a heavy engine
- create an immediate mode ui in c++
- render 3d scenes with meshes, lights and materials
- live-code and edit graphics examples in the browser
- build lightweight self-contained c++ libraries

## When to choose
- you want a lean, modular alternative to large game engines
- you need immediate-mode UI with auto-layout and widgets in C++
- you are prototyping graphical apps or games and want minimal boilerplate
- you want reflection and generic building blocks for C++ apps

## When to avoid
- you need a full-featured production game engine with editor and asset pipeline
- you require a large ecosystem, extensive docs, or commercial support
- you are not comfortable working in C++ with a custom build system

## Facets
- artifact type: framework
- maturity: maintenance
- function: ui-components, graphics, game-engine, animation, state-management
- domain: graphics, web-development, developer-tools
- platform: cpp, cross-platform, wasm
- tags: immediate-mode-ui, reflection, live-coding, prototyping, renderer, lightweight, game-development, web-server

## Member repositories
- hugoam/two (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.775562+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:30.650088+00:00, confidence not recorded.
  - readme: https://github.com/hugoam/two (fetched 2026-08-28T04:05:28.775562+00:00, sha 471e48f2a0d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
