Link Search Menu Expand Document

Functional bindings for the HTML Canvas API

Inspired by

Installation

To install the stable version:

npm install graphics-ts fp-ts

Note: fp-ts is a peer dependency for graphics-ts

Documentation

Example

To run the example, clone the repository and run the following:

npm install
npm start
open example/test.html

snowflake

Adapted from https://github.com/purescript-contrib/purescript-drawing/blob/master/test/Main.purs