By having SVG in html (SVG :scalable, not pixel based, resolution independent, & animated graphic),why we still need to Canvas?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

By having SVG in html (SVG :scalable, not pixel based, resolution independent, & animated graphic),why we still need to Canvas??

9th Sep 2018, 6:10 AM
Ehab Samir
Ehab Samir - avatar
3 Answers
+ 4
Rendering would be slow in SVG if using lots of elements, make it not suitable in game applications.
9th Sep 2018, 6:34 AM
Calviղ
Calviղ - avatar
+ 6
mainly because its hard to make graphics in svg while canvas is easy and canvas is also more interactive
9th Sep 2018, 4:31 PM
Code master
+ 1
You can also use pixels in your favor
11th Sep 2018, 12:08 AM
Alexander Santos
Alexander Santos - avatar