stared 13 hours ago

Thank you for sharing! Does it offer a way to edit relevant pieces of SVG code?

2
california-og 12 hours ago

Check out GodSVG for a promising (still in development) SVG code editor.

https://www.godsvg.com/

Nekorosu 12 hours ago

I was going to post it too. It's lovely!

jansan 13 hours ago

No, this is currently not a feature. I wanted to keep a certain level of abstraction to be able to add features that SVG does not support natively. Internally it uses its own object model, which is similar to SVG but in parts different (for example when using clip paths), so giving access to the raw SVG code may be difficult.

jarek-foksa 10 hours ago

If I were to build a web-based vector graphics editor from scratch today, I would make it work internally with a "sane" subset of SVG such as SVG Micro [1].

This way you get a fast and reliable rendering engine for free (including support for MathML and HTML objects), you can easily import third-party SVG assets with a normalizer such as SVGO and you don't need to bother with all the convoluted special cases.

[1] https://github.com/linebender/resvg/blob/main/crates/usvg/do...