Chapter 5. Animation

Human beings are drawn to animation. Our visual apparatus continuously processes a never-ending animation that we call reality, so animations are a natural and intuitive communication medium.

Animations are also big business. From advertisements to video games, animations play a huge role in money-changing hands. Not only that, but implementing animations is about as much fun as you’re going to have writing software.

Flash-based animations have dominated the web; however, that landscape is rapidly changing, and the new upstart that is unseating Flash is HTML5 Canvas. So it may surprise you to hear that Canvas has no explicit support for animation. Canvas provides the underlying graphics horsepower necessary to create animation ...

Get Core HTML5 Canvas: Graphics, Animation, and Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.