g2d-demo is a graphic application that uses g2d framework to test and to demonstrate basic idea of using g2d. It is published on https://github.com/vbsw/g2d-demo.
Install Go (https://golang.org/doc/install). For Cgo install a C compiler (https://jmeubank.github.io/tdm-gcc/).
For Windows: To compile an executable that doesn't open a console, use
-ldflags -H=windowsgui
1 - 5 spawn 1, 10, 100, 1000, 10000 entities
q, w de-/increment size of entities by 1 pixel
a, s de-/increment size of entities by half/twice
k, l de-/increment movement speed of entities
o set original size
r toggle rotation
m toggle movement
j switch between no, auto and custom mipmaps
v toggle vsync
b toggle window borders on/off
d toggle window dragable on/off
t toggle anti-aliasing (offscreen buffer, only)
i print stats (UPS, FPS, ...)
c clear screen
f fullscreen
n show new window
See file COPYRIGHT.