What problem does it solve? Building text-driven visual demos in the browser normally requires DOM reflows and getBoundingClientRect calls that are too slow for 60fps animation. This Skill teaches how to use the @chenglou/pretext library to measure and lay out multiline text without touching the DOM, enabling effects like text reflowing around moving shapes, word-based games, and kinetic typography. ## Core Features & Use Cases - Variable-width text flow: Use layoutNextLineRange to stream lines around moving obstacles such as draggable orbs, ASCII logos, or morphing wire shapes. - Text-as-geometry demos: Build Breakout-style games with word bricks, shatter typography into per-grapheme particles, or drive ASCII art from real prose. - Measurement-only layouts: Compute multiline heights and shrink-wrap widths for virtualized lists, masonry grids, and quote cards without DOM reads. - Use Case: A user asks for a hero section where a paragraph parts around the cursor as it moves. The Skill provides a single-file HTML template using prepareWithSegments and per-row width functions to reflow text live at 60fps. ## Quick Start Ask the agent to build 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.