Damjan Pavlica
Damjan Pavlica

Reputation: 33963

Javascript animation without canvas?

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

Answers (1)

Jon1
Jon1

Reputation: 56

Canvas has potential to be significantly faster because it's built for rendering

Upvotes: 1

Related Questions