Will BoothWill Booth

Brick Builder: photos turned into Lego you build by scrolling

A Lego cola bottle and a Lego duckling

Summary

Three photos turned into Lego builds made only from single, buyable parts, then assembled brick by brick as you scroll.

The question

Can a photo become a build you could actually buy?

I came across a site that turns a picture into a Lego model and assembles it in 3D. The part I loved was the scrubbing: drag back and the model comes apart, drag forward and it builds again. I wanted to make my own version with Claude, as a lab experiment rather than a full app.

One rule kept it honest: every piece is a single standard part you could order on its own. If it's in the model, it has a part number.

How it works

From photo to parts list in five steps.

  1. Simplify the photo

    Each subject is reduced to a few clean shapes. Lego can't do fur or reflections, so the first job is deciding what to keep.

  2. Turn it into a 3D grid

    The shapes become a block of tiny cubes, one per stud, each with a colour.

  3. Pack it with real parts

    Neighbouring cubes of the same colour merge into the largest bricks and plates that fit. Anything the pieces below can't hold is removed or recoloured, so the model stays in one piece.

  4. Order it bottom-up

    Pieces are sequenced from the base upward, spiralling round the model, in steps of four.

  5. Tie it to the scroll

    Each piece drops in as your scroll reaches it. Scroll up and the drops play in reverse.

Each build below has its own scroll section. Scroll through to build it, use the slider to jump, or drag the model to turn it. Open the parts list to see exactly what you'd need to buy.

Example 1

The cola bottle.

The simplest shape, and a good test of the packing: a hollow shell with a curved neck, a red label band and a red cap. The label carries a short word in pixel lettering. It's generic rather than a real brand, which is why it doesn't match the logo in the photo.

Prompt“Turn this photo of a cola bottle into a Lego build with a parts list.”
Step
0of 0

Cola bottle · 731 pieces · press play to build, drag to turn

Parts list (29 types)
  • Brick 1 x 4, Black #3010×107
  • Brick 1 x 1, Black #3005×85
  • Brick 1 x 4, Red #3010×56
  • Brick 1 x 1, Red #3005×46
  • Brick 1 x 3, Black #3622×36
  • Brick 1 x 1, White #3005×36
  • Brick 1 x 6, Black #3009×29
  • Brick 1 x 2, Black #3004×28
  • Brick 1 x 3, Red #3622×24
  • Brick 1 x 4, White #3010×22
  • Brick 1 x 2, White #3004×22
  • Brick 1 x 2, Red #3004×21
  • Brick 2 x 4, Black #3001×20
  • Brick 1 x 3, White #3622×15
  • Brick 1 x 1, Dark Bluish Gray #3005×12
  • Brick 2 x 3, Black #3002×7
  • Brick 2 x 4, Red #3001×6
  • Brick 1 x 6, Red #3009×5
  • Brick 2 x 2, Black #3003×4
  • Brick 1 x 6, White #3009×4
  • Brick 2 x 4, White #3001×3
  • Brick 2 x 3, Red #3002×3
  • Brick 2 x 3, White #3002×3
  • Brick 2 x 2, Red #3003×2
  • Brick 2 x 2, White #3003×1
  • Plate 1 x 1, Black #3024×116
  • Plate 1 x 3, Black #3623×8
  • Plate 1 x 1, White #3024×8
  • Plate 1 x 1, Dark Bluish Gray #3024×2

Example 2

Mount Fuji and its reflection.

My first version was a flat relief wall, which missed the point. This one is a true 3D mountain: a stepped cone with a snow cap and pink and purple shading, standing behind a lake. The reflection is laid out in flat plates in front, mirroring the outline.

Prompt“Turn this photo of Mount Fuji and its reflection into a Lego build with a parts list.”
Step
0of 0

Mount Fuji · 574 pieces · press play to build, drag to turn

Parts list (86 types)
  • Brick 2 x 4, Dark Green #3001×164
  • Brick 2 x 4, Medium Lavender #3001×57
  • Brick 1 x 6, Dark Green #3009×36
  • Brick 2 x 4, Dark Purple #3001×24
  • Brick 2 x 4, Dark Pink #3001×23
  • Brick 1 x 4, Dark Pink #3010×9
  • Brick 1 x 2, Dark Purple #3004×9
  • Brick 1 x 2, Dark Pink #3004×8
  • Brick 1 x 1, Medium Lavender #3005×7
  • Brick 1 x 4, Dark Green #3010×6
  • Brick 1 x 6, Dark Pink #3009×6
  • Brick 1 x 4, Dark Purple #3010×6
  • Brick 1 x 1, White #3005×6
  • Brick 1 x 2, Dark Green #3004×4
  • Brick 1 x 1, Dark Green #3005×4
  • Brick 1 x 6, Dark Purple #3009×4
  • Brick 2 x 2, Dark Purple #3003×4
  • Brick 1 x 2, Medium Lavender #3004×4
  • Brick 2 x 2, Dark Pink #3003×3
  • Brick 1 x 2, Bright Pink #3004×3
  • Brick 2 x 2, Medium Lavender #3003×2
  • Brick 1 x 6, Medium Lavender #3009×2
  • Brick 2 x 3, Dark Purple #3002×2
  • Brick 1 x 1, Bright Pink #3005×2
  • Brick 1 x 2, White #3004×2
  • Brick 2 x 2, Dark Green #3003×1
  • Brick 1 x 1, Dark Pink #3005×1
  • Brick 2 x 3, White #3002×1
  • Brick 1 x 4, White #3010×1
  • Brick 1 x 4, Bright Pink #3010×1
  • Brick 2 x 3, Bright Pink #3002×1
  • Brick 2 x 2, Bright Pink #3003×1
  • Brick 2 x 2, White #3003×1
  • Plate 8 x 8, Light Bluish Gray #41539×24
  • Plate 4 x 4, Light Bluish Gray #3031×21
  • Plate 4 x 4, Blue #3031×17
  • Plate 1 x 6, Blue #3666×6
  • Plate 1 x 4, Sand Blue #3710×6
  • Plate 1 x 6, Sand Blue #3666×6
  • Plate 4 x 4, Medium Blue #3031×5
  • Plate 1 x 6, Dark Blue #3666×5
  • Plate 2 x 6, Dark Blue #3795×5
  • Plate 1 x 6, Dark Purple #3666×4
  • Plate 1 x 6, Medium Blue #3666×3
  • Plate 2 x 6, Medium Blue #3795×3
  • Plate 1 x 2, Medium Lavender #3023×3
  • Plate 1 x 1, Blue #3024×3
  • Plate 1 x 1, Bright Pink #3024×3
  • Plate 1 x 1, Sand Blue #3024×3
  • Plate 1 x 4, Dark Purple #3710×3
  • Plate 1 x 2, Dark Purple #3023×3
  • Plate 1 x 3, Bright Light Blue #3623×2
  • Plate 1 x 2, Medium Blue #3023×2
  • Plate 2 x 3, Medium Blue #3021×2
  • Plate 1 x 4, Blue #3710×2
  • Plate 1 x 6, Medium Lavender #3666×2
  • Plate 2 x 6, Medium Lavender #3795×2
  • Plate 1 x 2, Blue #3023×2
  • Plate 2 x 3, Blue #3021×2
  • Plate 2 x 2, Bright Pink #3022×2
  • Plate 1 x 3, Dark Blue #3623×2
  • Plate 1 x 4, Medium Blue #3710×2
  • Plate 2 x 6, Bright Light Blue #3795×1
  • Plate 1 x 3, Medium Blue #3623×1
  • Plate 2 x 4, Medium Blue #3020×1
  • Plate 2 x 3, Medium Lavender #3021×1
  • Plate 1 x 4, Medium Lavender #3710×1
  • Plate 2 x 4, Blue #3020×1
  • Plate 1 x 3, Blue #3623×1
  • Plate 2 x 4, Medium Lavender #3020×1
  • Plate 1 x 2, Sand Blue #3023×1
  • Plate 2 x 4, Sand Blue #3020×1
  • Plate 2 x 6, Sand Blue #3795×1
  • Plate 1 x 4, Bright Pink #3710×1
  • Plate 2 x 4, Bright Pink #3020×1
  • Plate 1 x 3, Bright Pink #3623×1
  • Plate 1 x 1, Dark Purple #3024×1
  • Plate 2 x 2, Blue #3022×1
  • Plate 2 x 6, Dark Purple #3795×1
  • Plate 2 x 3, Dark Purple #3021×1
  • Plate 2 x 2, Medium Blue #3022×1
  • Plate 2 x 3, Dark Blue #3021×1
  • Plate 1 x 6, Bright Light Blue #3666×1
  • Plate 2 x 3, Bright Light Blue #3021×1
  • Plate 2 x 6, Blue #3795×1
  • Plate 1 x 1, Medium Blue #3024×1

Example 3

The duckling.

The hardest of the three, because everything is curved. The body, head, beak and feet are smooth shapes snapped to the stud grid. The eye is a single black stud, and the wing is a colour patch rather than a separate piece.

Prompt“Turn this photo of a duckling into a Lego build with a parts list.”
Step
0of 0

Duckling · 354 pieces · press play to build, drag to turn

Parts list (45 types)
  • Brick 1 x 4, Yellow #3010×21
  • Brick 2 x 4, Yellow #3001×19
  • Brick 1 x 1, Yellow #3005×15
  • Brick 1 x 2, Yellow #3004×13
  • Brick 1 x 3, Yellow #3622×7
  • Brick 1 x 6, Bright Light Yellow #3009×6
  • Brick 2 x 3, Yellow #3002×6
  • Brick 1 x 4, Bright Light Yellow #3010×5
  • Brick 1 x 4, Bright Light Orange #3010×5
  • Brick 2 x 2, Yellow #3003×5
  • Brick 1 x 1, Orange #3005×4
  • Brick 2 x 4, Bright Light Yellow #3001×4
  • Brick 1 x 1, Bright Light Yellow #3005×4
  • Brick 1 x 2, Bright Light Yellow #3004×4
  • Brick 1 x 6, Yellow #3009×4
  • Brick 1 x 3, Bright Light Orange #3622×3
  • Brick 1 x 2, Bright Light Orange #3004×3
  • Brick 1 x 3, Bright Light Yellow #3622×2
  • Brick 2 x 3, Bright Light Orange #3002×2
  • Brick 1 x 1, Bright Light Orange #3005×2
  • Brick 1 x 1, Black #3005×2
  • Brick 1 x 6, Bright Light Orange #3009×1
  • Brick 2 x 2, Orange #3003×1
  • Plate 1 x 1, Yellow #3024×71
  • Plate 1 x 2, Yellow #3023×32
  • Plate 4 x 4, Reddish Brown #3031×21
  • Plate 1 x 2, Bright Light Yellow #3023×16
  • Plate 1 x 1, Bright Light Yellow #3024×16
  • Plate 1 x 1, Orange #3024×10
  • Plate 1 x 1, Bright Light Orange #3024×10
  • Plate 1 x 4, Bright Light Yellow #3710×5
  • Plate 1 x 4, Yellow #3710×5
  • Plate 8 x 8, Reddish Brown #41539×4
  • Plate 1 x 2, Orange #3023×4
  • Plate 1 x 3, Yellow #3623×4
  • Plate 2 x 2, Yellow #3022×3
  • Plate 2 x 4, Yellow #3020×3
  • Plate 6 x 6, Reddish Brown #3958×2
  • Plate 2 x 4, Reddish Brown #3020×2
  • Plate 2 x 6, Reddish Brown #3795×2
  • Plate 1 x 3, Orange #3623×2
  • Plate 2 x 6, Orange #3795×1
  • Plate 2 x 4, Orange #3020×1
  • Plate 2 x 3, Bright Light Yellow #3021×1
  • Plate 4 x 4, Bright Light Yellow #3031×1

Reflections

What worked, and what didn't.

  1. The scrubbing was the easy part

    Once each piece's motion was tied to the scroll position, it just worked.

  2. Curves leave loose pieces

    Curved shapes leave small pieces floating free, and each needed a rule to rejoin, recolour or drop it. The duckling still loses about a dozen single studs I couldn't anchor.

  3. Start simpler

    The more complex the photo, the harder the build. These were too complicated for a first iteration.

  4. Looking, not code

    Claude couldn't tell that the duck's eye sat too low or that Fuji looked like a wall. I had to point and say so. After that the fixes were quick.

These three are pre-made. Letting people upload their own photo would need the simplify step to be automatic, which is what I'd tackle next. The parts lists are just lists, with no shop links.

Next lab

Sprite MonstersTen sprite monsters built from voxels