To use this library with these assets, include sprite.js, asset.js and meatlyjam01spritesheet.png, then create a sprite (which becomes a div) with the line: sprite = createSprite(getMeatlyAsset());