Home in 3D · Smart device planner

Built by Claude Opus 5.5 · 40m 00s · $9.41 · one prompt, no help

Built for a keyboard and mouse: best on a computer.

Controls

  • 1, 2, 3: orbit, plan with measurements, walk-through
  • Drag a device in from the palette, or click it and then click in the home; click a placed device for its card
  • W A S D or arrows and drag to walk and look, Q and E turn, Shift faster
  • T: guided tour of every room
  • N day and night, C Wi-Fi coverage; R rotates, Del removes, Esc deselects

A smart-device planner for the flat with orbit, plan and walk views, live device cards and a Wi-Fi coverage overlay.

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
40m 00s
Cost
$9.41
Tool calls
86
Lines of code
3,731

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
4 / 5
Looks
4 / 5
Fun
4 / 5
Total
12 / 15

This is not a game with puzzles or a win screen; it is the smart-home planner the prompt asked for, and most of it works. The flat matches the floor plan in orbit and plan views, with room labels, metre dimensions, wood and tile floors, and a Wi-Fi heatmap that fades through walls and recomputed when I dropped a second router. Device cards are solid: the TV showed a nature channel when powered on, a ceiling light visibly darkened the corridor at night, and the speaker and router cards reported signal with wall counts. The worst part was a loading screen stuck on "Building the home..." for about two and a half minutes before anything appeared, and in walk mode I seemed to pass from the living room straight into the office with no door, while the tour caption once said Master Toilet while the camera was in the office. Nice looking, mostly functional, and genuinely pleasant to poke around in once it loads.

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.