What problem does it solve? Measuring multiline text layout in the browser normally requires DOM reflows and getBoundingClientRect calls, which are slow and block creative effects like text flowing around moving shapes. This Skill uses the @chenglou/pretext library to compute line breaks, per-line widths, and per-grapheme positions purely via canvas measurement, enabling 60fps kinetic typography and text-as-geometry demos. ## Core Features & Use Cases - Variable-width text reflow: Stream paragraphs around moving obstacles (orbs, sprites, ASCII logos) row-by-row using layoutNextLineRange, the pattern behind viral text-flow demos. - Text-as-geometry games and particles: Turn measured words into Breakout bricks or explode sentences into per-grapheme physics particles with exact starting positions. - Multiline shrink-wrap and editorial layouts: Compute the tightest container width with measureLineStats, or flow one cursor across multiple magazine-style columns. - Use Case: A user asks for a hero section where a paragraph parts around a draggable glowing orb. The Skill starts from the hello-orb-flow.html template, swaps in real prose, tunes the palette and font, and delivers a single self-contained HTML file verified with a local HTTP server. ## Quick Start Ask the agent to build a pretext demo where a paragraph of real prose flows around a draggable orb, then open the generated HTML file in your browser.