AZTest
← All Logic Puzzles
Shading Pure Logic · No Guessing 100 Online Levels

Mosaic

Shade cells guided by numbers that count how many cells around them are filled, revealing a hidden picture.

Alternative Names: Fill-a-Pix Nurie Logic Mosaik Magipix

Basic Game Premise & Rules

Mosaic is an untimed, deterministic pencil-and-paper logic puzzle played on a grid. Every valid puzzle has exactly one unique solution that can be discovered through rigorous deductive reasoning alone, without trial and error or guessing.

Rules by Example

See how each rule looks when done correctly versus when violated:

Count the 3 × 3 Block

A number counts the shaded cells in its 3 × 3 block: its own cell and the eight around it. At an edge or a corner the block is smaller.

4
✓ Correct Four shaded cells in the block, the numbered cell itself among them.
2
✓ Correct At a corner the block is only 2 × 2: this 2 counts four cells.
4
✗ Wrong Five shaded cells around a 4.

The Picture

Meet every number and the shaded cells draw a picture. Mark cells you know stay white.

3377966141
✓ Correct Every number met: a heart.
3377966141
✗ Wrong The 4 at the bottom counts only three shaded cells.

History & Origins

Mosaic (also known globally as **Fill-a-Pix**) was invented in the late 1990s by British puzzle creator Trevor Truran and popularized worldwide by Conceptis Puzzles.

Inspired by the local neighborhood clues of Minesweeper, Mosaic eliminates the element of random clicking and guessing, converting the mechanic into a purely deductive, deterministic pencil puzzle. When the grid is completely solved, the black-and-white cells form a delightful, high-contrast pixel mosaic art piece.

Mathematical Concepts & Computational Complexity

Beyond its entertainment value, Mosaic formalizes core principles of discrete mathematics, theoretical computer science, and combinatorics:

2D Discrete Convolution & Cellular Automata

Mosaic is mathematically formulated as an inverse 2D convolution: given a binary image matrix X ∈ {0, 1}^{m × n}, the clue matrix C is obtained by convolving X with a 3×3 all-ones kernel K. Solving Mosaic is the inverse problem: de-convolving the observed discrete sums back into binary values.

System of Linear Inequalities over GF(2)

Each clue defines an exact sum equation ∑_{u ∈ N(v)} x_u = c_v over 0-1 variables. The system can be analyzed via Gaussian elimination and linear programming relaxations. When clues overlap, subtracting neighboring equations yields direct local assignments (e.g. difference of row blocks).

NP-Completeness via 3-SAT

Reconstructing a binary matrix from 3×3 neighborhood sums is NP-complete. Trevor Truran's format requires every valid puzzle to possess a unique solution reachable via deterministic steps.

References & Further Reading

  1. Truran, T. (1998). Mosaic Collection. London.
  2. Conceptis Puzzles (2000). 'Fill-a-Pix: The Rules and Techniques'. Conceptis Ltd.
  3. Wolfram, S. (2002). A New Kind of Science. Wolfram Media. (Cellular automata in 2D lattices).

Free Printable PDF Booklet

50 Levels Included · Solutions in Back

Download our beautifully formatted, high-resolution A4 puzzle booklet. Generated directly from the handcrafted levels on AZTest, it contains 50 puzzles ordered from gentle introductory boards up to master-level challenges, followed by complete solutions at the back.

Difficulty Stage Grid Size Description Puzzles
Intro 5×5 Trivial 0s (all white) and 9s (all black) neighborhood starts. 3
Easy 5×5 to 6×6 Corner 4s, edge 6s, and adjacent difference reductions. 12
Medium 7×7 to 8×8 Overlapping 3×3 neighborhood subtractions revealing pixel art. 12
Hard 8×8 to 10×10 Multiple candidate shifts and dense image silhouettes. 12
Expert 10×10 Grandmaster mosaics requiring multi-block Gaussian elimination. 11
📥 Download Mosaic Booklet (PDF) 477 KB

Formatted for standard A4 printing. 4 puzzles per page provides ample workspace for pencil solving. Free to distribute for personal or educational use.

Explore More Logic Puzzles

Slitherlink

Connect dots to draw a single unbroken loop guided by surrounding cell numbers.

Wolves & Sheep

Draw a Slitherlink loop that fences the gentle sheep in and keeps the fierce wolves out.

Masyu

Draw one closed loop through cell centres that rigorously obeys the black and white pearls.

Nurikabe

Shade the sea to leave numbered white islands of exact sizes in one connected ocean.

Nonogram

Shade runs of cells according to row and column number clues to reveal a hidden picture.

Themed Nonogram

Solve color picture cross puzzles that blossom into vibrant pixel art upon completion.

Hitori

Shade the repeated numbers until every row and column has unique digits, keeping all white cells connected.

Kurodoko

Shade cells so every numbered circle sees exactly that many white cells in its row and column.

Binairo

Fill every cell with blue or white circles: never three in a row, every line half and half.

Heyawake

Shade rooms according to their clues without isolating unshaded cells or leaving long straight corridors.

Searchlights

Place light beams in white cells so that every numbered black post sees its exact clue count.

Light Up

Place light bulbs to illuminate every white cell without any two shining on each other.

Calcudoku

A Latin square where every outlined cage satisfies its arithmetic target and operator.

Skyscrapers

Place towers of heights 1 to N so that each outside clue sees the exact count of buildings.

Sum Skyscrapers

Skyscrapers where each outside clue is the sum of the heights of all visible buildings.

Suguru

The elegant polyomino number puzzle where no two identical digits can touch, even diagonally.

Futoshiki

A Latin square puzzle with inequality signs pointing between neighboring numbers.

Fillomino

Divide the grid into polyomino blocks where each cell's number equals the area of its block.

Galaxies

Partition the grid into rotational 180° symmetric galaxies, each centered on a single dot.

Shikaku

Cut the whole grid into rectangles and squares, each containing exactly one number: its area.

L-Pieces

Draw borders to partition all white cells into perfect four-cell L-shapes.

Numberlink

Connect pairs of matching numbers with continuous non-crossing paths covering the grid.

Bridges

Connect the island network with straight horizontal and vertical bridges into one united world.

Slant

Draw a diagonal slash in every cell matching the corner numbers, without ever closing a loop.

Tents

Pitch a tent beside every tree with no two tents touching, matching row and column counts.

Marupeke

Place circles and crosses in every cell without creating three in a row in any direction.

Ready to play Mosaic?

Test your deduction skills online with 100 free interactive levels, automatic conflict detection, progressive hints, and continuous browser save state.

Start Playing Level 1 →