JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.createjs.com/easeljs-0.8.0.min.js"></script>
JavaScript
var stage;
$('body').prepend('<canvas id="canvas" width="32" height="32"></canvas>')
stage = new createjs.Stage("canvas");
var data = {
images: ["http://img210.imageshack.us/img210/3984/people8.png"],
frames: {width:32, height:32},
animations: {
run:[0,96, true]
}
};
var ss = new createjs.SpriteSheet(data);
var animation = new createjs.Sprite(ss);
stage.addChild(animation);
animation.gotoAndPlay("run");
createjs.Ticker.setFPS(10);
createjs.Ticker.addEventListener("tick", stage);