graphics-ts

A porting of purescript-{canvas, drawing} featuring fp-ts

MIT License

Downloads
195
Stars
44
Committers
2

Functional bindings for the HTML Canvas API

Inspired by

Installation

To install the stable version:

npm install graphics-ts fp-ts fp-ts-contrib

Note: fp-ts and fp-ts-contrib are peer dependencies for graphics-ts

Documentation

Example

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

npm install
npm start
open example/test.html

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

Package Rankings
Top 8.81% on Npmjs.org