3 ms·
This SVG/Canvas thing reminds me of this visualization[1] I did last month or so which originally made heavy use of SVG, because it was just about good enough o
by seszett 13y ago
This SVG/Canvas thing reminds me of this visualization[1] I did last month or so which originally made heavy use of SVG, because it was just about good enough on Chromium (and it made sense for d3js and hexbons)... but when I tested it under Firefox, it was just unusable.
So I recoded it to use canvas instead (with a switch to allow using one or the other) and there is just comparison, it's much faster everywhere. I've had reports that the SVG version was working fine on IE10 though, but couldn't test it because there's no IE10 for Linux of course.
It quickly becomes frustrating to make complex visualizations when SVG makes a lot of things much easier, but you constantly hit the limits of SVG performance on the common browsers.
[1] http://ssz.fr/places/?frukie#^saint/^ll/ton$ http://ssz.fr/places/?frukie#^saint/^ll/ton$
- emn13 13y agoNeat! And indeed, it seems to work fine in IE10 under both canvas and SVG modes.