How to Make a 3D Website: From Model to Interaction
Build a 3D website in stages: define the experience, create the model, add useful controls and verify the final package. Follow the Yellow Crane Tower project from an architectural diorama to a connected open world.

Start with the experience, not the whole world
The Yellow Crane Tower project combines two views: an architectural diorama you can inspect and a surrounding world you can explore. It is a useful case study because the brief explains what each view is for.
The diorama answers “how is this building put together?” Visitors select floors and components, open a cutaway and read the associated details. The open-world view answers “where does it sit, and what happens around it?” Streets, residents and stories give the tower a wider setting. Both views use the same building as an anchor.
Do not treat the final project’s scope as the starting requirement for a first website. Its brief includes a city simulation, resident schedules and story outcomes. Begin with the tower and one useful interaction. Once that works, add the surrounding world as a separate stage.
Turn the idea into acceptance criteria
- The opening view makes the tower’s tiered eaves and main form recognisable.
- Selecting a floor reveals information about that floor, and the view can return to the whole model.
- Changing views preserves a clear relationship to the same tower.
- Controls work with the intended input methods, and the site records what has actually been tested.
Build a browser-based architectural diorama of Yellow Crane Tower. Start with the main tower, its terraces and forecourt. Let visitors orbit, select a floor and open a cutaway. Keep an Overview control visible. Treat stylised dimensions as illustrative rather than surveyed. Deliver the source and a record of what was tested.
Your first finished slice
A useful first milestone is not “the tower is rendered.” It is a complete small journey: the page opens, the reader recognises the tower, selects a floor, understands what changed and returns to the overview. That journey connects writing, geometry, camera and controls. Finishing it early exposes problems that another week of decorative modelling would not fix.
Write the journey as five plain sentences before choosing implementation details. What appears first? Which action is offered? What changes after the action? What text explains the change? How does the visitor return? Each sentence should correspond to something visible in the finished page. This gives an AI builder a much clearer target than a list of visual adjectives.
Work through the build in four passes
Make the tower recognisable before making it intricate
Start with a neutral material and a fixed opening camera. The roof overhangs, the rhythm of the floors and the relationship between the tower and its terrace should read at thumbnail size. If they do not, adding windows will only decorate the wrong proportions. A useful first review compares the overall mass from the front, side and a three-quarter angle.
Try this: Ask for the main tower and terrace only. Approve the shape before requesting interior decoration.
Give every selectable part an identity
Treat the model and the text as two views of the same selection. A floor identifier should resolve to a group of objects, a label and an explanation. When that identifier changes, highlight and text update together. This prevents a convincing model from becoming an interface in which the wrong floor is described.
Try this: Select two non-adjacent floors, then return to Overview. Check both geometry and labels each time.
Reveal a room without losing the building
A cutaway changes visibility; it does not have to dismantle the scene. Decide which pieces fade, which remain solid and which provide enough context to understand the room. Keep the selected floor anchored in the same building. The visitor should be able to explain where the revealed space belongs.
Try this: Open and close the same cutaway twice. Then change floors while it is open and inspect the result.
Finish the page around the model
A working scene still needs a loading state, a useful message when it cannot load, keyboard-accessible controls and an ordinary page that scrolls. Package the actual assets, then inspect the version a reader will open. Keep the scene’s status understandable even before the model appears.
Try this: Open a fresh session on a narrow viewport. Read the introduction, reach a control and return to the article without getting trapped in the canvas.
Build the silhouette before the interior
A model should remain recognisable before it has detailed materials, populated rooms or a city around it. In this project, the roof profile, projecting eaves and tiered structure carry that recognition.
The project brief asks the builder to study architectural form before fixing parameters. That order matters. Repeating a roof shape five times can produce a plausible tower, but the relationship between each level, its projecting bays and the terrace is what makes this particular building recognisable.
Separate parts by what the visitor can inspect
A selectable floor needs more than a visible label. Its columns, walls, roof elements and interior must be grouped so the interface can identify them consistently. The project’s technical summary describes a component registry for units that can be selected or faded. This gives the controls a stable set of objects to work with.
Keep model geometry and explanatory data linked. When a visitor selects the first floor, the label, camera target and visible interior should agree. Avoid a separate list of descriptions that merely happens to use the same names as the meshes; it is easy for those two lists to drift apart.
Keep sources and interpretation separate
The live project distinguishes records from diorama values in its detail panel. Follow that example when the model uses simplified or stylised measurements. A miniature scene can communicate form clearly without pretending to be a survey. Store the reference and licence next to any image or asset you use, so attribution is still available when the site is packaged.
Keep the tower divided into selectable floors and named component groups. Build the silhouette and terraces first, then the interior required by the cutaway. Link each visible label to the selected component. Mark schematic dimensions clearly and retain asset sources and licences.
- ActionUse Overview in the diorama view.
- What changesThe tower’s five storeys, roof profiles and surrounding terrace are readable together.
- Look hereFollow the repeated roof edges and vertical columns. These distinct levels are the groups that a floor cutaway must preserve.
Choose an asset strategy you can revise
There are two practical starting points: assemble a model from repeated shapes, or bring in a prepared model. Repeated floors, rails and roof elements make procedural construction attractive because one parameter can update many parts. An imported asset can save modelling time, but its objects may not be grouped around the interactions your page needs. Inspect that structure before building a floor selector around it.
For this tower, think in meaningful groups: a level, its roof, its columns and the interior revealed by a cutaway. Decorative parts can remain separate within those groups. The important boundary is the one your visitor can act on. If the interface selects “Floor 2,” the code should not need to guess which anonymous meshes belong to it.
Make selection and cutaways explain something
The most useful change from the full model to a cutaway is not the disappearance of a roof. It is the new information the visitor can see and understand.
In the captured cutaway, the first-floor hall, mural and stairs remain visible while the exterior becomes faint. The tighter framing keeps the architecture readable. The control changes to Close cutaway, making the current state visible. An Overview action provides a separate way to return to the larger scene.
Implement a small state model
Keep track of the selected floor, whether the cutaway is open and the current camera view. A floor change should update all three deliberately, rather than leaving the camera on one floor while the panel describes another. Closing a panel should also have a defined effect: does it clear selection, close the cutaway or only hide the text?
| Action | Visible result | Check |
|---|---|---|
| Select a floor | The floor is identified and its explanation appears. | The label and visible geometry refer to the same floor. |
| Open a cutaway | Covering geometry recedes and the interior becomes visible. | The visitor can still recognise the surrounding structure. |
| Choose a component | A detail panel explains the selected part. | The camera does not hide the part behind the panel. |
| Return to Overview | The whole model becomes readable again. | Selection and cutaway states do not leave pieces missing. |
Use native page controls where possible, with accessible labels for icon buttons. Orbiting a model is only one part of navigation: visitors also need to read the text, scroll the page and reach the same explanations without precise pointer movements.
- ActionSelect the first floor and open Cutaway.
- What changesThe interior hall, mural and stairs become visible through the faded exterior.
- Look hereCompare the solid interior with the faint exterior. The visible Close cutaway control restores the covering geometry.
Test the awkward route, not only the demo route
The ideal sequence is easy: choose a floor, open it and return home. Real visitors may orbit first, select another floor halfway through a transition, close the text panel or tap the same button twice. Decide which action takes priority. A new selection might cancel an older transition; repeated activation might do nothing. Either can work if the visible state remains coherent.
A practical state record can be small: current view, selected floor, cutaway open or closed, and whether a transition is running. Text panels should derive their content from that same selection. Avoid letting one button change the camera, another independently change visibility and a third remember an unrelated label. Those independent memories are how interfaces drift out of sync.
Make the canvas a good neighbour
A reader still needs to scroll the article. On touch screens, a large draggable canvas can consume the gesture the visitor intended for the page. Keep ordinary text and controls outside the canvas, provide named views that do not require precise dragging, and make the interactive area’s behaviour clear. Keyboard users should be able to reach the same selection and Overview actions even if free orbit remains a pointer interaction.
Add a world only after the building works
The surrounding city is a second experience with its own state, data and performance costs. It should extend the architectural model rather than obscure it.
The source brief asks for two views aligned around the main tower. The transition should preserve the tower’s screen position, size and angle closely enough that the visitor understands it is the same place. That is a concrete requirement you can test before adding residents, stories or a more elaborate visual transition.
The project’s technical summary reports 3,208 buildings and 500 residents with schedules. Those figures describe this project’s scope; they are not a target for a first 3D website. The transferable idea is that residents, story decisions and transported goods share state. A story outcome should change the world rather than trigger an unrelated animation.
Build the connection in three passes
- First place the tower, terrain and main approach so the two views have a common spatial reference.
- Next make view switching predictable. Test it after orbiting and zooming, not only from the default camera.
- Then add one small world interaction, such as following a resident or inspecting a place. Confirm its state survives the transitions you support.
Add a second view around the same tower. Match the tower’s position, apparent scale and orientation when switching views. Begin with terrain and the main approach. Keep the diorama controls independent from the world controls, and make returning to the architectural overview reliable.
- ActionChoose World from the view switch.
- What changesThe tower appears in its surrounding environment with exploration controls.
- Look hereTrace the forecourt from the tower toward the surrounding streets. This wider framing shows the setting that the diorama leaves out.
Give each mode one job
The diorama is for inspection; the surrounding world is for orientation and exploration. That distinction helps you decide which controls belong in each mode. Floor selection should not compete with world navigation, and a story panel should not hide the architectural detail the reader just selected. Keep the shared tower as the visual handover between the two experiences.
Before adding more buildings, test a round trip. Start with a floor selected, enter the world, move the camera, then return. Decide whether the diorama restores the selected floor or resets to Overview, and make the result consistent. The right choice depends on the experience; an accidental mixture of both is what makes a site feel unreliable.
Spend detail where the visitor can see it
A richer scene needs a rendering strategy, not just a larger model. The project’s technical notes describe several choices that keep the work tied to what is changing on screen.
Stop unnecessary work when the scene rests
The project uses on-demand rendering when the camera, transitions and clock are stationary. Input wakes the loop again. This has a direct review question: after pausing motion and leaving the scene alone, does it settle, and does the next interaction respond correctly? A scene with active time simulation needs a different idle condition from a static diorama.
Change detail with distance
Repeated architecture and distant characters do not need the same geometry as the object currently being inspected. The summary describes instanced meshes and near/far representations, plus shadows refreshed when needed. The reader-facing result should be continuity: details become clearer as the camera approaches without obvious popping or flicker.
Test the actions that are expensive
Do more than load the opening scene. Open an interior for the first time, switch views, zoom into detailed geometry, change lighting and return to a previous state. First-use work such as generating interiors or preparing materials can cause pauses that a screenshot never reveals.
| Test | Record | Then decide |
|---|---|---|
| Initial load | Device, connection, transfer size and wait until controls work. | Whether to reduce assets or improve loading feedback. |
| First cutaway | Delay when interior geometry first appears. | Whether to prepare the next state earlier. |
| View transition | Camera continuity and visible pauses. | Whether transition work needs to be simplified. |
| Idle and resume | Behaviour after pausing animation and resuming input. | Whether the render loop wakes and stops correctly. |
The supplied technical notes explicitly leave real touch devices and non-Chromium browsers unverified. Do not turn an untested requirement into a compatibility claim. Add those environments to your own release checks and record the actual result.
What feels wrong in the first build?
Separate loading from interaction
First identify whether the wait comes from transferring assets, decoding them or preparing the first scene. Keep the page title and explanation readable while that work happens. A loading message should describe progress or recovery, not leave the visitor staring at a blank canvas.
Try this: Reload in a fresh session, then repeat with cached assets. Record the difference before choosing a fix.
Check the transition’s starting state
A transition that always starts from a preset camera can jump after the visitor has orbited. Use the current view as the starting point and make a new action cancel or replace the old transition deliberately.
Try this: Orbit behind the tower, zoom in, choose another floor and return to Overview.
Reduce simultaneous choices
Move long explanations below the scene, preserve the primary action and keep secondary controls in a clearly labelled group. Shrinking every desktop panel makes all of them harder to use.
Try this: At a narrow width, select a floor and read its explanation without covering the selected geometry.
Package the site, then test the package
The project summary describes a single-file, offline deliverable with dependencies and assets bundled inside. That is a delivery choice, not a general property of every Three.js website.
A single file is easy to hand over, but it concentrates the download into one unit. The reported package is 15.2 MB and has no code splitting. For a public site, decide whether that trade-off serves your audience or whether separate, cacheable assets would be easier to load and update.
Test the actual form you promise. If the requirement is offline use, disconnect and open the final package; if it is a public URL, test the hosted build in a fresh session. A page working in a development environment does not prove either condition.
Before you share the build
0 of 5 checkedKeep the source project as well as the deployable output. The person making the next change needs to know where model parameters, interface state and asset references live. A finished screenshot is useful evidence; an editable project and a reproducible build are what let the work continue.
Define done in terms of a reader
A finished version lets a new visitor understand the subject, complete the primary action and recover from an unexpected state without your help. Ask someone who has not watched the build to describe what the cutaway reveals. If they can operate every button but cannot explain what they saw, the next improvement belongs in the camera, labels or writing—not necessarily in the model.
Keep a short handover note with the opening instructions, the tested environments and the remaining limitations. That makes the next revision more focused. When the site changes, repeat the same small journey before exploring every optional feature. It is the fastest way to notice that a visual improvement has broken the interaction people came to use.
Frequently asked questions
Answers to the questions that come up when turning these ideas into a working website.
Can I start with AI without knowing every part of Three.js?
Yes, but keep the first request small enough to inspect. Ask for one scene and one meaningful interaction, then review the behaviour and source before expanding the scope.
Do I need residents and a city simulation?
No. Those belong to this project’s open-world brief. A useful architectural website can stop at a model, floor selection and a cutaway.
Should I use a procedural model or import an asset?
Choose based on the structure and editing requirements. Repeated architectural parts can suit parameters and generated geometry; imported assets need suitable geometry, materials and redistribution rights.
Will a single HTML file work offline automatically?
No. Dependencies, textures, fonts and other resources must also be available offline. Test the final deliverable without a network connection if that is the promise.
How do I know the site is ready for mobile?
Test it on the target devices. A responsive control panel is only one part of the task; loading, touch input, memory use and rendering also need to be checked.
