Repository navigation
v0.2: the Atlas
The second release of Palette Atlas: the Atlas, a gallery of 48,695 public-domain paintings, and a search for the paintings in any image's colors. Live at palette-atlas.pages.dev.
Everything still runs in your browser; your images never leave your computer.
What's new
- The Atlas: 48,695 public-domain paintings on one wall, the most famous first, each at its own shape over its color strip, with a museum label on hover. Coming back from a painting returns to the same place on the wall.
- A page for every painting: the picture on a card, enlarged in a museum frame on a click, its details and credit, and its strips read four ways, all on one screen.
- Career Barcodes: the careers of 8,373 painters, each as a barcode with one bar per painting, oldest first, and a list of every painter that forgives typos.
- Search by color: drop, paste or pick any image on the Atlas, or send one from the Studio, to see the 600 paintings nearest its colors. Every painting's page shows the paintings in its own colors.
- Polish: the Studio fits a desktop window without scrolling, and the Atlas is laid out for phones.
Under the hood
- A data pipeline: Python chooses the paintings on Wikidata and checks every file's license on Wikimedia Commons; Node reads their strips with the same code the browser runs.
- Color schemes as vectors: each painting's color strip becomes 128 numbers (a sliced Wasserstein embedding), and the distance between two of them tracks the Earth Mover's Distance between their color schemes.
- HNSW, written from scratch: it finds the true 10 nearest paintings out of 48,695 in about a quarter of a millisecond, checked against brute force, and every search can record its steps for the coming Lab to replay.
- A compact index: the graph and the vectors in one binary file, a byte per number, gzipped to 5.4 MB. A Web Worker reads it once and answers each search in about a millisecond.
Credits
The Atlas's paintings are catalogued by Wikidata, and their images come from Wikimedia Commons, every one marked public domain or CC0 there; each painting's page credits its artist, title, date and collection.