Which is preferred canvas or svg in animations? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which is preferred canvas or svg in animations?

28th Sep 2019, 8:06 AM
Nishu Murmu
Nishu Murmu - avatar
2 Answers
+ 2
Depends on what you want to do. SVG uses vector graphics so it's scalable. Canvas uses pixel graphics which has it's advantages, too. For websites usually CSS is enough to create simple animations.
28th Sep 2019, 8:23 AM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 1
Thanks for the info Aaron Eberhardt
28th Sep 2019, 8:26 AM
Nishu Murmu
Nishu Murmu - avatar