tb

twojs-browserify

A browserified two-dimensional drawing api meant for modern browsers.

Showing:

Popularity

Downloads/wk

3

GitHub Stars

1

Maintenance

Last Commit

8yrs ago

Contributors

0

Package

Dependencies

1

Size (min+gzip)

17.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Two.js Browserify

A browserified two-dimensional drawing api meant for modern browsers.

This is a browserified package for Two.js .

Usage

npm install --save twojs-browserify
Two = require 'twojs-browserify'
elem = document.querySelector '#container'

params = width: 200, height: 100
two = new Two(params).appendTo elem

circle = two.makeCircle 72, 70, 10
circle.fill = '#fff800'
circle.stroke = 'organered'
circle.linewidth = 5

two.update()

Change Log

  • 0.2.0, wrap Two.js 0.2.0 into a NPM package

License

MIT

For Two.js , see offical repo:

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100