-
Notifications
You must be signed in to change notification settings - Fork 14
Home
Andy Gill edited this page Jun 18, 2014
·
36 revisions
blank-canvas is a Haskell binding to the complete HTML5 Canvas API. blank-canvas allows Haskell users to write, in Haskell, interactive images onto their web browsers. blank-canvas gives the users a single full-window canvas, and provides many well-documented functions for rendering images.
cabal install blank-canvas
That's it! If you want the examples,
cabal install blank-canvas-examples
We recommend downloading the blank-canvas-examples repo and building by hand, simply because you then have the source to start experimenting with.
Link | Notes |
---|---|
Examples | Various complete examples of using blank-canvas |
Hackage | Current release is 0.4.0 |
API | Discussion of API, compared with the original JavaScript API |
Canvas Tutorial | Transliterated from http://www.html5canvastutorials.com/ into Haskell and blank-canvas, with kind permission of Eric Rowell, author of the JavaScript HTML5 Canvas Tutorial. |