# Layers squeezed 103,802 hand-placed dots into 82 KB

Original title: Shipping 103,802 Dots in 82 KB

> Hacker News story 50351640 · language: en · submitted 2026-11-03
> Web version: https://zeli.app/story/50351640
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 11 · by [speckx](<https://news.ycombinator.com/user?id=speckx>) · 💬 0
[original](<https://layers.engineering/shipping-103-802-dots-in-82-kb-b4f7d3a89779>) · [HN discussion](<https://news.ycombinator.com/item?id=50351640>)

## Summary

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.

## Key quote

> I didn't write a clever codec at all. I just laid the data out so the compressor could see the rows.

---

## Cite

- Page: https://zeli.app/story/50351640
- Date: 2026-11-03
- Source: layers.engineering (https://layers.engineering/shipping-103-802-dots-in-82-kb-b4f7d3a89779)
- Hacker News: https://news.ycombinator.com/item?id=50351640

## Other languages

- zh: https://zeli.app/zh/story/50351640 · markdown: https://zeli.app/zh/story/50351640.md
- ja: https://zeli.app/ja/story/50351640 · markdown: https://zeli.app/ja/story/50351640.md
- ko: https://zeli.app/ko/story/50351640 · markdown: https://zeli.app/ko/story/50351640.md
- de: https://zeli.app/de/story/50351640 · markdown: https://zeli.app/de/story/50351640.md
- es: https://zeli.app/es/story/50351640 · markdown: https://zeli.app/es/story/50351640.md
- ru: https://zeli.app/ru/story/50351640 · markdown: https://zeli.app/ru/story/50351640.md
