My experiments using Pretext, Cheng Lou’s pure JS/TS library for text measurement and layout.
Sierpinski Photo Carpet
Photo-mapped Sierpinski carpet — a source image is sampled into the fractal grid, carving holes across recursion levels while preserving the photographic texture.
Launch demo →Sierpinski Photo Carpet (Responsive)
Responsive variant of the photo carpet — adapts to viewport size, stretching the fractal grid to fill available space while maintaining the photographic source mapping.
Launch demo →Sierpinski Carpet
Fractal text carpet — quotes fill an 81x81 grid that carves itself into a Sierpinski carpet across four recursion levels. Split-panel: geometric source field on the left, ASCII text carpet on the right.
Launch demo →Julia Set Carpet
Julia set mapped to text — escape-time iterations determine which cells fill with scrolling quotes. Four presets (Dendrite, Spiral, Twist, Rabbit) with a continuous iteration threshold slider.
Launch demo →