+ 1
Is there any use of canvas and svg in today's pages?
6 Respostas
+ 2
Strakoš There exist frameworks for working with canvas, or you can write most needed tasks yourself. Canvas are used when simple image won't do, i.e. you need to dynamically draw a graph.
SVG images are smaller in file size, so it's used to make websites load faster. Another boon is that SVGs scale, so you can reuse them at different sizes instead of having same image copy at 12px, 16px, 18px, 32px and 64px
+ 3
Anything involving graphics.
+ 2
BlazingMagpie I meant like actually drawing by coding in javascript. Sounds very time consuming and not very practical.
Isnt it easier to just import a picture for (e.g. logos).
+ 1
Web games are sometimes just canvas and SVG are used as various icons everywhere (see Font Awesome)
+ 1
One the most important use of
Svg is animated icons.
svg are also used to make logo as logo must not brust on zoom/stretching screen.