canvas or svg? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

canvas or svg?

html5

7th Feb 2018, 9:00 AM
david Alcobendas
david Alcobendas - avatar
11 Answers
7th Feb 2018, 1:42 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
it depends on your goal! canvas use for pixel base such as games, svg use for vector base such as animation.
7th Feb 2018, 5:25 PM
M.h.yaghobi
M.h.yaghobi - avatar
+ 3
canvas...more dope
7th Feb 2018, 9:17 AM
Android Boi
Android Boi - avatar
+ 3
i personally like canvas but svg can be bad ass too eg check the cokes of 'wasp the coding girl'
7th Feb 2018, 9:39 AM
Code Ninja
Code Ninja - avatar
+ 3
If you has less experience with JavaScript, I think you should use SVG, because you can build itu using AI(Adobe Illustrator) or another Vector like Software so you can focus on other stuff!
8th Feb 2018, 10:18 PM
adi gunawan
adi gunawan - avatar
+ 2
SVG for chart plotting, icon, and other vector drawing. Canvas for game objects.
7th Feb 2018, 10:02 AM
Calviղ
Calviղ - avatar
+ 1
svg is easy but canvas practice
8th Feb 2018, 2:14 PM
HarestyCoDE
HarestyCoDE - avatar
0
路过
8th Feb 2018, 6:06 AM
Android
Android - avatar
0
Android not to offend you but... why post answer in language that others wont understand i mean the learners are from all over the world, right ?
8th Feb 2018, 8:18 AM
Code Ninja
Code Ninja - avatar
0
i choose SVG for animations
8th Feb 2018, 2:26 PM
Shahzod Shark
Shahzod Shark - avatar
- 1
Canvas for me.. because of game development capabilities.
7th Feb 2018, 10:59 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar