Canvas vs SVG | Sololearn: Learn to code for FREE!


Canvas vs SVG

Hi. It seems quite hard and ineffective to draw using canvas. Maybe it would be better to draw SVG in Illustrator for instance and just paste a code to HTML?

2/20/2018 1:14:13 PM

Dmitrii Vasilev

7 Answers

New Answer



SVG is more suitable for games


are you sure? it was written that canvas is better for games


@Muhammad, canvas is more suitable for games, while svg is better with graphs. @Dmitrii, yes, it's easier to do that. You can easily create nice svg animations. But svg is slower compared to canvas.


@Jonathan what do you mean slower?



canvas = bitmap. and svg = vector. now choose your concept dude doesn't matter canvas or svg