gloss
Painless 2D vector graphics, animations and simulations. (by benl23x5)
implicit
A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation... (by colah)
Our great sponsors
gloss | implicit | |
---|---|---|
5 | 4 | |
392 | 1,283 | |
- | 1.1% | |
0.0 | 8.6 | |
over 1 year ago | 7 days ago | |
Haskell | Haskell | |
MIT License | GNU Affero General Public License v3.0 or later |
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.
implicit
Posts with mentions or reviews of implicit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-06.
-
Show HN: Make 3D art in your browser using Lisp and math
There's also ImplicitCAD (https://github.com/Haskell-Things/ImplicitCAD) which produces STLs, as it is designed for CAD. It uses implicit functions, which I believe are similar to SDFs (I believe the idea is not to necessarily correspond to the distance function).
- Dhall: A Gateway Drug to Haskell
-
I printed a waistband tightener to hold my skirt up!
ImplicitCAD is essentially OpenSCAD with bevels.
-
OpenScad is great, but slow to render.
You might take a look at ImplicitCAD. It accepts OpenSCAD code (as well as some other more exotic formats) and can render much much faster depending on resolution. There's an online editor/renderer here that would tell you whether it can handle your existing code unmodified.
What are some alternatives?
When comparing gloss and implicit you can also consider the following projects:
OpenGL - Haskell bindings to OpenGL
brick - A declarative Unix terminal UI library written in Haskell
nanovg - NanoVG Haskell bindings
openscad - OpenSCAD - The Programmers Solid 3D CAD Modeller
GLUT - Haskell bindings to GLUT
plot-light - A lightweight plotting library, exporting to SVG
opengles - A simplified OpenGL ES core wrapper library for Haskell.
Rasterific - A drawing engine in Haskell
gelatin - A nice Haskell graphics API. There's always room for jello.
pcf-font - PCF font parsing and rendering library.
delaunay - Generates a Delaunay triangulation of a set of points