The brief
A film about Leonardo needed an audience before release. The idea: split The Last Supper into a million places and give one to anyone who adds their name. Share your link, bring friends, and you could be picked for the premiere or the end credits.
I shipped the first version in September 2025. It worked, and a year later it held over 100,000 names. But it showed people a grid of tiles, not the painting. So I rebuilt it from scratch around one idea: every name is the painting.
Engineering
A million names on a phone
Names are drawn as GPU glyphs from a signed-distance-field font atlas in WebGL. Canvas text took 0.4 to 1.7 seconds per strip at far zoom; the atlas draws all million slots with no missing names and no long frames, and stays sharp on iPhones and in Safari. Without WebGL, a Canvas renderer takes over, spread across worker threads.
The painting at full resolution
Phones load a 3,072 px painting and desktops 5,120 px. Zoom into a face and the 9,913 px source scan streams in as 512 px WebP tiles, only for what's on screen: about 300 KB for a face on a phone.
A permanent address for every name
The layout is exactly 1,600 rows of 625 slots. A name keeps its slot forever, so a link shared on WhatsApp in October still lands on the same name in December.
Fast in every country
The painting's data is split into 100 versioned regions, cached at Vercel's edge for a year and refreshed by version number. Loads that took 1 to 1.5 seconds from India now come from a nearby edge server.
No double claims, under load
Every claim runs under one PostgreSQL advisory lock: the name, its slot and the region version commit together, and a retried request returns the original place instead of creating a second one.
Abuse, handled
Disposable email domains are refused. Each IP address and each private mail domain gets 10 published names a day, and anything past that waits for review. Prank names are held quietly until a person checks them, and an email-confirmation mode reserves a place for 72 hours until its owner clicks the link.
Ads measured without trackers
The page loads no ad pixel and no analytics script. When a name is published, the server reports the sign-up to whichever platform sent that visitor, Meta or TikTok, and only that one.
Infrastructure as code
Terraform runs the stack: containers on AWS ECS that scale with load, PostgreSQL 17 on RDS with daily backups and deletion protection, CloudWatch alarms, and outside uptime checks every 3 minutes. A push to main deploys.
A clean cutover
Every name from the first site moved across, and every old share link redirects to the same name on the new painting. Then the old infrastructure was switched off.
Outcome
112,043 names in the painting on 4 December 2026, each one a sign-up to the film's mailing list. The rebuild went from first commit to replacing the live site in three weeks, and no names were lost.