Javascript/browser vector graphics
November 20, 2015 — November 9, 2023
computers are awful
faster pussycat
photon choreography
There are many ways of weaponising the browser to draw vector graphics (HTML DOM, SVG, Canvas…) and many libraries abstract the process.
One to rule them all is Kroki!, which is a CLI and/or web service that can render a wide variety of vector graphics formats from a simple text description. It’s very handy for things I intend to render offline anyway, such as markdown.
🚧
1 Raphaël
A classic; not heavily maintained, but also maybe not in need of much maintenance.
2 Mermaid
3 Two.js
4 Paper.js
5 Snap
snap.js is a modern SVG library by the author of raphaël.js.