Hacker News new | ask | show | jobs
by thehappypm 1070 days ago
How do you draw an image on a canvas without JS?
1 comments

You don’t. My point is: After drawing, the canvas is “inert”. Rendering to the canvas once is probably more or less as expensive as rendering the SVG once. However, the SVG will probably be rendered a lot more than once. The page developer cannot control it either, the browser decides what’s best.