nanogui 0.1.0

Port of nanogui to dlang.

To use this package, put the following dependency into your project's dependencies section:


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

  • drug007
gfm:sdl2, gfm:opengl, arsd-official:nanovega, gfm:math
0.2.0 2019-Apr-01
0.1.1 2019-Mar-25
0.1.0 2019-Mar-10
0.0.9 2019-Feb-26
0.0.8 2018-Dec-22
Show all 19 versions
Download Stats:
  • 0 downloads today

  • 1 downloads this week

  • 5 downloads this month

  • 21 downloads total

Short URL: