今日已更新 421 条资讯 | 累计 25080 条内容
关于我们

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

bonzai2carn 2026年07月03日 11:54 3 次阅读 来源:HackerNews

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.

本文内容来源于互联网,版权归原作者所有
查看原文