Package Exports
- polymorph-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 (polymorph-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Polymorph
Morph SVG Paths
Features
- morphs between two or more svg paths using a simple function
- handles variable length paths and holes in paths
- compatible with Just Animate, Popmotion, nm8, TweenRex, and other animation libraries
- Super tiny, about 6k minified
- Free for commercial and non-commercial use under the MIT license
Flubber (53kb) |
Polymorph (6kb) |
|
|
Get Started
Read the full documentation to get started or check out the demos below.
Demos
- Morph Leonardo da Vinci to a Skull
- Charmander Evolves with Just Animate 2 + Polymorph
- Morphin' Icons with Just Animate 2 + Polymorph
License
This library is licensed under MIT.
Have a question or something to contribute?
Please create an issue for questions or to discuss new features.
Special Thanks
Special thanks to @shshaw for the amazing logo and artwork!