Reputation: 33963
Is there a considerable difference in the performance between Javascript animation directly on the web page and Javascript animation on the canvas element.
For example, I have one image to moving across the screen. Is it better to draw image on canvas first or just to move it with JavaScript?
Thanks for your time.
Upvotes: 0
Views: 273
Reputation: 56
Canvas has potential to be significantly faster because it's built for rendering
Upvotes: 1