juicy-draw: Draw and fill lines, rectangles and polygons

[ graphics, library, mit, program ] [ Propose Tags ]

This package provides 2D primitives for drawing/filling simple 2D shapes directly onto a JuicyPixels mutable image

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Dependencies base (>=4.7 && <5), juicy-draw, JuicyPixels, numeric-extras, primitive [details]
License MIT
Copyright 2018 Richard Cook
Author Richard Cook
Maintainer rcook@rcook.org
Category Graphics
Home page https://github.com/rcook/juicy-draw#readme
Source repo head: git clone https://github.com/rcook/juicy-draw
Uploaded by rcook at 2018-12-20T03:45:22Z
Distributions NixOS:
Executables juicy-draw-demo
Downloads 1171 total (36 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for juicy-draw-

[back to package description]


Travis branch Hackage GitHub license

Functions for drawing and filling lines, rectangles and polygons directly onto a JuicyPixels mutable image; inspired by JuicyPixels-canvas but without the Canvas part



See code.

Set up dev tools

This project can be built using the Stack build tool.

stack build intero
stack build --copy-compiler-tool ghcid


stack exec ghcid -- -T':main'


stack build


stack test

Run demo

stack exec juicy-draw-demo

Upload package

stack upload .

Upload documentation

I use my upload-haddocks tool which requires a functioning installation of Python and pip:

pip install --user upload-haddocks


View change log for more information


MIT License

Copyright © 2017, Richard Cook.