---
title: "Text Reveal"
url: "https://sanyam.sh/lab/text-reveal"
date: "2026-10-14"
---

# Text Reveal

Step through the patterns. Press the name to replay one.

eight ways to reveal the same three lines, from one fade to a cloud of dots that settles into the type. step through them with the chevrons under the copy, and press the name to replay it.

key insight: every pattern is a pure function of one clock, so a pattern is the same at any instant however it got there, and the noise in `decode` is a hash of the frame rather than a random roll.

`wipe` is the reference: a rectangle squeezes off each line and the line slides in 60% into its move. `weight` holds every glyph at its resting width, so a swell past black spills over its neighbours instead of shoving the line.

- Source: https://github.com/SanyamPunia/www/blob/main/components/labs/text-reveal/patterns.ts
