BRICKWAVE
Drop in an album cover, get a LEGO mosaic with an exact parts list and a printable build guide. Nothing is uploaded.
- Kind
- Product
- Year
- 2026
- Views
- Next.js
- TypeScript
- Canvas
- Web Workers
- Tailwind CSS

The problem
Turning an image into a buildable mosaic is easy to fake and hard to do well: naive colour matching produces muddy results, and a pretty picture is useless without a parts list.
What I did
- The cropped cover is area-averaged down to a stud grid, one cell per piece.
- Each cell is matched to the nearest real LEGO colour with CIEDE2000 in LAB space, with optional Floyd–Steinberg dithering.
- The maths runs in a Web Worker so the UI never stutters; tiles render from a cached sprite canvas.
- Exports: PNG, a CSV bill of materials, a paint-by-numbers PDF guide, and a permalink that restores your settings.
Architecture
- album covercrop · pan · zoom
- stud gridarea average
- CIEDE2000+ dithering, in a worker
- PNG · CSV · PDFbuild it
Results
- pieces for the DAMN. cover example
- 2,304
- LEGO colours in that build
- 19
- uploads, accounts or backend
- 0
- export formats
- 3
Next case
Smart DFIR Platform