kernel&chai
Subscribe
← Lab

lab · naksha 3d · live demo

A floor plan you can walk through.

Pick a home. Naksha 3D finds every wall, door and window, furnishes the rooms and builds it in 3D, right in your browser. How it works →

how it works

From a drawing to a home in three steps

01

Read the drawing

Rooms, sizes, doors and windows become clean data: rectangles on a 5 cm grid, measured wall-centre to wall-centre. An AI vision model can read a photo of a plan into this format.

02

Find every wall

Where two rooms touch there is an interior wall; where a room meets the outside, an exterior wall; a balcony edge gets a parapet. Doors and windows snap onto the nearest wall.

03

Furnish and light

Simple rules place a bed against a solid wall, a counter along the kitchen and a sofa facing the TV, leave room to walk in front of each piece, then walk the home from the front door to check every room can still be reached. The sun casts real shadows; walk mode switches to warm room lights.

Built with three.js and plain TypeScript: no game engine and about 19 KB of our own code (compressed). Floors are real scanned materials, loaded only for the rooms on screen, and the view stops drawing when nothing moves.

the newsletter

One explainer a week.

The week's video, written out properly, with sources. Nothing else. Unsubscribe in one click.

Watch on YouTube ↗