Haskell library for 2D interactive graphics.
- All spatial units are normalised by default. e.g., for width
0.0
is all the way to the left, and1.0
is all the way to the right. Pixel units are still supported and are trivial to calculate. AfromPixels pixels
function is provided. - The default coordinate system has the origin in the bottom-left corner.
cabal install
Run the GLFW based test/example program:
cd example
cabal run example-acetone