nanovg: Haskell bindings for nanovg

[ graphics, library ] [ Propose Tags ]

Raw bindings to the OpenGL vector graphics library NanoVG

[Skip to Readme]
Versions [faq],,,,,,,,,
Change log
Dependencies base (>=4.8 && <5.0), bytestring (==0.10.*), containers (>=0.5 && <0.7), text (==1.2.*), vector (>=0.11 && <0.13) [details]
License ISC
Copyright 2016 Moritz Kiefer
Author Moritz Kiefer
Revised Revision 1 made by cocreature at 2018-06-22T15:19:56Z
Category Graphics
Home page
Source repo head: git clone
Uploaded by cocreature at 2018-05-20T18:00:12Z
Distributions NixOS:
Executables example00
Downloads 5524 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]





Build examples


Build for GLES3. This deactivates GL3 support.


Build for GL2. This deactivates GL3 support.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for nanovg-

[back to package description]

NanoVG Haskell bindings

Build Status Hackage

Currently only the GL3 backend is supported.

A large part of the example bundled with NanoVG is translated into Haskell and bundled as example00.

Most of the bindings directly expose the corresponding NanoVG so look there for more details on the usage.

There is also a diagrams backend using these bindings.

Feel free to open issues if you have any ideas for improvements (or even better PRs :)).