A C++ toolkit for rapid development of live graphical applications and games with immediate-mode UI and graphics rendering.
Two is a C++ toolkit designed for rapid development of live graphical applications and games. It provides essential building blocks like reflection, generic algorithms, an immediate UI paradigm, and a flexible graphics renderer, enabling developers to create lean C++ apps from scratch without the overhead of large engines.
C++ developers and game programmers who need a lightweight, fast prototyping library for graphical applications, games, or tools with real-time UI and graphics capabilities.
Developers choose Two for its focus on speed and minimalism, offering immediate-mode UI and graphics rendering in a modular, reusable library format that avoids the bloat of traditional game engines.
c++ toolkit for rapid development of live graphical apps and games
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables real-time style switching via JSON style sheets, allowing instant UI appearance changes without code recompilation, as demonstrated in the UI documentation for widget customization.
The immediate graphics renderer lets developers quickly set up 3D scenes, meshes, and animations with minimal code, shown in the 35 examples ported from three.js for fast iteration.
Includes a web-based editor for real-time editing and visualization of examples, facilitating rapid learning and debugging, highlighted in the live-coding section with interactive demos.
Core components like twfx (graphics) and twui (UI) are independent libraries, promoting reuse and flexibility, as mentioned in the README for decoupled usage.
Requires cloning multiple dependencies (bx, bimg, bgfx) and using the GENie build system, which can be error-prone and time-consuming, as outlined in the building instructions.
Relies heavily on examples for learning, with sparse formal documentation; the README directs users to example code rather than comprehensive guides, potentially slowing onboarding.
Primarily focused on graphical applications and games, lacking built-in features for non-graphical or server-side projects, which limits its utility for broader C++ development.