O'Reilly logo

HTML5 Multimedia Developer's Guide by Lee Cottrell, Ken Bluttman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4Using Animation and Events with the Canvas

Placing shapes on the canvas, drawing on the canvas, and having text appear on the canvas offer many ways to use the canvas for a variety of image-based applications. However, all these techniques are static. You see them, and they can appear very creative or very functional, but they don’t move. Animation is a long-time standard item for web pages, and it is imperative that the canvas carries its weight in this arena. And you know what—it does!

This chapter focuses on animation and effects used with the canvas. You can do a lot, and what is shown here is by no means exhaustive. It’s more on the side of the tip of the iceberg. The Internet is filled with incredible examples. Searching for “canvas ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required