nanovg
NanoVG Haskell bindings (by cocreature)
gloss
Painless 2D vector graphics, animations and simulations. (by benl23x5)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nanovg
Posts with mentions or reviews of nanovg.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning nanovg yet.
Tracking mentions began in Dec 2020.
gloss
Posts with mentions or reviews of gloss.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-18.
-
About Gloss
That Picture type is what does all the heavy lifting. Have you read its Haddocks already? There's an example using play in gloss-examples if it helps you (it just renders the most recent event as text on the screen). When I was new to Haskell and gloss, I found "following the types" helped. There's only a limited amount of things you can do with Picture, and those limitations can help guide you.
-
Are there more elegant languages for generative art and creative coding?
Haskell is the purest of the pure, and a fun language. Never done graphics with it but I see Gloss looks decent - https://github.com/benl23x5/gloss.
-
Can't install WxHaskell on Windows
If you just want to draw stuff on a window, then have a look at gloss (a very simple yet useful interface to OpenGL) and sdl2 (which gives bindings to the SDL library).
-
Using gloss on Windows
This question is in the gloss FAQ:
-
Best beginner-friendly 2D library
Ideally, I'd like something like gloss in Haskell.
What are some alternatives?
When comparing nanovg and gloss you can also consider the following projects:
hayland - DEPRECATED Haskell bindings for the Wayland library
OpenGL - Haskell bindings to OpenGL
friday - Fast image IO and transformations.
GLUT - Haskell bindings to GLUT
fltkhs - Haskell bindings to FLTK GUI toolkit.
brick - A declarative Unix terminal UI library written in Haskell
threepenny-gui - GUI framework that uses the web browser as a display.
Rasterific - A drawing engine in Haskell
xcffib - A drop-in replacement for xpyb based on cffi
pcf-font - PCF font parsing and rendering library.
sdl2 - Haskell bindings to the SDL2 library
Chart - A 2D charting library for haskell