0.0.8 • Published 8 years ago

topath v0.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago