JSPM

  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q44015F
  • License MIT

Fast & Lightweight SVG Shape Manipulation library based on Points

Package Exports

  • points.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (points.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

points.js

Fast & Lightweight SVG Shape Manipulation library based on Points (@colinmeinke/points)

Note

  • Please use these methods before tweening initializing, because it changes the points for better natural look
  • This is extend/add-on for Points

CDN

# unpkg
https://unpkg.com/points.js

# npmcdn
https://npmcdn.com/points.js

# jsDelivr
https://cdn.jsdelivr.net/npm/points.js

Docs

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

autoReverse

fromShape = autoReverse(fromShape, toShape);

autoIndex

fromShape = autoIndex(fromShape, toShape);