By Mohammed Al Riyaz D · Published · Updated
How to build a Rubik's Cube mosaic from any photo
A Rubik's Cube mosaic is a wall of solved-but-scrambled 3×3 cubes arranged so that, viewed from a distance, the coloured stickers form a picture. Each cube contributes nine "pixels" using only six colours: white, yellow, red, orange, blue, and green. This guide walks through every step, from picking a source image to hanging the finished wall.
1. Choose the right source image
Six colours is a tiny palette. Photos that translate best have:
- High contrast. Portraits with a bright key light, logos on flat backgrounds, and iconic silhouettes all pop.
- Simple shapes. Fine detail collapses at cube scale, so bold shapes read better than intricate ones.
- Colours near the cube palette. Sunsets (orange, red, yellow) and ocean scenes (blue, white) map naturally. Pastel purples, teals, and browns require heavy dithering.
If you're unsure, crop tightly around the subject and try both a colour version and a high-contrast black-and-white version — the app will show you the mosaic preview before you commit to buying cubes.
2. Pick a resolution (how many cubes wide?)
Every cube is 3×3 stickers, so a mosaic that is N cubes wide is 3Npixels wide. Common sizes:
- 10 cubes wide (30 stickers) — useful for testing simple symbols.
- 25 cubes wide (75 stickers) — enough to compare portrait crops.
- 50 cubes wide (150 stickers) — more detail with a much larger cube count.
- 100+ cubes wide — thousands of cubes and a substantial structure.
The aspect ratio of the mosaic matches your source image. Cropping to a square or a standard 3:2 print ratio keeps the maths tidy.
3. Understand colour quantisation and dithering
Since the cube offers only six colours, every pixel of your image must be rounded to the nearest cube colour. Doing this naively produces harsh banding — think early GIF art. Rubik Mosaic Generator uses Floyd–Steinberg dithering, which spreads the rounding error to neighbouring pixels so that from a distance the eye blends the six colours into apparent shades of pink, brown, teal, and grey. This is the same trick used by newspapers to print photographs with only black ink.
The generator compares colours in linear RGB using weighted channels. High fidelity mode adds a luminance penalty, favouring matches that preserve the source image's light and dark structure.
4. Count and source your cubes
Multiply cubes wide by cubes tall to get your total. A 25 × 25 mosaic needs 625 cubes; a 50 × 50 needs 2,500. Most builders buy budget "speed cube" style cubes in bulk on eBay, AliExpress, or from a specialist reseller — real Rubik's Brand cubes get expensive at this scale. When ordering, check that every cube uses the same sticker set (some knock-offs swap orange for pink or blue for purple).
5. Read the build sheet
Export the PDF from the generator. Each page shows a batch of cubes labelled with a row and column number and a 3×3 sticker layout. Two build strategies:
- Turn-based. Start from a solved cube and try the generated sequence. Search stops at five moves and reports the closest face it finds, so compare the result with the target before placing it.
- Sticker-swap. Peel and reapply the stickers directly. Much faster for large mosaics; use replacement sticker sheets so the originals stay clean.
6. Build in batches
Work row-by-row, and place completed cubes into a shallow tray in the same grid as the mosaic. Double-check each cube's orientation — a rotated cube in a photo mosaic looks like a scratched pixel and is very hard to spot after the frame is mounted.
7. Mount it
For small mosaics (up to ~200 cubes) a deep shadow-box frame works. For larger walls, build a plywood grid with a cell for each cube, backed by hardboard. Cubes press-fit into the cells and are held by gravity plus a strip of foam tape at the bottom. Avoid glue: half the fun is knowing you can scramble the wall and rebuild a new picture on the same frame.
Ready to try it? Head back to the generator, or read concise answers on the FAQ page.