Mechanical watch exploded view, three.js web demo
- Product
- 3D
- Cinematic
- Realistic
- Multi-shot
- 0
- views
- 0
- copies
- Likes
- 0
- Views
- 0
- Copies
- 0
- Saved
- 0
- Model
- Seedance 2.5
- Mode
- Text to video
- Duration
- 17 s
- Resolution
- 1080p
- Format
- 16:9
- Audio
- On
Help me write a single-file HTML webpage using three.js: a realistic mechanical watch that can be rotated by dragging with the mouse, and an exploded view where dragging a slider disassembles it layer by layer along the watch axis. Each part has Chinese labels and a one-sentence functional description beside it. The movement continues to run after disassembly, and dragging it back reassembles it to its original state. The image quality should be premium, like a watch brand's product film, with no cartoon feel. 【Technical Requirements】 - three.js (ES module + importmap), later use EffectComposer: RenderPass → BokehPass (depth of field) → UnrealBloomPass (make only highlights glow a bit, increase threshold) → OutputPass → SMAAPass. - Ambient lighting using Poly Haven's free studio HDRI (such as studio_small_09, CC0, store locally), read with HDRLoader as FloatType. After loading, perform contrast processing on the HDRI: compress shadows, preserve highlights, so stainless steel shows "dark background + bright streaks" premium reflections without looking dull. - Tone mapping ACES Filmic, exposure 0.85; one warm main light with shadows (front upper left), one cool rim light (rear right), one very weak fill light. - Background is a dark radial gradient (center #24272c to surrounding near-black), add a bit of noise to prevent banding. - Chinese font uses Noto Sans CJK SC, English small text and dial Roman numerals use Cormorant Garamond. 【Materials】 - Case, bezel, crown: MeshPhysicalMaterial, metallic 1, polished parts roughness ~0.1; case side use brushed finish (anisotropy 0.8, roughness 0.3). - Crystal and caseback glass (sapphire): black, roughness 0.02, IOR 1.77, additive blending (AdditiveBlending), no depth write, so only Fresnel reflections stack, clean and transparent; overlay a very light dark transparent layer. - Dial: silver-white, center use Canvas-generated "grain texture" twisted rope texture normal map (height = sin(angle×72 + 5.5×sin(radius×58))), outer ring is railway minute markers and Roman numeral hour indices, 6 o'clock position one line of small text "MÉCANIQUE / 28 800 A/h". - Hands: Breguet-style "apple hands" (hollow circular ring near the hand tip), blued steel (deep blue metal, with lacquer); seconds hand is thin and long with circular counterweight. - Main plate: deep gray ruthenium color metal, use Canvas-drawn pearl texture (overlapping rows of polishing marks circles) as normal map. - Gears: golden metal (roughness ~0.2), small gear pivots are bright steel color; ruby jewel bearings are ruby red (with lacquer and slight self-emission, combined with bloom for sparkle), surrounded by a gold bearing plate; screws are blued with slot heads. 【Modeling (all procedurally generated, units in millimeters, dial diameter 40)】 - Case: use LatheGeometry to revolve the mid-case profile, four rounded case lugs (RoundedBoxGeometry), one crown at 3 o'clock with anti-slip teeth (gear-shaped cross-section extrude) plus crown tube. - Bezel, domed crystal, dial, transparent caseback (outer steel ring + sapphire window + 6 screws) all use revolve or cylinder. - Gears: write a function that generates a Shape with round-tooth profiles based on tooth count and radius, excavate 4-5 wheel spokes in the middle, ExtrudeGeometry extrude and add slight bevels; each wheel paired with a small gear pivot and wheel axle. - Gear train arranged per real structure and meshing with each other: mainspring barrel (84 teeth) → center wheel (80 teeth, one rotation per hour, drives minute hand) → third wheel (75 teeth) → fourth wheel (96 teeth, one rotation per minute) → escapement wheel (15 teeth, bar-shaped teeth). - Mainspring barrel made as open-top, inside is an Archimedean spiral strip ~9 turns (mainspring). - Escapement fork: a lever, one end is fork pallet facing the balance wheel, other end two arms each inset a ruby pallet stone, locking into escapement wheel teeth. - Balance wheel: golden three-arm balance wheel ~9mm diameter, 16 small screws around outer rim, pivot pin, disk and red disk pin in middle; below balance wheel one flat spiral hairspring ~10 turns (use strip mesh, update vertices each frame). - Each pivot position on main plate has ruby jewel bearing, nearby several blued screws. 【Movement Motion (follow real ratios)】 - Movement frequency 28800 beats/hour: balance wheel 4Hz, amplitude ±270°, angle = 270°×sin(2π×4×t). - Each time balance wheel passes center point (8 times per second) is one beat: escapement fork swings from one side to the other at this instant (~±8°), escapement wheel advances half a tooth (~12°) at this instant, locked the rest of the time, so escapement wheel jumps step by step. - Other wheels calculated from escapement wheel's cumulative angle by gear ratios: fourth wheel = escapement wheel ÷16, third wheel = fourth wheel ÷7.5, center wheel = third wheel ÷8, mainspring barrel = center wheel ×10/84; adjacent meshing wheels rotate opposite directions. - Seconds hand follows fourth wheel (advances in 8 small steps per second), minute hand follows center wheel, hour hand ÷12 again; initial time 10:09:30. - Hairspring: inner end rotates with balance wheel, outer end fixed, intermediate turns interpolate rotation angle proportionally, when swinging the entire hairspring expands and contracts. - Provide movement speed switching on the page: real speed / 1/4 / 1/10 (slow-motion lets you see balance wheel clearly). 【Disassembly (Exploded View)】 - Disassemble into 10 layers along watch axis, case stays in middle: sapphire crystal, bezel, hour/minute/seconds hands, dial, case, main plate, mainspring barrel + gear train, escapement wheel + escapement fork, balance wheel hairspring, transparent caseback. - Before disassembly, stand watch upright (12 o'clock up), rotate watch axis to horizontal, parts array spreads horizontally left to right filling 16:9 frame: dial side on left, caseback on right. Camera views from oblique front ~35-40°, use long focal length (FOV ~20) to reduce perspective distortion, so each part shows its front. - Spacing between layers determined by part size, not equal: wider gap between case and main plate, spread out between gear train, escapement, balance wheel, ensure small parts not hidden by large parts; when gear train, escapement, balance wheel disassemble, also shift to watch axis center, not to one side. - When disassembling, layers stagger sequentially (from outermost layer), use easing curve, not all pop at once; disassembled parts continue rotating. - Drag slider or mouse wheel to control disassembly degree, OrbitControls drag to rotate (disable zoom and pan), camera auto-pulls back as disassembly increases. 【Annotations】 - Use HTML overlay + SVG leader lines: annotations alternate upper and lower for each part, small gold dot at part edge, thin gold line connects to annotation; annotations in same row auto-offset left/right not to overlap, fade in only when part disassembled 60%+, auto-hide when off-screen. - Annotation content (Chinese name plus one-sentence function, small English name in front): Sapphire Crystal: Mohs hardness 9, very hard to scratch, protects the dial Bezel: holds crystal in place, works with gasket to block dust and moisture Hour · Minute · Seconds Hands: driven by gear train, seconds hand advances 8 steps per second Twisted Rope Dial: fine lines cut by machine, shifts light as it turns Case: polished stainless steel, crown on side winds the mainspring Main Plate: foundation of movement, red dots are synthetic ruby jewel bearings Mainspring Barrel + Gear Train: coiled mainspring is sole power, gears step down speed progressively Escapement Wheel + Escapement Fork: cuts mainspring force into rhythmic "tick-tock" Balance Wheel Hairspring: oscillates 4 times per second, heartbeat of watch, controls rate Transparent Caseback: sapphire caseback, see movement running from the back 【Demo Animation (add a "Play Demo" button, 17.5 seconds, design for 16:9 widescreen 1920×1080)】 - 0~2.6 seconds: watch flips over back-side up, camera close to balance wheel in macro detail, shallow depth of field, movement at 1/10 slow-motion, large text above "Heartbeat of a Mechanical Watch", small text "Balance Wheel · Oscillates 4 times per second". - 2.6~6.6 seconds: camera pulls back, caseback falls down from above and closes, watch slowly flips back to face-up (flip takes ~2.7 seconds ease-in-out, side facing camera passes quickly), slow-motion transitions to 1/4, text appears "One webpage, can rotate and disassemble". - 6.6~10.8 seconds: watch stands upright, simultaneously disassembles layer by layer horizontally, camera pulls back to see entire part array, annotations appear sequentially above and below parts. - 10.8~14.2 seconds: pause one second viewing full perspective, then camera pushes in on gear train, escapement, balance wheel section, lets gears, escapement fork, balance wheel get big enough to see how they mesh, all parts moving. - 14.2~16.9 seconds: annotations fade out, camera pulls back to full view, parts reassemble in reverse order; after crystal returns, camera rotates to oblique front, stops on watch front close-up, text appears "What would you like to disassemble next?". Camera must not pass through part centers. - Small text at bottom right always displays current slow-motion multiplier. Please provide complete runnable code (index.html + local three.js and HDRI files), and explain clearly how to open with local server (e.g., python3 -m http.server).
About this prompt
A three.js webpage showing a realistic mechanical watch in premium product-film styling. Users can drag to rotate it, slide to disassemble it into ten labeled layers with Chinese annotations, and watch the movement keep running in real time or slow motion. A 17.5-second scripted demo covers the flip, exploded view, and reassembly. Useful as a reference for interactive product visualization or procedural 3D mechanism modeling.
Prompt breakdown
Click a part to highlight it in the promptTap a part to highlight it in the prompt
How to use this prompt
Three steps from this page to your own video.
- PROMPTTranslateSaveCopiedHelp me write a single-file HTML webpage using three.js: a realistic mechanical watch that can be rotated by dragging with the mouse, and an exploded view…01
Copy the prompt
Copy the text as it is, timings and the sound line included.

Seedance 2.5ModeText to videoDuration17 sResolution1080pFormat16:9
02Match the settings
Open Seedance 2.5 on a platform that offers it and use the same settings: text to video, 17 s, 1080p, 16:9, audio on.
- Studio · Make it yoursSame scene, but with my own subject and coloursWrite my prompt



























