Image: dev.to
Mister Blocks turns a photo of loose LEGO into buildable models
A parent built a site with Claude that looks at a photo of a mixed LEGO pile and suggests models you can build from it, checking that no brick floats.
Credits
- Article author ogamaniuk Source ↗
- Reddit poster Oleksandr_G Source ↗
Earliest dated source:
The full story
Mister Blocks started as an answer to a son's question about what to build from a giant box of mixed LEGO. You photograph the pile; Claude Opus 5.5 identifies each piece as structured JSON, then designs models placed on a stud grid from only those bricks, shown as 3D step-by-step instructions you can rotate and print. The first working version came from the first prompt; the following days went into making sure builds actually hold together and no brick floats. It runs on Vercel functions, MongoDB, Cloudflare R2 and three.js, and each build costs a couple of dollars in API calls.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- DEV: I built a LEGO builder for my son with Claude. The hard part was making sure no brick floatsArticle author: ogamaniukPublished
The maker's write-up of the pipeline and the stability checks.
- Reddit: I built a site that turns a photo of your loose LEGO pile into models you can actually buiReddit poster: Oleksandr_GPosted
The maker's post with example builds and the stack.