Loading

← AI Library

An exploded axonometric from one 3D model

Pull the library model apart and turn it around. This is how to send one 3D model to an AI coding agent and get an exploded axonometric back as a motion diagram.

Format
Interactive
Tools
Claude Code · WebGL
Made
1 Dec 2026

How it’s madePrompt

How it’s made

You need one 3D model and an AI coding agent. An AI coding agent, such as Claude Code, reads files, writes code and runs it. With no model of your own, start from step 3 with the example model below.

  1. 01

    Group the 3D model, one group per layer

    Make a group of each part that should lift on its own (a layer) and name it. Name the groups in English with a number from the top, such as 01_ROOF and 02_FACADE. The example model has four: roof, facade, frame and book hall. Where a part needs its own color, such as glass or solar panels, give it a material of its own and name the material.

    A gray 3D model of the library with each of its four layers in a group
    The example model opened in Blender
  2. 02

    Export it as a GLB file

    SketchUp, Rhino 8 and Blender all export GLB.

    SketchUp
    File > Export > 3D Model, then choose GLB
    Rhino 8
    File > Export Selected, then choose GLB
    Blender
    File > Export > glTF 2.0
  3. 03

    Send the model and the prompt to an AI coding agent

    Open an AI coding agent in the folder that holds the GLB file and paste the first prompt below. Edit what is inside [ ] to match your model. Colors, light, labels and motion are already in the prompt, so there is nothing else to decide. The agent first reads the group names, the material names and the size of the model and lists them. If the size comes out in millimeters, ask it to convert to meters.

    See the prompt ↓

  4. 04

    Check it in the browser and ask for changes in words

    You get one HTML file. Open it in a browser and check the view before it comes apart and the view after. Ask for changes in plain words, such as: lift the roof higher.

  5. 05

    Export a video

    Send the second prompt below in the same conversation and the agent captures the frames one by one and joins them into an mp4. A screen recording works too.

Download the example 3D model

The library model, split into four layers with a group for each. GLB, 79 KB.

Three ways the diagram was refined

Three things the view above and the reel do.

  1. 01

    Light it from the whole sky

    One sun alone gives hard shadows. Split the sky into 64 directions and the sun into 24, draw the model once for each and average them. The lifted layers then cast soft shadows on the layers below and on the plaza.

    The exploded drawing under one sun, with hard shadow edges
    One sun
    The exploded drawing lit by the whole sky, with soft shadows
    64 sky directions + 24 around the sun

    Move the sun above ↑

  2. 02

    Give each layer its own step of blue

    Painted in one blue, the layers read as one mass. The roof is navy, the facade cobalt, the frame sky blue and the ground floor the palest. Each label takes its layer’s color.

    The exploded drawing with each layer in a different blue and a label of the same color
  3. 03

    Set every scene from one time

    The code draws a frame from the time t (seconds) alone. Check any moment as a still first, then capture a frame every 1/30 second and join them into a video.

    Five moments from the closed building to the roof, facade, frame and book hall coming apart

Prompt to reproduce it

A prompt to send to an AI coding agent together with the model file. Edit what is inside [ ] to match your model. It asks for three.js, a 3D library for the browser, because that is easier to follow. So it will not come out exactly like the view above.

Prompt to send with the model file

Make an animated exploded axonometric from the 3D model [library.glb] in this folder. Load three.js from a CDN at a pinned version. The result is one HTML file. Put the model file inside that HTML too, so that opening the one file is enough.

Model
- [A 24 × 12 m gabled neighborhood library. Units are meters. The glass wall faces south]
- The groups named [01_ROOF, 02_FACADE, 03_FRAME, 04_HALL] are the layers. The order written is the order they lift in, from the top. Use the group names for the labels, with a space in place of the underscore (for example 01 ROOF).
- First read the group names, the material names and the overall size of the model and show me the list. If the names differ from the ones above, use the closest ones and tell me which you chose.
- Do not change the shape of the model. Do not add members the model does not have.
- [The entrance is the face whose material is named door. It is in the south glass wall]

How to draw it
- An orthographic camera in isometric projection (30° axes), looking from above the [south-east]. [That is the side that shows the glass wall and the solar roof.] Fix the camera from the start so that every layer stays in the frame when the building is fully apart. Do not rotate or zoom it.
- Stand the building on a plaza. The plaza floor is at the height of the lowest point of the model. The plaza is 0.6 m above the street. Fill the surroundings densely with white massing boxes to make a city. Tall at the back (towers on low podiums), low toward the camera. One matte white material. No box may hide the building or the plaza.
- The light is a bright hemisphere light (HemisphereLight) and one weak direct light. Let the direct light’s shadows spread wide and soft.
- Do not use the model’s own colors. Paint only the building, in one family of blue, a different depth for each layer. [01 is navy (#14185A), 02 cobalt (#2B30E2), 03 sky blue (#9DBBFF) with thin navy (#14185A) outlines, and the floor of 04 pale blue (#DCE7FF).]
- Divide the colors further by material name. [solar_panel bright blue (#4F7BFF), glass and skylight pale blue (#E6EEFF), shelf cobalt (#2B30E2), table bright blue (#4F7BFF), stair_and_furniture navy (#14185A)]. Paint any material not listed here in its layer’s color. Colors may shift a little under the light.

Labels
- The font is monospace; lines and lettering are dark navy (#171B63).
- Put the layer labels in a column on the right of the frame. Fill each label’s background with its layer’s color. Use white lettering on the dark labels. Tie each label to its layer with a thin line.
- Put an ENTRANCE label on the plaza floor in front of the entrance. Leave it there when the facade lifts. Draw the way from the street to the entrance as a dashed line. Mark numbers in circles (1, 2, 3) along it.
- Draw trees on the plaza as thin lines only.
- Put a title and one line of dimensions at the top of the frame. The title is [NEIGHBORHOOD LIBRARY]. Fade the city to white where it overlaps the title and the dimensions.

Motion
- Write one function draw(t) so that the whole scene is set by the time t (seconds) alone. Expose window.draw and the total length window.DURATION (seconds).
- About 12 seconds in all. Hold the view before it comes apart for 1 second, then lift [01, 02, 03] one at a time, in that order. About 2 seconds per layer. Lift them far enough that no layer overlaps another on screen. Leave [04] where it is. A label appears when its layer stops.
- [In 04, everything whose material is not named floor is furniture. Hide the furniture at first. At the end it grows from zero height to its full height. When it is done, the 04 label appears.] Hold the last view for 2 seconds.
- Overlay a small play/pause button and a time bar along the bottom edge. Start paused. Pressing play runs it once and stops at the end.

Fix the frame at 1080 × 1920 (portrait) and scale it down to fit the window. The building and the city around it fill the frame from under the title to the very bottom. When it is done, capture the view before it comes apart (t = 0) and the fully exploded view (the end) and show me those first.

Follow-up prompt to export a video

Open this page with Playwright, call draw(t) every 1/30 second from 0 to DURATION and capture each frame, then join them with ffmpeg into a 30 fps mp4 (H.264, yuv420p). The frame is 1080 × 1920; hide the play button and the time bar while capturing.

Made by Planby with Claude Code. The library and the city around it are imaginary, and the design has had no structural calculation or code review. No AI-generated images.

Let's talk about AI for your team

We'll suggest the right products and how to adopt them.

We collect your name, company, work email, phone, department and role, plus visit data (page URL, referrer, UTM and time of visit) to see how you found us. We use it to respond and send materials, keep it for one year, then delete it.