// typography
Real-time text reflow around arbitrary shapes, powered by pretext — a pure-arithmetic text measurement engine that calculates line breaks without touching the DOM.
Click the canvas to place shapes, then drag them around. The text reflows instantly on every frame using pretext's variable-width line layout. Each line is measured and broken independently, allowing text to wrap tightly around circles, hexagons, rectangles, and diamonds.
// controls