What would I choose canvass or SVG. ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

What would I choose canvass or SVG. ?

Which is the more beneficial ?

1st Jul 2020, 8:53 PM
Programmer ツ
Programmer ツ - avatar
2 Answers
+ 22
SVG gives you a  better performance with a larger surface or a smaller number of objects. Canvas gives you a  better performance with a smaller surface or a large number of objects. The SVG syntax is easy to understand but it is impossible to read the graphics object. Canvas syntax is very simple and easy to read.
1st Jul 2020, 9:58 PM
Lamya😉
Lamya😉 - avatar
+ 4
Thank uh!! SIS😊
2nd Jul 2020, 6:36 AM
Programmer ツ
Programmer ツ - avatar