Before and after
30.8 s → 3.0 s
Wait after the opening film on a cold first visit, Painterly High. Boot
44.6 MB → 22.4 MB
The compiled engine, raw. About 8.0 MB on the wire with zstd from Cloudflare’s edge. Boot
96.5 MB → 19.7 MB
Video memory for ten painted street plates after BC7 compression was unlocked. Textures
0 stalls
Loader freezes caused by changing an option, after settings were split into domains. Settings
4 tiers, 26 of 26
Quality tiers chosen identically by the page and the engine across 26 machine profiles. Textures and tiers
0 MB on phones
Phones and tablets are stopped on the first frame, before any engine file is requested. Browsers
The whole path, in one picture
The principles
- Never make the player wait twice. Anything that can happen during the film happens during the film.
- Ask the browser to do what it is best at. Edge compression, streaming compilation, native decompression, compositor animation.
- One option changes one thing. A volume slider cannot touch the graphics; a graphics change cannot touch your keys.
- Decide on the first frame. The tier, the canvas size and the phone gate are all settled before the engine loads.
- Measure on the live site. Every number on these pages was taken from production, not from a local build.
Pages in this section
Booting behind the film
Raw wasm, gzip parts, Cache Storage, and the per-tier timings.
Textures and tiers
BC7 on odd-sized plates, the mip budget, and the hardware classifier.
Settings and controls
Seven settings domains and the two-way controls ledger.
Browsers, phones and safety
The Frame-0 gate, fallbacks, and the content security policy.