Build a home you can walk into
Turn a floor plan into a 3D apartment that anyone can open in a browser, walk through with WASD and actually use. Open the doors, sit on the sofa, turn on the TV, check the fridge. You build it in three sessions with an AI agent.
- Works with Claude Code, Codex or Antigravity
- Blender is free, and the agent drives it
- Free hosting on Cloudflare




Before you start
What you need
- An AI agent that works on your computer, not just a chat window: Claude Code, Codex or Google Antigravity. It needs to run Blender, write files and take screenshots.
- Blender (free). You don't need to know it. The agent drives it, and you open it only to check the work.
- A floor plan with measurements. A PDF, a photo of a printed plan or a sketch you measured yourself all work.
- A free Cloudflare account when you want to share it.
Three sessions, one job each
- ShellWalls, doors and windows, accurate to the centimetre
- FurnitureEvery room, in one style
- PlayableWalk, sit, open, switch on
Start a fresh session for each one: a long session gets muddled. Before you close a session, ask the agent to write what it built, and how to rebuild it, in a NOTES.md file. Then start the next session with "Read NOTES.md".
The shell
Walls, floors, doors and windows, and nothing else, accurate to the centimetre. Everything later sits on top of this, so get it exactly right.
Tell it the rules
- Use metres, accurate to 1 cm.
- Give the wall thickness (for example 25 cm outside, 12 cm inside) and the ceiling height.
- For each door, give the width, the hinge side and which way it opens. Say which openings have no door, like an open kitchen or an arch.
- For each window, give the width, the sill height and the type. Include the balcony.
- Ask it to write the plan as a data file first, then build the model from that file with a Blender script. When a number is wrong, you change one line and rebuild.
- Walls meet in clean corners with no overlapping faces. Overlaps flicker in the browser.
- "If a measurement is missing, ask me. Don't guess."
The plan as data
# walls: x0, y0, x1, y1 (metres)
(7.40, 0.00, 7.52, 10.20), # living | bedrooms
# openings: x0, y0, x1, y1, z0, z1, kind, name
(7.60, 5.20, 8.50, 5.32, 0.00, 2.12,
"door", "Bedroom"),
(8.30, -0.25, 10.10, 0.00, 0.90, 2.30,
"window", "Bedroom window"),
# which side is hinged, which way it opens
"Bedroom": dict(hinge="lo", swing=-1),
One line per wall, door and window. It's easy to read, easy to check, and easy to fix.
Make it check its own work
Ask the agent to measure every room in the finished model and compare it with the plan. Also ask it to draw the plan back out with dimensions (like the drawing at the top of this page) and to render a top view and cut-away views. This is the real check from this apartment:
$ blender -b work/shell.blend --python check_shell.py -- plan.py
room plan W x D (cm) model W x D (cm) height result
Living & dining 740 x 520 740.0 x 520.0 280 ok
Kitchen 340 x 488 340.0 x 488.0 280 ok
Guest WC 158 x 170 158.0 x 170.0 280 ok
Bedroom 338 x 520 338.0 x 520.0 280 ok
Study 280 x 356 280.0 x 356.0 280 ok
Bathroom 176 x 356 176.0 x 356.0 280 ok
Master bedroom 398 x 520 398.0 x 520.0 280 ok
Dressing room 268 x 176 268.0 x 176.0 280 ok
Master bathroom 268 x 300 268.0 x 300.0 280 ok
ALL ROOMS MATCH THE PLAN
Then check it yourself in Blender
- Open the
.blendfile and press 7 on the number pad for the top view. - Drag your plan image into the view (Add > Image > Reference) and scale it to real size. The walls should sit exactly on its lines.
- Use the Measure tool (the ruler in the left toolbar) on a few rooms and doorways.
- Click any object and press N to see its exact size.
- Look for doors that open the wrong way, missing windows and flickering walls.
Example prompt. Don't copy it. Read it, then say it your own way.
I want to build a 3D version of my apartment that people can walk through in the browser later. This session is only the empty shell: walls, floors, ceilings, door and window openings, frames and doors. No furniture.
I've attached the floor plan. Work in metres and be accurate to the centimetre. Outside walls are 25 cm, inside walls 12 cm, the ceiling is 2.80 m. The kitchen and living room are open, with no doors. Bedroom doors open into the rooms.
Before you build anything, write the whole plan as a data file with every wall, opening and room. Then write a Blender script that builds the model from that file, so I can fix a number and rebuild. Walls meet in clean corners with no overlapping faces. If a measurement is missing or unclear, ask me instead of guessing.
When it's built, check your own work. Measure every room and compare it with the plan, draw the plan back out with dimensions, and render a top view and two cut-away views for me. Write what you did and how to rebuild it in NOTES.md.
Move on when
- Every room measures the same as the plan
- Every door is hinged on the right side and opens the right way
- Windows sit at the right height, and the balcony is there
- Nothing flickers when you orbit around it in Blender
Furniture
New session. The shell is done and checked. Now every room gets furniture, in one style, at real sizes.





Decide the style first
- Name a style ("warm Japandi", "Scandinavian", "modern majlis") and say what you don't want.
- Give it reference images. A moodboard, or one photo per room, works far better than adjectives.
- Ask for real sizes: chair seats at 45 cm, tables at 75 cm, kitchen counters at 90 cm.
Make it or download it
- Make it. This is my favourite. Agents are now good at modelling furniture with Blender scripts. Everything matches, the sizes are exact, and you can ask for changes.
- Download it from Poly Haven (free, CC0), ambientCG for materials, or Sketchfab (check the licence and credit the author).
- Watch the triangle count. Tell the agent to keep it light: about 10k triangles for a chair, 30k for a sofa or bed, around a million for the whole home, with 1K textures. Heavy scans make it stutter on phones.
Whole home first, then room by room
Try furnishing the whole home in one session. If the result isn't what you want, don't keep piling fixes onto it. Start one session per room, and make each room look right before you move to the next.
Example prompt. Don't copy it. Read it, then say it your own way.
Read NOTES.md. The shell is finished and checked, so don't change it. This session is furniture.
The style is warm Japandi: light oak, linen and boucle, off-white walls, black metal details, a few plants. I've attached reference photos.
Furnish the whole apartment. Model the furniture yourself in Blender at real sizes. If you download anything, check the licence, keep it light (about 10k triangles for a chair, 30k for a sofa or bed, 1K textures), and add it to a credits file.
Nothing may overlap, float or go into a wall. Keep walkways at least 75 cm wide, and every door must still open fully. Print a check for all of that, then render every room from two corners and show me.
Example prompt for one room. Again, use your own words.
This session is only the living room. The sofa feels too heavy, and the corner by the window looks empty. Here's a photo of a living room I like. Change only this room, and show me renders after each change until I say it's done.
Move on when
- You like every room in the renders
- Nothing overlaps or floats, and you can walk into every room
- Every door still opens all the way
- The agent has printed the total triangle count, and it's within budget
Make it playable
New session. Turn the furnished home into something you walk around in the browser, where everything you'd touch in a real home does something.
What to ask for
- Walk with WASD, look with the mouse. Walls and furniture block you. Start in the corridor outside the front door: opening it is a great first moment.
- Look at something, press E to use it. Doors open away from you. Drawers, cabinets and the fridge open (light on, food inside). Chairs pull out, the sofa and bed let you sit and lie down, the remote turns on the TV, taps and the shower run, and the balcony door slides.
- Real light that stays fast. Bake the light on walls and floors in Blender, and light the furniture live.
- Show the room name, a small floor-plan map, a button to hide the furniture, and touch controls on phones.
- A small download, so it opens on a cheap phone.
Make it play-test itself
Ask the agent to write a script that walks through the whole home, uses every object and saves a screenshot of each step. Then it looks at them and fixes what's wrong before you see anything. Every in-browser picture on this page came from that script.
Name the usual problems up front
- A bright flash when you walk between rooms
- Doors that swing into you
- Getting stuck on chairs
- Black spots on the furniture
- Walls that flicker








Example prompt. Don't copy it. Read it, then say it your own way.
Read NOTES.md. Now turn the furnished apartment into a first-person experience that runs in the browser with three.js.
I start in the building corridor outside the front door. I walk with WASD and look around with the mouse, and walls and furniture block me. When I look at something, show what I can do, and E or a click does it. I want to open every door (always away from me), open drawers, cabinets and the fridge (light on, food inside), pull out a chair and sit, sit on the sofa, lie on the bed, use the remote to turn on the TV, run the taps and the shower, and slide the balcony door.
The lighting has to look real but stay fast: bake the light on walls and floors in Blender, and light the furniture live. No bright flash between rooms. Add the room name, a small floor-plan map, a button to hide the furniture and touch controls for phones. Keep the download small enough for a cheap phone.
Then write a play-test script that walks through the whole apartment, uses everything and saves a screenshot of each step. Look at the screenshots yourself and fix what's wrong before you show me.
Move on when
- Everything on your list works, and there's a screenshot to prove it
- You never get stuck, and no door swings into you
- It runs smoothly on an old laptop or a phone
The shortcut: the skill
Everything on this page, written down for an agent. It includes the scripts that build the shell from the plan data, measure it, draw the plan with dimensions and prepare files for Cloudflare.
Download walkable-home-skill.zip- Claude CodeUnzip it into
~/.claude/skills/, so you have~/.claude/skills/walkable-home/SKILL.md. Then say "Use the walkable-home skill to build my apartment from this plan." - CodexUnzip it into
~/.codex/skills/and ask the same way. - Antigravity or anything elsePut the folder in your project and tell the agent to read
walkable-home/SKILL.mdand follow it.
More things that help
- Make textures with an image model
- The custom furniture in this apartment was modelled by Codex agents, with textures from the ChatGPT image model. Ask for "seamless, tileable, flat even light, no shadows", then have the agent make the bump (normal) and shine (roughness) maps from the image.
- One agent per piece of furniture
- Give each piece its own folder, build script and preview render, with one shared brief for units and style. Several agents can then work at the same time without stepping on each other.
- Always ask for pictures
- After every change, ask for a render or a screenshot and look at it yourself. "It's done" from the agent doesn't count until you've seen it.
- Give feedback like a client
- Short and honest works best: "this chair is too much", "the door looks cheap". If something looks wrong, take a screenshot and paste it in.
- Save the good versions
- When something looks right, save a copy (git, or just a dated folder) so you can always go back.
- Test on a weak device
- Open it on an old laptop and on a phone. If it stutters, ask for a quality switch and smaller textures.
- Credit what you use
- Keep a credits list for every downloaded model, texture, sound and video, and show it in a menu inside the home.
- Start outside the front door
- Spawning in the building corridor makes opening the door the first thing people do. It sets the mood better than appearing in the middle of the living room.