Show HN: I built a declarative layout engine for SVG, Canvas, WebGL

Show HN (score: 5)
Found: July 03, 2026
ID: 5660

Description

Show HN: I built a declarative layout engine for SVG, Canvas, WebGL Hey HN,

I built a tiny zero DOM layout engine for vector graphics and custom renderers to resolves nested rows/cols/grids into exact `{x, y, w, h}` boxes, with text measurement, overflow signals, and collision separation.

This is to help make SVG, PDF, Canvas responsive.

Feedback welcome from anyone building canvas/SVG diagrams, dashboards, node editors, or diagram tools.

More from Show

No other tools from this source yet.