Layers squeezed 103,802 hand-placed dots into 82 KB
Shipping 103,802 Dots in 82 KB

Layers' illustrations are 103,802 dots hand-placed by designer Alberto Larizza, and animating them meant shipping an 8 MB JSON file. The team built DOT2, a compact binary format that quantizes coordinates, sorts dots into rows, splits them into planes, and lets Brotli do the heavy lifting at 82 KB — 93% smaller than the raw source. The surprise: deltas barely helped, and quantizing alone actually made files bigger.
I didn't write a clever codec at all. I just laid the data out so the compressor could see the rows.