3 ms·
> has a number-of-elements performance ceiling if you're drawing things rather than using images, which feels like it defeats the purpose. Well you can generat
by jordache 9y ago
> has a number-of-elements performance ceiling if you're drawing things rather than using images, which feels like it defeats the purpose.
Well you can generate your imagery programmatically and then render it to canvas as a raster image. Canvas is not purely for implementing a web based drawing app.
- icebraining 9y agoBut you can also embed a raster image in SVG.
- jordache 9y agoThe context of the discussion is to leverage SVG's DOM based approach to render on screen elements
- TazeTSchnitzel 9y agoSoftware rasterisation is slow and power-inefficient, and does not scale particularly well with screen size.
- jordache 9y agowhen you are faced with between rendering hundreds of thousands of SVG DOM element vs in memory generation of a final raster image, the latter will always be more performant.