Home in 3D
Built by Claude Haiku 5.5 · 19m 52s · $1.15 · one prompt, no help
Built for a keyboard and mouse: best on a computer.
Controls
- 1, 2, 3: orbit, plan and walk views
- Drag a device in from the left; drag a placed device to move it, R or Shift + R to rotate, Delete to remove
- Walk: click the view, then W A S D and the mouse; Esc releases the mouse
- T starts or stops the guided tour
- F shows the Wi-Fi coverage, C hides the ceilings
The flat in 3D with orbit, plan and walk views, a Wi-Fi heat map, a guided tour, and smart devices you drag in and switch on.
The prompt
Build a web app that turns an apartment's floor plan into an interactive 3D home where you place smart-home devices. Build it with any stack you like; this machine has Node, Python, Blender 5.2 (`blender`, runs headless), ffmpeg, ImageMagick and headless Chrome. Make every model and texture yourself, in code or in Blender; no downloaded asset files (code libraries are fine). The apartment is a real two-bedroom flat. Measurements are in metres, from the builder's plan: x runs left to right across the plan, y runs top to bottom, and (0, 0) is the outer top-left corner of the balcony. Walls are 0.15 m thick and 2.9 m high. - Balcony: x 0.00 to 4.87, y 0.00 to 1.19 (open above a 1 m parapet) - Living and dining: x 0.00 to 4.87, y 1.30 to 4.64 - Bedroom 1, used as an office: x 5.17 to 8.22, y 0.00 to 3.50 - Master bedroom: x 8.45 to 11.65, y 1.30 to 4.65 - Wardrobe, in the master bedroom: x 10.10 to 11.61, y 4.65 to 5.25 - Corridor, 1.1 m wide: x 5.17 to 8.45, y 3.60 to 4.70 - Foyer, the entrance: x 0.00 to 1.66, y 4.75 to 5.74 - Kitchen: x 1.85 to 4.90, y 4.80 to 7.24 - Utility: x 5.04 to 6.40, y 4.80 to 6.62 - Toilet 1: x 6.70 to 8.23, y 4.80 to 7.24 - Master toilet: x 8.43 to 9.96, y 4.80 to 7.24 Doors: the front door is in the foyer's bottom wall; a wide sliding door joins the living room and the balcony; the office and the master bedroom open off the corridor; toilet 1 opens off the corridor; the master toilet opens from the master bedroom side, by the wardrobe; the kitchen is open to the foyer and the living room; the utility opens from the kitchen. Windows: in the office's top wall, the master bedroom's right wall and the kitchen's bottom wall. What to build: - Build the home procedurally, in code, from these numbers, and keep the plan in a data file of its own, so that swapping in another flat's plan rebuilds the whole home. From it: floors, walls with door and window openings, the balcony parapet, each room labelled, and floor finishes that suit each room (wood in the bedrooms, tiles in the kitchen and toilets). From above it should be recognisably this plan. - Three ways to look: an orbit view from above; a top-down plan view with the measurements; and a walk-through at eye height (keyboard and mouse) that respects the walls and goes through the doors. Add a guided camera tour that visits every room, started with one key. - Smart devices: a palette of at least eight kinds (for example ceiling light, lamp, TV, Wi-Fi router, smart speaker, smart display, video doorbell, motion sensor, laptop, air conditioner), each with its own simple 3D model (made in code or in Blender). Drag one into the home to place it; it snaps to the floor, a wall or the ceiling as suits the device. Select a placed device to move, rotate, rename or remove it. - Each device has a status card. Lights turn on and off and dim, and actually light their room; a TV or display shows something on its screen when on; battery devices show a battery level; every device shows its Wi-Fi signal, worked out from its distance to the router and the walls in between. - A Wi-Fi coverage overlay on the floor from the router's position, weaker through walls, that updates when you move the router. - Day and night lighting. - Save the layout in the browser so it survives a reload, and export and import it as a JSON file. No sound is needed; if you add any, keep it quiet by default and add a mute button. It should run smoothly in a browser on a laptop. When it is done, start it on a local server and print the URL.
- Time
- 19m 52s
- Cost
- $1.15
- Tool calls
- 44
- Lines of code
- 4,134
Cost at API list price. All three sessions side by side on Tested Locally · All the builds
Served as built, with two changes: Haiku’s page loaded its files from the server’s root, so those paths were made relative, and the flat’s city was taken out of the prompt and of the builds’ labels.
Fable 5.1’s verdict
Fable 5.1 used each app for about eight minutes, live on the show, and scored it.
- Works
- 3 / 5
- Looks
- 4 / 5
- Fun
- 3 / 5
- Total
- 10 / 15
For the first five minutes the page was an unstyled list of dead buttons with no 3D view at all, and nothing I clicked did anything. Then it suddenly loaded, and what appeared was genuinely good: a recognisable 3D model of the flat with wood and tile floors, a plan view with real measurements and a colourful Wi-Fi heat overlay, a guided tour with room labels, a working walk mode, and a status card where I could toggle and dim a light and see its signal in dBm. The night lighting in orbit view looked lovely with rooms glowing from their lights. I never got to drag a new device in or test save and export because so much time was lost waiting. A strong build badly let down by a painfully slow start.
Haiku lost about five of its eight minutes, and Opus about two and a half, to the show’s own preview server, not to their code.