Building on my previous post, I have translated my triangle fill method and some other basic 2D primitives into Haskell. I present to you: juicy-draw (also on GitHub).
Here’s an example program:
This project is inspired by JuicyPixels-canvas and similarly builds on top of JuicyPixels (hence the name). It provides an improper superset of the functions in JuicyPixels-canvas but with one main difference: they operate directly on
MutableImage instead of employing an intermediate
Content © 2023 Richard Cook. All rights reserved.