0.0.8 • Published 7 years ago

topath v0.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

toPath

An lightweight and fastest alternative to svg-points with tweening support

NPM Greenkeeper badge Scrutinizer Scrutinizer Coverage NPM Version Build Status NPM Downloads Github Releases jsdelivr unpkg npmcdn Flattr this license

Note

  • Please don't use function instance in frame-render. Because when you do it, you kill the performance
  • This is simple and alternative for svg-points

CDN

# unpkg
https://unpkg.com/topath

# npmcdn
https://npmcdn.com/topath

# jsDelivr
https://cdn.jsdelivr.net/npm/topath

Installing

$ npm install topath
# or
$ yarn install topath

Docs

Those functions does almost everything what you need, but sometimes hand-made changes required

toPath

What it does?

It is prepares values for better performance

Code
var p = toPath(fromShape, toShape);

	path.setAttribute('d', toPath(0.5));
0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago