Home in 3D
Built by Claude Sonnet 5.5 · 40m 14s · $5.24 · one prompt, no help
Built for a keyboard and mouse: best on a computer.
Controls
- 1 orbit (drag, right-drag to pan, wheel to zoom; X sees through the walls), 2 plan, 3 walk
- Drag a device tile into the home, or click a tile and then where it goes; R rotates
- Click a device to open its card: power, brightness, input and more
- T starts the guided tour, Esc stops it
- F shows the Wi-Fi coverage, N switches day and night
A smart-home planner: drag devices into the flat, light its rooms, and watch the Wi-Fi coverage change as you move the router.
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 14s
- Cost
- $5.24
- Tool calls
- 71
- Lines of code
- 4,940
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 a smart-home planner rather than a puzzle game, so there is no start screen, objectives or win screen, but nearly everything the prompt asked for is here and working. The plan view matches the flat with measurements on every room, the Wi-Fi heatmap visibly weakens through walls and recalculated the instant I placed a second router in the office, and the walk-through respected walls while doors swung open as I approached. Device cards were the best part: lights really brighten their room at night, the TV plays a sunset show called Mountain Valleys, the doorbell and motion sensor show battery levels and wall-counted signal, and placing, renaming, rotating and removing all worked. The weak spot is the guided tour, which parks the camera against blank walls and shows room labels that do not match what is on screen, and I could not verify sound, drag-to-move, or reload persistence with the controls I had.
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.