gloss
Painless 2D vector graphics, animations and simulations. (by benl23x5)
glut
OpenGL Utility Toolkit (by markkilgard)
Our great sponsors
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.
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.
glut
Posts with mentions or reviews of glut.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Fedora 13 and OpenGL
I cant find glut in any of the fedora repos so you should download it straight from https://github.com/markkilgard/glut. Also theres a project called freeglut which is in the repos which u can download by just running `dnf install freeglut-devel` its basically a close enough re implementation of glut thats opensource.
-
Choosing a license for my project
Look at what happened to GLUT. Because of the license that forbids modification (and the project being de-facto abandoned by its original author) people will generally choose to use FreeGLUT which has more permissive licensed, and the original GLUT is slowly being forgotten. (Different license requirements, but you get my point.)
What are some alternatives?
When comparing gloss and glut you can also consider the following projects:
OpenGL - Haskell bindings to OpenGL
luminance - Type-safe, type-level and stateless Haskell graphics framework
nanovg - NanoVG Haskell bindings
glade
GLUT - Haskell bindings to GLUT
pictikz - Interpretes an SVG image as a graph, converting it to tikz.
brick - A declarative Unix terminal UI library written in Haskell
Gifcurry - 😎 The open-source, Haskell-built video editor for GIF makers.
Rasterific - A drawing engine in Haskell
bindings-GLFW - Low-level Haskell bindings to GLFW
pcf-font - PCF font parsing and rendering library.
vinyl-gl - Utilities for working with OpenGL's GLSL shading language and vinyl records.