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

[ graphics, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0
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:0.2.0.0
Executables juicy-draw-demo
Downloads 1272 total (6 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-0.2.0.0

[back to package description]

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 © 2017, Richard Cook.