Re:SVG vs Canvas, what format to choose?
by swah on Monday May 23, 2011 @04:51AM
(#2575364)
What about performance in different browsers? For SVG, everything is smooth in Chrome, but Firefox is pretty much slower (I'm using RaphaelJS)
[ Parent
| on HN ]
I have checked on Firefox, Safari, Chrome. It is just as fast on each, takes about 2 secs to plot 25k+ points.
svg is slower on mobile browsers, and in android < 3.0 (i.e. ~96% of android devices), svg isn't supported at all
My recommendation is svg for static graphics/pictures, and canvas for animations/dynamic stuff, but keep the canvas as small as you can