Spirit - Player for the Web
Lightweight and easy to use
Play your (with Spirit Studio) created animations directly on your web page
โฏ Getting Started:
โฏ Install
See:
TLDR;
browser:
<script src="https://unpkg.com/spiritjs/dist/spirit.min.js"></script>
node:
# with npm
npm install spiritjs --save
# or yarn
yarn add spiritjs
โฏ Usage
spirit.loadAnimation({
loop: true,
yoyo: true,
delay: 1,
path: './animation.json'
})
Head over to the API documentation for more information.