Chapter 6. Sprites
In the last chapter you learned how to implement animations in a canvas. You saw how to use
requestAnimationFrame() to implement smooth animations, and you saw how to incorporate clipping and offscreen canvases into your animations. You also learned how to implement time-based motion and how to time animations with stopwatches and animation timers.