Show HN: I built a declarative layout engine for SVG, Canvas, WebGL
Category: library
Tags: layout-engine, svg, canvas, webgl, typescript, declarative-layout, vector-graphics
Score: 6.0/10 (Innovation: 5, Technical: 7, Documentation: 7, Utility: 5)
Boxwood is a declarative layout engine for vector graphics that resolves CSS-like layout rules into absolute coordinate geometry for SVG, Canvas, and WebGL. It stands out by exposing resolved positions directly, enabling easy routing of connectors and collision-safe compositions. While still early-stage with few stars, its TypeScript API and clear documentation make it a promising tool for responsive, non-DOM rendering scenarios.
Target audience: frontend devs, data visualization engineers, graphics developers
Repository: https://github.com/carnworkstudios/boxwood · TypeScript · MIT
View on Hacker News