External Publication
Visit Post

Brillo 2.0 - Production ready 2D graphics

Haskell Community [Unofficial] February 27, 2026
Source

I’m incredibly excited to announce Brillo 2.0!

github.com

GitHub - ad-si/Brillo: Painless 2D vector graphics, animations, and...

Painless 2D vector graphics, animations, and simulations powered by GLFW (Fork of gloss)

This is a massive release and the result of our efforts to fix all the issues that make Haskell desktop apps feel like second-class citizens:

  • Make anti-aliasing the default for all primitives
  • Add support for true type fonts
  • Add window refresh callback for live resizing support on macOS
  • Add cursor shape support (pointer, crosshair, …)
  • File system support:
    • Add dialog to pick files or directories
    • Support opening a save file dialog
    • Add support for dropping of files/directories
  • Add SVG export support with comprehensive test suite
    • Add simple canvas editor to demonstrate SVG export
  • Export all fields of BitmapData type (allows executing image manipulation operations on the pixel data)
  • Add brillo-export to export several image formats
    • Add support for WebP file format
  • Add support for rendering non-convex polygons
  • Add several example games (2048, Chess, Pac-Man, Snake, Tetris, Tic Tac Toe)
  • Remove all smart constructors that only wrap a data constructor

It should also work on all platforms now! To make sure, please download the pre-built Tetris example and let me know if it works for you!

I’m also building Perspec – a desktop app to correct the perspective of images – with it and will soon release a very capable new version!

Discussion in the ATmosphere

Loading comments...