Nodens
A C++23 framework for building interactive desktop applications quickly, with optional Dear
ImGui. Everything is a C++ module, so an app starts with import nodens; and links
one static library.
Writing an app
- An app inherits from
Nodens::Application, pushes one or more layers, and callsRun(). Every frame, each layer receivesOnUpdate(TimeStep)andOnImGuiRender(TimeStep), and input events routed down the stack arrive inOnInputEvent. - Three examples ship with it:
circularwave3d(live 2D/3D plots with ImPlot and ImPlot3D),planetaryscan(the event bus and task system working together) andheadlesspulse(a loop with no window). - Tracy profiling is built in: add
ZoneScopedto any layer method. - CMake builds every dependency from source, so there is nothing to install by hand.