Guides / AI tools

A playable 3D kitchen from one prompt: plan + elevation + material board, and Claude builds it in three.js

Give Claude a plan and elevation in mm plus a material board; one prompt builds a three.js kitchen you can walk, open, relight and re-top.

Letting a client 'walk into' a kitchen that hasn't been built used to mean learning Unreal or Blender. This time we gave Claude just three things: a floor plan with dimensions, an elevation and a material board. With one prompt it wrote a playable web page in three.js: first-person walking, upper cabinets and drawers that open, morning / afternoon / evening light, a one-key countertop swap, plus a cut-away model. The 3.6 × 4.2 m kitchen is an original demo we made for this reel, not a client project. Every image below was captured from the page Claude wrote.

01The result first: a kitchen you can play

The result is a web page. Click the view and you look around with the mouse; the keyboard lets you walk, open cabinets, change the light and swap the countertop. The bottom-left corner always shows the current time of day and countertop.

First-person view: sage base cabinets, terrazzo counter, light oak uppers, white tiles and a brass tap
Walking up to the sink in first person: eye height about 1.55 m, afternoon sun through the window.
  1. Click the view: look around with the mouse (press Esc to release it).
  2. W A S D or arrow keys: walk. You stop at the cabinets and the dining table.
  3. E: open or close the nearest upper cabinet door or drawer.
  4. 1, 2, 3: morning 7:00, afternoon 3:30, evening 7:30.
  5. M: next countertop (terrazzo → black quartz → white marble).

02Step 1: write every dimension on the drawings in mm

This step makes or breaks it. Hand over a plain picture and Claude has to guess, and once you walk in the cabinets are too low and the window too wide. Our 1:50 plan and window-wall elevation give every important size in mm.

Left: 1:50 plan, 3600 × 4200, L-shaped kitchen and table. Right: window-wall elevation, 900 counter, uppers 1500–2250
Our floor plan and elevation (original demo). The 3D model uses the same sizes.
  1. Interior: 3600 × 4200, ceiling 2700.
  2. Base cabinets 600 deep, counter 900 high; uppers from 1500 to 2250.
  3. Windows: back-wall window 1100 wide with a 1050 sill; a second window on the dining side wall.
  4. Table 1300 × 800, four chairs, one pendant above.

03Step 2: make the material board first so Claude doesn't improvise

Before you prompt, choose the countertop, cabinets, floor and tiles. Ours: sage-green base cabinets, light oak uppers, white handmade tiles, oak floor, and three countertop options.

Material board: terrazzo, black quartz, white marble, sage green, light oak, white tiles and oak floor swatches
The material board: three countertops to pick from, the rest fixed. Every texture was painted in code, no photos.

04Step 3: one prompt, with the drawings and material board attached

Upload the plan, elevation and material board to Claude together and paste this. It is the prompt we used; swap the [ ] parts for your project.

Main prompt (replace the [ ] parts)
Attached is a [3.6 × 4.2] m [kitchen plus dining area]: floor plan, elevation and material board. Build a 3D version I can walk into with three.js, using the sizes on the drawings. First-person WASD walking, cabinets and drawers that open; the countertop switches between [terrazzo / black quartz / white marble]; the light switches between [morning / afternoon / evening]. Generate every material in code. Finally, export the walkthrough frames and write the steps up as an SOP I can reuse on every project.

Claude wrote 6 files, 556 lines in total: scene.js (walls, cabinets, table, lights), materials.js (procedural stone and wood grain), controls.js (walking, opening cabinets, countertop and time-of-day switches), shots.js (camera paths for export), index.html (the playable page), and shoot.js, which saves the walkthrough as frames.

Cut-away model without front wall, right wall and ceiling: L-shaped kitchen, fridge, table and four chairs
Cut-away model: front and right walls and the ceiling removed, slowly orbiting, so the whole layout reads at a glance.

05Step 4: walk it yourself and check it against the drawings

Open the page and walk around. At the sink, press E and the drawer slides out; look up and press E again and the upper door swings open. Check against the drawings as you go: is the counter 900, the underside of the uppers 1500, the window lined up?

An open drawer with white bowls inside, next to the terrazzo countertop and brass tap
Press E to pull out the drawer; there are bowls inside.
Looking up at a light oak upper cabinet with one door open, showing a shelf and white cups
Press E again to open the upper cabinet: shelf and cups included.

When something is off, give Claude the number, for example 'the uppers should start at 1500' or 'pull the drawer out 400'. Don't say 'the uppers feel a bit low'; exact numbers get exact fixes.

To add features, keep going in the same chat:

Follow-up: time of day and lights
In evening mode, turn on the pendant and the under-cabinet lights and make the view outside a night scene. Add a [6:00 dawn] option with sun slanting in through the [back-wall window], switched with [4].
Follow-up: countertop swap
Add one more countertop option: [grey concrete / solid wood], with the texture drawn in code, cycled with M. Show the current countertop name in the bottom-left corner.
Follow-up: opening cabinets and drawers
Let [the fridge door and the cabinet under the sink] open with E too, doors swinging to about [100°], drawers pulling out [400] mm. Put [bowls / spice jars] inside.
Follow-up: cut-away model
Add a top-down cut-away mode: remove the front wall, right wall and ceiling, and orbit slowly.
Same angle three times: cool 7:00 morning, warm 3:30 afternoon sun, 7:30 evening with the lamps on
Press 1, 2, 3: morning 7:00, afternoon 3:30, evening 7:30. At night the pendant and under-cabinet lights come on.
The same sink corner with three countertops: terrazzo, black quartz, white marble
Press M to swap the countertop: terrazzo → black quartz → white marble, in a second.

06Step 5: open it, share it or export it as video

The page uses JavaScript modules, so double-clicking index.html usually won't work (browsers block modules from file://). Open it through a small local server:

  1. Open a terminal in the page's folder and run npx serve (or python -m http.server).
  2. Open the address it prints, e.g. http://localhost:3000, and go into the kitchen folder.
  3. Click the view and start walking.

To let a client play, put the whole folder on any static web host and send the link. If you'd rather not host anything, ask Claude to bundle it into one file:

Follow-up: share and export
Bundle the whole project into [one HTML file], including three.js, so it opens with a double-click. Also write an export script (headless Chrome) that follows the camera path and saves the walkthrough as [1080 × 1350] frames. Store the camera path in a file so every export matches.

That is how our reel was made: shoot.js opens the page in headless Chrome, captures it frame by frame along the camera paths in shots.js, and the frames were edited into the video. No Unreal or Blender anywhere.

07Further reading

Only have a floor plan, no elevation or material board yet? Start here: a three.js block model plus ChatGPT renders, turned into a walkthrough of the whole home.

08Watch out for

  1. This kitchen is an original demo we made for this reel, with no client. The plan, elevation, material board and 3D page were all made in October 2026.
  2. Write every dimension on the drawings in mm. Anything left out, Claude guesses, and you only notice once you walk in.
  3. Make the material board before you prompt. Without it Claude picks its own colours, and every change means rechecking the whole room.
  4. This is a three.js web page, not Unreal or Blender. Lighting is real-time: clean and easy to read, but not photo-real. For a formal pitch you can still produce separate renders.
  5. The demo only supports keyboard and mouse, so you can't walk on a phone. For mobile, ask Claude for a touch joystick or an automatic tour.
  6. Shadows and real-time light are demanding. Older laptops or integrated graphics may stutter; ask Claude to lower the shadow resolution, turn off antialiasing or shrink the canvas.
  7. The 3D model is for communication, not construction drawings. Real dimensions, hardware and quotes still come from proper drawings and on-site measurements.

Sources

Related guides