Awesome
Wilderness
An SVG animation API ยท https://wilderness.now.sh
Summary
- ๐ Small file size (15.1kb minified + gzip)
- ๐ Simple, functional API
- ๐ฃ Morph from anything, to anything
- โฑ๏ธ Queue multiple animations on a timeline
- ๐ Powerful playback control
Hello world
import { shape, render, timeline, play } from 'wilderness'
const morph = shape(
{ el: document.querySelector('circle') },
{ el: document.querySelector('rect') },
)
const animation = timeline(morph, {
iterations: Infinity,
alternate: true
})
render(document.querySelector('svg'), animation)
play(animation)
<br />