HTML and CSS Reference
In-Depth Information
ANIMATING THE CANVAS
Drawing one perfect picture can seem daunting enough.
So it's no surprise that even seasoned web developers ap-
proach the idea of drawing several dozen each second
with some trepidation. The whole challenge of animation
is to draw and redraw canvas content fast enough that it
looks like it's moving or changing right in front of your
visitors.
Animation is an obvious and essential building block for
certain type of applications, like real-time games and
physics simulators. But simpler forms of animation
make sense in a much broader range of canvas-powered
pages. You can use animation to highlight user inter-
activity (for example, making a shape glow, pulse, or
Search WWH ::




Custom Search