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

+6

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

+17

https://www.sololearn.com/learn/HTML/2202/

+10

SVG is more suitable for games

+5

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

+2

@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.

+2

@Jonathan what do you mean slower?

+1

http://smus.com/canvas-vs-svg-performance/ https://stackoverflow.com/questions/27994939/svg-or-canvas-better-performance

+1

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