News for hackers. Stuff that matters.
Re:Konva.js - Declarative 2D Canvas for React, Vue, and Svelte by solardev on Wednesday March 19, 2025 @12:16PM (#43413981)
The underlying shapes are defined by geometries (so vectors) and then rasterized to canvas. So the SVG export could happen before the rasterization.

There are other libs that are native SVG though, so why even use Konva? The benefit of Canvas is that it can be a lot, LOT faster than having multiple complex SVGs. SVG is especially slow on Firefox IIRC.

Re:Konva.js - Declarative 2D Canvas for React, Vue, and Svelte by tetris11 on Wednesday March 19, 2025 @01:22PM (#43414817)
SVG purely for image export, I'm not talking about animation features.

Konva to set the scene, SVG for final touches before you publish the image somewhere

Re:Konva.js - Declarative 2D Canvas for React, Vue, and Svelte by solardev on Wednesday March 19, 2025 @04:48PM (#43417173)
Seems like you could just use Figma if you want to build a static SVG for export. Konva is more for building interactive apps.