GLUT
Haskell bindings to GLUT (by haskell-opengl)
gloss
Painless 2D vector graphics, animations and simulations. (by benl23x5)

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
GLUT | gloss | |
---|---|---|
1 | 5 | |
61 | 404 | |
- | 0.5% | |
3.6 | 0.0 | |
7 months ago | 7 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
GLUT
Posts with mentions or reviews of GLUT.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-23.
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 GLUT and gloss you can also consider the following projects:
luminance - Type-safe, type-level and stateless Haskell graphics framework
OpenGL - Haskell bindings to OpenGL
plots - Haskell plotting library
brick - A declarative Unix terminal UI library written in Haskell
freetype2 - My personal branch of the freetype2 source code
nanovg - NanoVG Haskell bindings
vinyl-gl - Utilities for working with OpenGL's GLSL shading language and vinyl records.
Chart - A 2D charting library for haskell
hayland - DEPRECATED Haskell bindings for the Wayland library
pcf-font - PCF font parsing and rendering library.
GLFW-b - Haskell bindings to GLFW
blank-canvas - A Haskell API into HTML5 Canvas

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured