One prompt, an exploding product site from Claude Code: scroll and a camera splits into 14 parts, then rebuilds
A fictional camera site: scroll and the camera turns, explodes into 14 labelled parts and reassembles. Built in three.js by Claude Code. Full prompt.
Watch the reel on InstagramComment #拆解 to get this guide
This exploded view of a camera is not a picture. It is a website. Scroll down and the camera turns, then bursts out from the centre into 14 parts, each with a leader line, a name and a spec. Keep scrolling and it puts itself back together.
MUGUANG and the M35 camera are fictional. We gave Claude Code one prompt and changed nothing in the site, and every image below is a real screenshot of it. You get the prompt (swap the [ ] parts), the idea behind the exploded view, and how to turn it into your own product.
01The result first: scroll, and a camera comes apart and back together

- Home: the camera turns slowly beside an ink-black rounded info card.
- CREATE: the camera turns and zooms until the lens faces you, with a giant "CREATE" behind it.
- INSIDE: the parts fly out from the centre into an exploded view. Each of the 14 parts gets a line, a Chinese name and one line of specs.
- TOGETHER: the parts fly home and become one camera again.
- Ending: the page turns ink black, with a huge brand wordmark, a tagline and a small "fictional brand" note.
The whole site is 4 files: index.html, style.css, camera.js (the camera and the explode motion) and main.js (loader, scrolling, camera positions, labels and leader lines). On a 1440×880 screen the page is about 6,200 px tall. A small EXPLODE gauge in the bottom-right corner runs from 0.00 to 1.00 as you scroll.
02Step 1: paste this prompt into Claude Code
We used Claude Code because it creates the files on your computer, then opens a browser, takes screenshots and checks its own work. This run took about 21 minutes. It took its own screenshots and made its own fixes, and we gave no extra design instructions.
- Open Claude Code (terminal or desktop app).
- Make an empty folder and start Claude Code inside it.
- Paste the whole prompt below (swap the [ ] parts) and press Enter.
- When it finishes, run npx http-server in the folder, open the address it prints, and scroll.
Build a [camera] product website with three.js. As I scroll down, the [camera] "explodes" into parts and then reassembles. The brand is "[MUGUANG Optical]" (fictional, [Taipei]) and the product is the [M35 film camera]. 1. Build the whole [camera] from three.js geometry: [body, top plate, lens barrel, front element, lens group, aperture blades, shutter, viewfinder, advance lever, shutter button, film roll, back cover]… at least 12 parts, each one a separate, named mesh. No external models or images, and no real brand names or logos on the body. 2. Opening: a white loading screen where huge letters slide in, then the whole page turns [mustard yellow], the [camera] turns slowly on the right and an [ink-black] rounded info card sits on the left (product name, one tagline, three specs). 3. Drive the scroll with one explode value (0→1). Every part moves along its own direction "outward from the centre": Part one, the [camera] turns and zooms in on the [lens], with a giant "[CREATE]" in the background; Part two, all parts fly out into an exploded view with a giant "[INSIDE]" behind them, and each part gets a thin line, a name and one line of specs; Part three, the parts fly back into place, with a giant "[TOGETHER]" in the background. 4. Last section: a huge brand wordmark, one tagline and a small "fictional brand" note. 5. It should feel like an award-winning site: big type, rounded cards, small monospace text, thin lines. Use only [mustard yellow, ink black and cream].
- Claude Code — Works in the terminal, the desktop app and VS Code
- three.js — Free, open-source 3D library for the web
03Step 2: the exploded view runs on a single number
The most important line in the prompt is in point 3: "Drive the scroll with one explode value (0→1). Every part moves outward from the centre." 0 is the assembled camera and 1 is fully apart. The number moves exactly as far as you scroll, so scrolling back up puts the camera back together too.


The core Claude wrote is short. Each part remembers three things: where it lives (home), which way and how far it flies (ex), and how long it waits before leaving (delay). This is the piece of camera.js that actually runs:
// explode ∈ [0,1]; every part travels along its own outward direction (userData.ex)
function setExplode(e) {
for (const p of parts) {
const u = p.userData;
const k = ease(Math.min(1, Math.max(0, e * 1.35 - u.delay * 0.35)));
p.position.set(u.home.x + u.ex.x * k, u.home.y + u.ex.y * k, u.home.z + u.ex.z * k);
if (u.twist) p.rotation.z = u.twist * k;
}
}
- Wider or tighter explosion: tell Claude "multiply every part's explode distance by 1.3" or "by 0.8".
- Different order: say "the lens parts leave first and the body moves last", and it adjusts each part's delay.
- Hold the exploded view longer: say "after explode reaches 1, keep it for one more screen of scrolling before reassembling".
04Step 3: 14 parts, each with a name and a label

Point 1 of the prompt says "no external models or images", so there is no 3D model file. The camera is put together in code from basic three.js shapes. We asked for "at least 12 parts" and Claude made 14:
- Shell: body, top plate, base plate, back cover.
- Lens: barrel, lens group, front element, aperture blades (8 of them), shutter.
- Small parts on top: viewfinder, advance lever, shutter button, rewind knob.
- Inside: a roll of film, with a short strip of perforated leader pulled out.


The labels are not painted onto an image. On every frame the code works out where each part sits on screen and connects the line to it, so the lines follow the parts wherever they fly. The specs (six elements in four groups, stamped brass, ISO 400 and so on) were made up by Claude. They read as real, but all of it is demo data.
05Step 4: let it take its own screenshots and fix its own mistakes
A first version of a 3D scroll site almost always has something off. What matters is who finds it. Paste this after the prompt and Claude Code will take screenshots, look at them and fix what it sees:
When you finish, check your own work: - Open the site in headless Chrome (puppeteer), desktop [1440×880]. - Screenshot the loader, the home view, explode at 0.25, 0.5, 0.8 and 1, halfway through reassembly, and the ending. - Look at each one: does any part leave the frame? Do leader lines cross the body or each other? Do labels overlap other text? Is the big word hidden behind the camera? - Fix what is wrong, screenshot again, then tell me what you changed.
On this run it looked at its own screenshots and fixed all of these: the leader lines did not draw at all at first (their positions came out as not-a-number), the front element and shutter button left the frame mid-explosion, lines crossed the body, the tip of the advance lever came off its base, the viewfinder window was blown out to white, CREATE and TOGETHER were hidden behind the camera, the last G of MUGUANG was clipped, and the bottom labels ran into the caption pill in the bottom-left corner.


06Step 5: make it your own product

- Product and parts: replace "M35 film camera" and the parts list. A mechanical keyboard (keycaps, switches, plate, circuit board, case), headphones, a watch, a desk lamp or a coffee machine all work well.
- Brand and copy: change the brand name, city, tagline and three specs right in the prompt.
- The three big words: swap CREATE / INSIDE / TOGETHER for your own. English words of a similar length keep the layout steady.
- Colour: still give only three. One main colour, one dark, one light.
- Going live: upload the whole folder to any static host, such as GitHub Pages.
Keep the current layout, scrolling and the explode approach, and change the product to a [mechanical keyboard]. Parts: [keycaps, switches, plate, circuit board, foam, case, knob, USB-C port], each one still a separate, named mesh. Label every part with its name and one line of specs. I will give you the real specs later, so leave [ ] for now. Take screenshots and check it yourself when you finish.
- GitHub Pages — Host a site straight from a GitHub repository
07Good to know
- MUGUANG is a fictional brand and the M35 camera does not exist. The specs (35mm f/2, 1/500 s, 480 g), the part labels and "hand-assembled in Taipei" are demo data made up by Claude.
- The camera is a stylised model built from basic shapes, not a diagram of a real camera. Don't use the part positions as a repair or teardown reference.
- For a real product, put your own real specs on the labels. Specs written by AI look convincing, and on a product page they would be false claims.
- Keep the line "no real brand names or logos" in the prompt. If the product belongs to someone else, don't copy its shape or trademarks either.
- Claude Code needs a paid Claude plan (such as Pro or Max) or an API account.
- The site uses ES modules, so double-clicking index.html shows a blank page. Open it through a local server (npx http-server) or upload it to a host.
- We built and checked the desktop version only (1440×880). Ask Claude for a mobile layout before going live. 3D sites are also heavier than normal pages, so older phones may be slow.
- For this run we put three.js r160 and the font files in the folder first and asked it to use the local files. The two Chinese font files (Noto Sans TC Bold and Black) total about 35 MB, so ask Claude to subset them or convert them to WOFF2 before going live.
- Noto Sans TC, Inter, JetBrains Mono and Instrument Serif are under the SIL Open Font License, and three.js is MIT licensed. All can be used commercially.
- In the reel, the laptop and desk are an AI-generated image. The website on the screen is what Claude Code really built, and the screenshots in this article are the site itself.
- We made this in November 2026. The same prompt never produces exactly the same number of parts, shapes or layout twice.