A floor plan in. A 3D dollhouse and walkthrough out.
/fp-floorplan-to-walkthrough
What it does
Hand over a floor plan and walk through the home before it's built. You confirm a clean 2D redraw first, then get a dollhouse, an eye-height walk with every room's area, and a short video.
2D redraw with computed areas to confirm first
Dollhouse orbit and an eye-height walk
Explorable page plus a 15-20 second MP4
You bring, you get
You bring
Your floor plan as an image, a PDF or room sizes typed in. Expect a few questions about anything the drawing doesn't say, like ceiling height or which way a door opens.
You get
A checked plan.json, a redraw sheet with every room's area, an explorable 3D page (dollhouse, walk, plan, tour) and a 15-20 second walkthrough video in 16:9 or 9:16.
Perfect for
Self-build families
Off-plan flat buyers
Renovation planning
Estate agent tours
Architecture students
Interior layout ideas
How it works
READPlan to plan.json: walls, doors, windows.
CONFIRM2D redraw, areas and questions. Yes first.
BUILDWalls, light and furniture from the plan.
PREVIEWEvery frame shows a room, not a wall.
RENDERVideo, frame checks and sound mix.
DELIVERExplorable page, redraw and the MP4.
What you need
Runs in Claude Code or a Claude app with local code execution. Needs Node.js 18+, Python 3 with numpy and ffmpeg. three.js loads from unpkg, so the first render needs internet.
Example prompts
OUR HOUSE BEFORE IT'S BUILT
You bring: The architect's PDF of the ground floor and the ceiling height
Use fp-floorplan-to-walkthrough on ground_floor.pdf so my family can walk through our new house. Ceilings are 2.7 m. Walk from the front door to the kitchen.
You get: A redraw of the ground floor with every room's area to confirm, then a dollhouse and a walk from the front door to the kitchen, as a page you can explore and a 20 s 16:9 MP4.
OFF-PLAN FLAT FOR A REEL
You bring: The developer's brochure plan of a one-bed flat, as a JPG
Use fp-floorplan-to-walkthrough on flat_plan.jpg to make a 9:16 walkthrough for Reels, living room first, then the bedroom.
You get: A checked plan with any printed size that disagrees with the drawing flagged, then a 9:16 walkthrough with room names and areas and a minimap, furniture labelled illustrative.
LAYOUT FROM TYPED SIZES
You bring: Room sizes and how they connect, typed in a message
Use fp-floorplan-to-walkthrough: living room 5 x 4 m, kitchen 3 x 3 m off it, two bedrooms 3.5 x 3 m along the back with a bathroom between.
You get: A proposed layout drawn as a plan for you to correct, questions about doors and windows, then the 3D explorer and a short dollhouse and walk video once you say yes.