I am very excited to announce Brillo, a Haskell package for painless 2D vector graphics, animations, and simulations powered by GLFW and OpenGL.
So far, it’s a backwards compatible fork of gloss and improves upon it in several ways:
- Remove support for deprecated GLUT and SDL backends and use GLFW instead
- High DPI / Retina display support
- (x) button can be used to close the window and terminate the app
- Re-implement support for vector font and improve several character glyphs
- Remove broken
gloss-raster
due to unmaintainedrepa
dependency - In-source
brillo-juicy
package - Remove broken Travis CI scripts
- Add screenshots to all examples
- Manage issues and discussions on GitHub
- Format all code with Fourmolu
and cabal-fmt
Why a fork?
Gloss includes a lot of old baggage I wanted to get rid off and the project seems to be more about maintaining the status quo, rather than improving it. There was no commit on master for more than 2 years.
Future plans:
- Make it a community project with steady improvements
- More documentation
- More examples
- Game jams
- Please get involved!
- Make it more usable for GUIs (I’m using it as the backend of Perspec)
- Fonts (Bitmap, TrueType)
- Better rendering (anti-alias, thick lines, …)
- Better integration (file selector, …)
- High level components (button, selector, …)