Full Demo Library
Interactive examples spanning virtualized layouts, responsive editorial systems, text animation, and canvas-native interfaces.
Masonry Virtualization
100,000+ variable-height text boxes. 120fps. Zero DOM measurements.
Shrinkwrapped Bubbles
Chat bubbles that perfectly hug their text content width.
Dynamic Magazine
Responsive multi-column layout that reflows text as you drag.
Variable ASCII Art
Proportional font-powered ASCII art at 120fps.
Accordion & More
Auto-growing inputs, accordions, pure Canvas multiline text, all in one playground.
Editorial Engine
Animated orbs, live text reflow, pull quotes, and multi-column flow with zero DOM measurements.
Rich Text
Rich inline text, code spans, links, and chips laid out together, with pills staying whole while text keeps wrapping naturally.
Pretext Dungeon
A full ASCII raycaster — DOOM-style 3D rendering powered entirely by Pretext glyph math.
Pretext Explosive
Place sticky bombs into flowing text and watch every character blast apart, tumble, and reassemble.
Typexperiments
Typography-driven animation studies, from morphing layouts to cursor-reactive lava text and kinetic experiments.
Cocktail Peanut
Draggable text islands keep mutually wrapping around each other in real time, turning layout collision into a live interaction.
Pretext Playground
An interactive sandbox for tuning enemies, runes, cursor effects, and text behavior across a live Pretext scene.
FBI Redactor
Black out names in a classified memo and watch the document reflow in real time around each redaction bar.
Justification Comparison
See CSS greedy justification, hyphenation, and Knuth-Plass line breaking compared side by side on the same text.
Bookworms
A glass worm tunnels through stacked pages while words flee and poetry reflows around the holes in real time.
TypeClock
A full-screen typographic clock with live controls for size, spacing, line height, and theme.
Always Fit Resume
A markdown resume editor that continuously auto-fits content to a single A4 page using Pretext layout.
Spatial AI Lab
A mirrored streaming benchmark UI comparing traditional DOM measurement against Pretext-style layout.
Instant Pagination
Paginate a full novel into fixed-height pages and compare arithmetic pagination against DOM reflow.
Mario Demo
Mario, pipes, question blocks, and enemies move through a live editorial layout while Pretext keeps every line reflowing around them.
Pretext Protocol
A story-driven text arcade experience rendered on canvas, combining cinematic pacing with real-time Pretext layout.
TextString
Each grapheme becomes a draggable physics node in a connected text string, with layout and line flow powered by Pretext.