Instructions: Hold SPACE to jump. Refresh page to restart demo.
Animated textures are implemented in TextureMapping.js. An animation is a predefined array of objects, where each object has a texture and a duration (the amount of time before the next texture will be shown).