How it’s built
How andrewreff.com is made: one three.js stage of old screens, walls of words handed over by the signal, layers over the page, one scroll loop, and the checks every deploy runs.
This site is one screen. Every case, every principle and every chapter is written on it as a wall of words, and everything else opens over it. Every deploy is checked before it goes out. Here is how.
One screen. The stage.
The opening and the work are one three.js stage. The wall of words is the page’s own text, read by search and by screen readers, with a clear canvas over it, and the case films stand in front of it on cards that bend as they turn, a vertex shader curving each card and its rounded edge cut in the fragment. The stage renders in half-float, so its ink is the page’s own: in eight bits of linear light the dark rounded down a shade, and every stage stood a little darker than the section beside it. Every program it draws with is compiled while the browser is idle, and the next film is warmed before its turn, so a change of case costs a frame like any other.
Old screens. One component.
Each card is a small old set, written once as a pair of shaders and used wherever a film stands. Its red and blue meet in the middle and part toward the rim, the way the walls part, so faces stay sharp; scanlines run in its own surface and curve with its bend; the glass darkens its corners and catches a glint as it turns toward the pointer; a faint refresh line passes every seven seconds. A screen switches on from a line the first time it is seen, and as the case changes two slices of the picture step aside for an eighth of a second. More work’s screen is the same component on a canvas of its own.
The signal. Crossing over.
Where one wall hands over to the next, the words leaving lift a little and fade as their red and blue part wider, gone at the change, and the next rise in as their channels close to the resting edge. The crossing is scrubbed by the scroll, and everything tied to the scroll follows it a tenth of a second behind, eased, since a wheel moves the page in steps and the words jumped with it. Only opacity, a transform and the split are written, the split in whole pixels so the words repaint a handful of times a crossing, and nothing moves in layout. Safari draws SVG filters on the processor, so there the words cross by fade and drift alone.
The glitch. Soft, on purpose.
As words change, their channels part a hair and they step two pixels for a quarter of a second, and two or three letters flicker into lookalikes, an A to an @, an E to a 3, drawn over their letters so no line moves and the words themselves never change. A page change is the signal going off and coming on: the page itself squeezes to a bright line and a dot, by transform alone. Sound is off until you turn it on, and then it is made in the browser, all but Chloe’s bark. None of it runs under reduced motion, which the site takes from your system and lets you set for yourself.
The walls. Fitted, never cut.
Every wall of words is set at the largest size at which its longest version stays within its lines: a principle at a time, each chapter of my career within four lines, the awards within their column however many there are. Each is measured once on a single line at a known size and worked out from there, in its own width and again when the window changes, never assumed. A nearly full line is spread to the wall’s width, never by more than a quarter of an em a gap.
Layers. Over the page.
A case, the chat, the privacy policy, this page and the world open over the page, never instead of it. The page stays where you left it, set back and still, out of the keyboard’s way, and Escape or Back puts you on it again. Each layer keeps its own address, for search and for a link from elsewhere, and a case’s address draws its card from the first byte, in the card’s own markup, before any script runs; the app takes its place on the same pixels.
One scroll loop. For the whole shell.
The masthead, the dock’s fill, the record of where you are and the walls’ held steps all read the page in one pass a frame, then write in the next; the stages run a loop of their own, and only while they stand in the window. Through the same scroll with a real mouse wheel, the times the browser was made to lay the page out early went from 53 to 7 on the privacy page, and from 247 to 85 on a case.
Measured. On every deploy.
Before anything is sent, a deploy builds the site and checks the build: axe-core’s automated WCAG 2.2 A and AA rules over every kind of page the site has, at a desktop and a phone width, and Lighthouse over the home, a case, the work and About, as a phone and as a desktop. A failure sends nothing. Automated rules find only part of what WCAG asks, so they are a floor, not a certificate: the rest is checked as each change is made, the keyboard’s way through, reduced motion, larger text and a real phone, and outside reviewers have been through the site over private links. Real visits are measured in the visitor’s own browser too, how soon the page appeared, whether anything jumped, how quickly it answered, and kept in my own dashboard.
The words. Baked in.
Every word comes from the studio and is baked into each page’s own document when the site is built, so the first frame is drawn before any script asks for anything. A moment later one small request asks whether the studio has changed since, and only then is anything fetched again.
The assistant. Grounded.
Ask Andy answers with Claude, only from the published cases it reads when you ask, and its quotes are checked against them before you see them. It is held to the case’s own words for my part in a project.
Made with.
- React and Vite
- three.js
- GSAP
- Sanity
- Söhne
- Lucide
- Claude, for the assistant
- ElevenLabs, for its voice
- Vercel, Cloudflare and DreamHost
andrewreff.com