What problem does it solve? Creating text layouts that flow around moving shapes, shatter into particles, or form game geometry requires knowing line breaks before rendering, which the DOM cannot provide without expensive reflows. This Skill uses the @chenglou/pretext library to measure multiline text via canvas and render it with full creative control. ## Core Features & Use Cases - Variable-width text reflow: Stream paragraphs around draggable sprites, ASCII logos, or morphing shapes at 60fps using layoutNextLineRange. - Text-as-geometry demos: Build Breakout-style games with word bricks, shatter typography into per-grapheme particles, or drive kinetic type animations. - Multiline shrink-wrap and measurement: Compute exact heights and tightest container widths without DOM reads for virtualized lists and masonry layouts. - Use Case: A user asks for a hero section where an editorial paragraph parts around a cursor-following orb; the Skill starts from the hello-orb-flow.html template, swaps in real prose, tunes the palette and font, and delivers a self-contained HTML file. ## Quick Start Ask the agent to create a pretext demo where a paragraph of real prose flows around a draggable glowing orb, saved as a single HTML file you can open in the browser.