Skip to content
D port of wjakob/nanogui
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

What is it? Build Status

D port of nanogui

The port is incomplete - not all widgets are ported, but all ported widgets are fully usable.

There is difference with origin. For example:

  • instead of const references passing by value is used
  • as a color and vector implementation gfm.math is used (in origin eigen used as a vector implementation and own implementation of color type)
  • no locking on glfw, instead two backends are available - arsd.simpledisplay (no external dependencies) and SDL2 (depends on SDL2 library obviously), SDL backend is more developed than arsd one (due to lack of time). Other backend like glfw, sfml etc can be easily added, nanogui is agnostic to underlying layer.

Cloning source

git clone


Directory examples contains two packages, providing examples for arsd and sdl backends. To run example cd to corresponding directory and run dub command. For example:

cd examples/sdl

SDL2 based example is more advanced (due to lack of time).


Screenshot is a bit old and do not show some widgets for example GLCanvas Screenshot

You can’t perform that action at this time.