Is canvas better than svg? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is canvas better than svg?

It's like both your eyes when you want a graphic drawn in html. Both are good still canvas is relatively better.

20th Oct 2019, 4:05 PM
Captain Hawk
Captain Hawk - avatar
1 Answer
+ 3
SVG is scalable and is consistent for all screen size. To overcome this in canvas, you have to use a little trick. For canvas, it is easier to be controlled with JavaScript. But if you are good at svg, you can achieve the same with JavaScript. So I think they are 50-50, just stick to one of it and keep practicing and master it. Check @Jay 's flag series and you can understand https://www.sololearn.com/Profile/100073/?ref=app
20th Oct 2019, 4:34 PM
Gordon
Gordon - avatar