MaxDevAi

All videos White House floor plan to 3D

White House floor plan to 3D

Everything from the MaxDevAi video: walk through the White House Claude Code built from the real survey drawings, copy every prompt, and download the whole workflow for your own floor plan.

Walk through the houseDownload the workflow (.zip, 22 KB)

Use it on your own floor plan

  1. Download the workflow and unzip it into your project as .claude/skills/floor-plan-to-3d/. Claude Code then knows the three rounds and the checks.
  2. Put a scan of your floor plan with its printed dimensions into assets/plan/, and later one photo per room into assets/photos/. Keep a second photo of a room outside the project: that's your honest check.
  3. Send the prompts in prompts/your-plan/, one round at a time. After round one, measure the rooms against the plan with the tools in measure/.

The ZIP has the skill, ready-to-fill prompts for your plan, the three prompts below, and the measuring tools I used in the video.

The three prompts from the video

Exactly as I sent them to Claude Code (Opus 5.5). Round three started a fresh session, so it introduces the folder again.

1 · Plan to 3D

Five scanned survey drawings, nothing else: read the plan exactly, build the outside from the elevations, and a free camera that never goes through walls.

word for word, as sent
Turn the real White House floor plan into a 3D White House you can fly through in the browser.

In assets/habs/ are the measured drawings from the Historic American Buildings Survey (Library of Congress): the State Floor plan and the north and south elevations, two halves each. They are big scans, about 17,700 px wide, measured in feet and inches.

Must have:
1. Read the plan exactly: every wall, door, window, fireplace and column of the State Floor where the drawing puts it, at the drawing's real scale.
2. The outside from the elevations: both porticos with their columns, the windows, the balustrade on the roof, and the ground floor below the State Floor.
3. A free camera: orbit around the house, walk through the rooms with WASD and the mouse, click a room to fly there. The camera never goes through walls.
4. Clean architecture for now: white walls and stone, good daylight, no furniture yet.

Rules: build only the main house, no East or West Wing, and only what the drawings show (no invented rooms, tunnels or security features; the upper floors only from outside). No downloads and no internet; three.js, vite and playwright are in node_modules. Use 1 unit = 1 meter, Y up, north = -Z, the State Floor at y = 0, and save the house as out/house.glb, loaded by index.html. When it runs, take screenshots from above and from outside, put them next to the drawings, and fix what doesn't match before you stop.

2 · Furnish it

One black-and-white photo per room. Colours from the room names, furniture where the photo puts it, no portraits or faces.

word for word, as sent
Now furnish it. In assets/photos/ is one HABS photograph of each of six State Floor rooms: the East Room, Green Room, Blue Room, Red Room, State Dining Room and Entrance Hall. They are black and white, so take the colours from the room names and from what you know about these rooms.

Must have:
1. Every room as it looks in its photo: floors, wall finishes, mouldings and ceilings, chandeliers, fireplaces, mirrors, curtains, rugs and the main furniture, in the right places.
2. The Entrance Hall and Cross Hall with their marble floor, columns and lights.
3. Light that feels like the photos: daylight through the windows and the chandeliers lit.
4. It still runs in the browser, and the free camera still works in every room.

Rules: paintings only as landscapes or still lifes, no portraits or faces; no seals, flags, emblems or inscriptions. Only what the photos, the drawings and what you know about these public rooms support. No downloads and no internet. Keep saving the house as out/house.glb, loaded by index.html. When it runs, take a screenshot in each room from the same spot and angle as its photo, put them side by side, and fix what doesn't match before you stop.

3 · Make it fast

Ship it like a pro: fewer draw calls, baked light, a smaller download, and every number measured before and after.

word for word, as sent
This folder holds a 3D White House you can fly through in the browser, built from the HABS drawings and furnished from six HABS photos; README.md explains how. Now make it fast to load and smooth to fly through, the way a professional would ship it.

Must have:
1. Fewer draw calls: everything that repeats (columns, windows, balusters, chairs, chandelier crystals) is instanced or merged.
2. Baked light: daylight and chandelier light baked into lightmaps, so every room looks lit from any angle without real-time shadows.
3. A smaller download: textures and geometry compressed with what is in node_modules (gltf-transform, sharp), so the page loads much faster.
4. The free camera keeps working everywhere: orbit, walk, click a room to fly there, never through a wall.

Measure before you change anything and again at the end, at 1920x1080: draw calls, triangles, download size in MB, texture memory, load time and frames per second on a fixed 20-second flight through the house. Write both sets of numbers to out/perf.json. The rooms must look at least as good as now: render the six photo views again and put each next to the current one. No downloads and no internet. Keep index.html loading the house from out/.

The house is Claude's round-three build. I changed two things only: room areas show in square feet, and the button above starts you in walk mode (WASD to walk, click to look around).

Drawings and photographs: Historic American Buildings Survey (HABS DC-37), National Park Service, via Library of Congress (public domain). Built with Claude Code (Opus 5.5) in November 2026.