javascript - how to use clearRect on images? - Stack Overflow
How to Use the Canvas clearRect() to Erase an Area
4. Hacking Your Graphics with Canvas and SVG - HTML5 Hacks [Book]
Animating the Canvas Animation is achieved with the following: 1.Clear the area that is changing context.clearRect(x, y, width, height); 2.Save the canvas. - ppt download