Skip to main content

Mosaic

A famous painting paints itself row by row from coloured-emoji squares. Guess the work before the scanline finishes

FAQ

About PlayMemorize Mosaic

Mosaic is a "spot the painting" pattern-recognition game. A high-resolution mosaic paints a famous public-domain artwork - Van Gogh's Starry Night, Hokusai's Great Wave, Munch's Scream, Picasso's Guernica, a Mondrian Composition, a Rothko colour field - one random pixel cluster at a time until the picture emerges. Your job: pick the painting from a multiple-choice list before the canvas finishes revealing. The earlier you guess, the higher the score, so visual familiarity with the canon pays off.

Thirty canonical artworks. The catalogue covers ten classic figurative works (Starry Night, The Great Wave, The Scream, The Shipwreck of the Minotaur, Composition (Kandinsky), Picasso's 1907 Self-Portrait, Frida Kahlo's Self-Portrait, Woman with a Hat, Seated Nude, Udnie); eight further iconic figurative or stylised works (Composition VII, Guernica, La Muse, Portrait of Dora Maar, Hand with Reflecting Sphere, Rain Princess, Feathers, Roman Mosaic); and twelve hard-edge / colour-field icons (Mondrian's Composition with Red Blue Yellow + Broadway Boogie Woogie, Malevich's Black Square + Black Cross, Rothko's Orange-Red and Yellow-Blue, Albers' Homage to the Square in Yellow and Blue, Newman's Onement I, Reinhardt's Abstract Painting (Black), Kusama's Pumpkin, and Johns' Target). Every round shows the artist, the year, and the art movement after you guess · so you build a mental catalogue of art history one round at a time.

Pure HTML5 Canvas. Each painting renders as ~100 000 flat fillRect blocks · twenty times the resolution of the original 5 000-cell prototype, so silhouettes and brushwork survive quantisation rather than dissolving into a coarse grid. The cell colours are drawn from a 45-chip palette of emoji-derived hex values (moon-cream, stone-grey, terracotta, peach, night-blue, fir-green, …) chosen so muted oil-paint mid-tones land on a faithful sibling instead of collapsing to black. Each painting also keeps its source aspect ratio · landscape works frame as landscape, portraits as portrait.

No images stored. The repository ships only the quantised palette-index strings · one base-62 character per cell. To regenerate or expand the catalogue, run node scripts/build-mosaic-paintings.mjs. Eighteen of the works download from public ML neural-style-transfer reference repositories on GitHub; the remaining twelve hard-edge / colour-field works ship as small inline SVG strings inside the build script and rasterise locally through sharp, so they don't depend on a reachable URL. Either source path resizes to fit ~100 000 cells while preserving aspect ratio, lifts saturation a touch so muted mid-tones land on a coloured chip, and matches every pixel to the nearest palette entry using perceptual OKLab distance. Output goes straight into paintings.generated.ts.

Deterministic rounds. Same seed always produces the same painting, the same shuffled choice list, and the same random reveal order, so save-codes work and the labyrinth's resume flow stays cheat-proof. The whole game is a registered GameModule, so the labyrinth can drop you into a Mosaic encounter at any level and the picture you see in the labyrinth is byte-identical to the one you'd see in the standalone page.

Part of the PlayMemorize family of brain-training games. Runs entirely in your browser, works offline as a Progressive Web App.

How to master

FAQ