I want to do a ton of animation with images on canvas; is it more beneficial to use a canvas element as a buffer for the image (so that we do not have to resize again) or is it more beneficial to use an img element as a buffer?
Or is there actually a better way, a must-do if performance is top-priority that I should do and I'm missing?
Also, why is "clearing" the canvas such a slow operation? My background is xna programming for windows phone 7 and "clearing" the whole screen is one of the fastest operation.
Also, should I "clear" the canvas by setting width=width or should I do a drawRect(0,0,width,height) ?