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 px) — quick weekend build, ~60 cm across, great for logos.
- 25 cubes wide (75 px) — recognisable portraits, ~1.5 m across.
- 50 cubes wide (150 px) — magazine-quality detail, wall-sized, hundreds of cubes.
- 100+ cubes wide — photo-realistic; expect thousands of cubes and a serious frame.
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 also uses a perceptual colour space (not raw RGB) when finding the nearest cube colour, which prevents obvious mistakes like a warm skin tone rounding to green.
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:
- Solve-based. For each cube, treat the target pattern as the "solved state" and use standard cube algorithms to reach it from a scramble. Slow but rewarding.
- 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.
Frequently asked questions
How long does a mosaic take to build?
Sticker-swap builders average around one minute per cube. A 25×25 mosaic (625 cubes) is a long weekend; a 50×50 is a two-week evenings-and-weekends project.
Do I need to know how to solve a cube?
Only if you plan to solve every cube from scratch. Sticker-swap builds require no solving skill.
Can I use my own colours?
Not yet — the app is currently locked to the six standard cube colours so the output matches real hardware. Custom palettes are on our roadmap.
Is my image uploaded anywhere?
No. All processing happens locally in your browser. See our privacy policy for details.
Ready to try it? Head back to the generator and drop in a photo.