Hacker News new | ask | show | jobs
by dyladan 3820 days ago
Why is it that they use a png to show the svg? Why not just render the svg?
1 comments

Depending on the complexity of the SVG (e.g. scribbles on top of scribbles), rendering SVGs can be very slow. If the SVG is not changing, it makes sense to render it as little as possible. I am doing the same thing with a d3 project, where the browser has trouble redrawing 50k elements.