Wilderness Save

An SVG animation API

Project README

Wilderness

An SVG animation API ยท https://wilderness.now.sh

gzip size test coverage travisci npm version

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)

Learn Wilderness ยท View examples

Open Source Agenda is not affiliated with "Wilderness" Project. README Source: colinmeinke/wilderness
Stars
154
Open Issues
6
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating