npm

graphics-ts
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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
snowflake

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

Package Sidebar

Install

npm i graphics-ts

Weekly Downloads

42

Version

1.1.0

License

MIT

Unpacked Size

194 kB

Total Files

28

Last publish

Collaborators

  • gcanti