Walkable home

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
Living & dining 740 × 520 Kitchen 340 × 488 Entrance hall 15.8 m² Guest WC 158 × 170 Hallway 468 × 120 Bedroom 338 × 520 Study 280 × 356 Bathroom 176 × 356 Master bedroom 398 × 520 Dressing room 268 × 176 Master bathroom 268 × 300 740 338 398 1500 520 488 1020
Every number on this drawing comes from the data file the agent writes in step 1. Sizes in centimetres.
First-person view of an open fridge with a light inside and food on the shelves
Open the fridge
Seated view of a TV playing a waterfall video, with a hint to stand up or use the remote
Sit down, pick up the remote
View from lying on a bed, looking across the duvet to the bedroom door
Lie on the bed
Sliding glass door open onto a balcony with a bistro table and two chairs
Slide the balcony door

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

  1. ShellWalls, doors and windows, accurate to the centimetre
  2. FurnitureEvery room, in one style
  3. 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".

1

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.

Cut-away 3D model of the empty apartment shell, showing walls, door frames, windows and the balcony
The finished shell, with the ceiling removed. Oak floors in the bedrooms, tiles in the wet rooms, and a frame and door in every doorway.

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 .blend file 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.
First-person view of the empty living room in the browser: bare walls, marble floor and a sliding balcony door
The same shell in the browser, before any furniture.

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
2

Furniture

New session. The shell is done and checked. Now every room gets furniture, in one style, at real sizes.

Living room render: curved cream boucle sofa with orange cushions, oak TV unit, paper floor lamp, dining table beyond
Living room
Kitchen render: oak cabinets, steel fridge, breakfast table with leather chairs and a fruit bowl
Kitchen
Bedroom render: oak bed with striped throw, bench, nightstands with lamps, linen curtains
Bedroom
Study render: oak desk under the window, leather lounge chair, daybed and a ladder bookshelf
Study
Bathroom render: glass shower, round basin on a fluted oak vanity, pill-shaped mirror
Bathroom

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
3

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
Front door swung open from the building corridor, apartment number 7B on the wall
Open the front door
Seated on the sofa facing the TV, with on-screen hints for standing up and the TV remote
Sit on the sofa
The TV playing a waterfall clip, seen from the sofa
Turn on the TV
Seated at the dining table, looking across the living room to the balcony
Pull out a chair
Open fridge with the interior light on
Open the fridge
Kitchen sink with water running from the tap
Run the tap
Bathroom with the glass shower door, basin and mirror
Open the shower
Lying on the bed, looking at the bedroom wall and door
Lie down

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

Share it

Put it online and send the link. People open it and walk in right away, even on a cheap phone. There's no app and nothing to download.

Cloudflare Pages

What I use. The free plan is generous and it's fast everywhere. Its one limit: no file over 25 MB, so the agent splits big files and joins them again in the browser. The skill includes a script for that.

Claude artifacts

Publish the page from Claude and share its link. Keep the files small, because artifacts have size limits.

ChatGPT Sites

Publish from ChatGPT and set sharing to "Anyone on the Internet". It depends on your plan and region, so check it first.

Example prompt. Say it your own way.

Put the apartment online on Cloudflare Pages so anyone can open it from a link. I'm on the free plan, so no file can be over 25 MB: split anything bigger and join it again in the browser. Tell me when you need me to log in. When it's live, test it at phone size and give me the link.

What the agent will run

npx wrangler login
npx wrangler pages project create my-home \
  --production-branch main
npx wrangler pages deploy dist \
  --project-name my-home --branch main

Your home is then live at my-home.pages.dev.

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
  1. 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."
  2. CodexUnzip it into ~/.codex/skills/ and ask the same way.
  3. Antigravity or anything elsePut the folder in your project and tell the agent to read walkable-home/SKILL.md and 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.