Skip to content

Examples Guide

renanbomtempo edited this page Jun 10, 2026 · 1 revision

⚠️ This wiki is under construction. Pages are being populated incrementally.

Examples Guide

Detailed walkthroughs of the example applications bundled with Nodens. For a quick overview, see the Example Applications section in the README.

circularwave3d

Demonstrates: Immediate mode GUI, real-time 2D/3D plotting with ImPlot and ImPlot3D, profiling.

Key Files

  • examples/circularwave3d/CircularWave3DApp.cpp — Application entry point
  • examples/circularwave3d/CircularWave3DLayer.cppm — Layer interface
  • examples/circularwave3d/CircularWave3DLayer.cpp — Layer implementation

jobsystem

Demonstrates: Thread pool submission, std::future polling, non-blocking UI updates.

Key Files


asyncevent

Demonstrates: Pub/Sub event bus, thread-safe data collection, live scatter plot visualization.

Key Files


Running the Examples

# Build with examples enabled (default for top-level builds)
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
cmake --build build

# Run an example
./build/examples/circularwave3d/example-circularwave3d
./build/examples/jobsystem/example-jobsystem
./build/examples/asyncevent/example-asyncevent

See Also

Clone this wiki locally