TinyVG
lastmod 2021-12-28created 2021-12-281 edits
Features
- Started as an SVG library for the Zig language and ended up as its own vector format
- Today, vector graphics mostly use SVG
- But implementing a new SVG library is hard
- Because it is built on XML/CSS/ECMAScript and more
- SVG itself is also so complex that images look different in each implementation
- But implementing a new SVG library is hard
- So these days the workaround is to convert all Text to Paths
- Excludes animation, scripting, external resources, hierarchical document structure, etc.
- Compact binary encoding (smaller than SVG)
- Support for multiple platforms : GPU (Game), CPU (desktop apps), Web, Embedded
- A subset of SVG
- Usable for many purposes : app/toolbar icons, graphs and diagrams, comics/illustrations, etc.
- Simple implementation