Functions for drawing and filling lines, rectangles and polygons directly onto a mutable image
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
script
src/Codec/Picture
.gitignore
CHANGELOG.md
LICENSE
README.md
Setup.hs
example.png
juicy-draw.cabal
stack.yaml

README.md

juicy-draw

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

Example

Example

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

ghcid

stack exec ghcid -- -T':main'

Build

stack build

Test

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
upload-haddocks

Releases

View change log for more information

Licence

MIT License

Copyright © 2018, Richard Cook.