Build an Interactive VORTA-01 3D Vacuum Showcase

Create a production-quality, single-file Three.js interactive product demonstration for the fictional VORTA-01 cordless stick vacuum. The prompt specifies the model, materials, animation, timeline, controls, sound, technical constraints, and validation checks

제너씨 | Ai 연출가•Ai 프롬프트 Republished on 0 Bookmarks 0 Copies
Bookmark 0

Example media

These files may include inputs, references, or generated results

Download video result 1

Prompt template

Usage instructions
Format
Code
Outputs
Single_file_interactive_3D_product_demo_webpage (code, html)
# VORTA-01 X-Ray Suction Showcase — Final Master Prompt (v5)

Create a production-quality interactive 3D product-demo webpage in Three.js, delivered as a single HTML file. Apply the blender-threejs-quality skill standard. The goal is to reproduce the complete final deliverable: a 30-second, home-shopping-style 3D demonstration page. This is not merely a rotating 3D model; the result must be polished enough to present to a client.

The fictional cordless stick vacuum “VORTA-01” cleans a wood floor. Show its casing becoming transparent in an X-ray sequence, with dust being sucked from the nozzle through the tube and cyclone into the dust bin, using the visual language of home-shopping cuts. Do not use real brands, existing product designs, or real logos. Label every on-screen numerical readout “Demo value.”

## 0. Role and goal

Act as a production 3D artist specializing in Three.js. Deliver a polished, client-ready, interactive 3D product demonstration that runs directly from a single HTML file.

## 1. Environment and technical requirements

- Pin `three@0.186.1`. Use a single HTML file with an import map from jsDelivr for `three/build/three.module.js` and `three/examples/jsm/`. Use WebGL2.
- Use 1 unit = 1 meter. Do not load external textures, HDR files, or audio files. Generate textures procedurally and synthesize sound in real time with Web Audio.
- Derive the cleaning path, suction particles, X-ray scan, and camera cuts deterministically from one global time value `T`. Timeline scrubbing must always give exact, repeatable results in either direction.
- Renderer: `antialias: false` (use composer MSAA), maximum pixel ratio 2 (1.5 on mobile), `outputColorSpace = SRGBColorSpace`, `PCFShadowMap`, and `localClippingEnabled = true` for section clipping.
- Show a loading overlay immediately, with a staged progress bar. Yield frames between heavy initialization tasks and use `compileAsync` for shaders. Display script errors and WebGL context loss in the interface.
- Do not use deprecated APIs: `outputEncoding`, `sRGBEncoding`, `physicallyCorrectLights`, `useLegacyLights`, `RGBELoader`, `PCFSoftShadowMap`, or `THREE.Clock` (use `THREE.Timer` instead). Do not load remote textures or HDR files.

## 2. Look

- Use a white commerce studio with background `#e8ebee` as the default look. Transition to a dark X-ray lab with background `#08121d` during X-ray sections.
- Use `NeutralToneMapping` to prioritize product-color accuracy and exposure 1.0.
- Studio fog: 9 m to 22 m. Since the camera pulls away with a 50 mm lens, set the start distance to 9 m.

## 3. Product model (real dimensions; bevels are mandatory)

### Modeling principles

- Do not non-uniformly scale unit cylinders or boxes; this creates sharp edges.
- Build the casing from profiles with real dimensions, using `LatheGeometry`, `ExtrudeGeometry`, rounded boxes, and capsules as appropriate.
- Add 1–14 mm fillets to edges.
- At component joints, model a parting-line groove directly into the profile: 0.8 mm wide and 0.5 mm deep.

### Coordinate system

- The vacuum’s local coordinate system is y-up; the head’s direction of travel is +x.
- The wand is inclined at 58° and is 0.62 m long. Neck position: `(-0.05, 0.075, 0)`.
- The body frame `BODY` has the end of the wand at its origin, with +Y along the wand axis.

### 3-1. Main body casing (dimensions measured along the body axis y)

Build these components:

- Suction coupling: radius 24 mm.
- Dust-bin base: radius 61 mm.
- Transparent dust bin: outer diameter 58.5 mm, inner diameter 56.2 mm (2.3 mm wall), y from 0.024 to 0.199 m, with a red MAX line ring.
- Cyclone cover: radius tapers from 61 to 59.8 mm; one parting line.
- Accent ring: anodized finish, 8 mm high.
- Motor housing: radius tapers from 58 to 52 mm, with a parting line and 18 intake slots on the front face.
- Filter cap: domed, with a 14 mm top fillet and 28 exhaust-grille slats.
- LCD on the top dome, radius 24.5 mm. Use a `CanvasTexture` to render the mode, battery ring, and dust-bin percentage, with a reflective cover-glass layer.
- Battery pack: `RoundedBox`, 50 × 170 × 74 mm, with an accent stripe and release button.
- Grip: capsule, radius 16.5 mm, with knurled rubber.
- Bridge: capsule, radius 13.2 mm.
- Trigger: accent color.
- Wordmark decal: “VORTA — 01” on a curved patch on the front of the cyclone cover.

### 3-2. Wand

Use a thick-walled tube: outer diameter 18 mm, inner diameter 15.5 mm, with chamfered ends. Add dark collars with parting lines at both ends and two internal copper power rails.

### 3-3. Head

- Extrude the side silhouette with a 4 mm bevel and 0.27 m width. The front is rounded, and the profile slopes back.
- Add a top accent panel, TPU bumper, swivel neck made from a capsule with left and right pivot pins, four screws, and four lathe-profile wheels with tire tread.
- Add a 222 mm LED light bar with HDR emission.
- Brush roll: core radius 11.5 mm; two helical rows of nylon bristles, 56 tufts per row, with a red accent every seventh tuft; add carbon-fiber strips and end caps.

### 3-4. Internal parts (visible in X-ray mode)

- Motor: six-pole stator coils, two end bells, shaft, two bearings, and 24 cooling fins.
- Impeller: hub and 11 blades at a 31° pitch. Show a blur disk while it spins.
- Cyclone: transparent central duct, perforated mesh shroud (`alphaMap`), cone manifold, and 14 small secondary cyclone cones below the tip.
- Filter: perforated pre-filter plate and 48 HEPA pleats.
- Battery: seven cylindrical cells (Ø17.6 × 64 mm), plus a BMS board and chip.
- Use `InstancedMesh` for repeated components. Update the brush roll and impeller each frame using the transform chain frame rotation × rotation × local matrix.

## 4. Materials (`MeshPhysicalMaterial` values; linear values unless specified)

General rules: every material needs roughness variation; do not use pure 0 or 1 colors. Only color maps are sRGB; roughness and normal maps are linear.

- Satin ABS casing: `#e7e9eb`; roughness map 0.40–0.52; fine stipple normal map, repeat 24, strength 0.045; clearcoat 0.35 / roughness 0.3; IOR 1.5.
- Anodized-aluminum wand: accent color; metalness 1; hairline roughness map tiled along its length, 0.28–0.40, with a smooth lengthwise direction; clearcoat 0.5 / roughness 0.1. Do not use anisotropy.
- Accent ring and trigger: metalness 1, roughness 0.34, clearcoat 0.5 / roughness 0.12.
- Soft-touch dark trim: `#2a2e33`, roughness 0.66, stipple normal strength 0.09, sheen 0.12.
- Grip rubber: linear value 0.024, diamond-knurl normal strength 0.55, roughness 0.82, sheen 0.1.
- TPU bumper: linear value 0.03, roughness 0.76.
- Polycarbonate dust bin: `#e9f2f5`, IOR 1.585, roughness 0.035, clearcoat 1, opacity 0.18, `DoubleSide`.
- Motor coils: copper `(0.955, 0.638, 0.538)`, roughness 0.3, enamel coat 0.8 / roughness 0.22, with winding normals.
- Internal aluminum: `(0.913, 0.922, 0.924)`, roughness 0.35.
- Chrome screws: metalness 1, roughness 0.14.
- HEPA paper: roughness 0.92, sheen 0.6.
- Battery cells: PVC wrap with clearcoat 0.6.
- Nylon bristles: sheen 0.3.
- Wood floor: follow the requirements below.

Do not use anisotropy: anisotropic GGX creates bright firefly dots along tube silhouettes. Represent hairlines using only the roughness map. Make the dust bin translucent rather than using transmission; dust particles rendered as transparent `Points` otherwise disappear from the refraction pass.

Wood floor: use `MeshPhysicalMaterial` and procedural planks 15 cm wide and 0.9–1.6 m long, staggered, with grain, knots, and seams. Vary roughness per plank and add a luminance-based grain normal at strength 0.15. Use clearcoat 0.14 / roughness 0.24; set the coat to 0 over dust.

Use four accent colors: Glacier Cyan `#1d9fb2`, Midnight `#2a3550`, Coral `#d9684f`, and Sage `#7f9c86`.

## 5. Environment lighting, lights, and shadows

Bake five emissive panels with `PMREMGenerator` and use the result as `scene.environment`:

- Top softbox: 8 × 3 m, intensity 3.0.
- Left strip: 0.8 × 5 m, intensity 2.2.
- Right strip: intensity 1.8, weaker than the left to preserve depth.
- Front fill: 5 × 1.6 m, intensity 0.8. Place it high so its angled floor reflection does not wash out the wood.
- Warm floor bounce: 14 m, intensity 0.35.

Set studio `environmentIntensity` to 1.0. Crossfade to a separate X-ray-lab PMREM made from a dark environment and cyan strips; vary intensity from 0.35 to 0.8.

Lights:

- Key light: intensity 2.3, follows the product. PCF shadow map 2048; shadow camera ±0.85 m (approximately 0.8 mm per texel); bias -0.0002, normal bias 0.008, radius 4.
- Rim light: intensity 0.9, from behind and above to separate the silhouette.
- Fill light: intensity 0.55.
- X-ray cyan rim: intensity 0.7, only in X-ray sections.
- LED grazing spotlight: intensity 0.1, angled across the floor to illuminate dust.

The wood floor receives the direct shadow. Add a contact-shadow decal beneath the head, with radial alpha and opacity 0.42, to preserve contact on mobile when GTAO is disabled.

## 6. Post-processing

Use this chain: HalfFloat + MSAA × 4 → `RenderPass` → `GTAOPass` (radius 6 cm, studio and desktop only) → firefly guard → `UnrealBloomPass` → `OutputPass`.

The firefly guard replaces NaN and Inf with 0 and clamps HDR values to 24.

Bloom thresholds:

- X-ray lab: 1.0, so only HDR emissions such as scan lines, airflow, and suction particles bloom.
- White studio: 3.2, preventing the white casing and metal highlights from washing out the image; only the LED at 4.0 should bloom.

Use `setViewOffset` to shift the lens upward by the height of the bottom control rail, preventing the interface from obscuring the subject.

## 7. Camera

- Product shots use FOV 27° (approximately 50 mm). Reduce perspective distortion by changing the lens while maintaining the same framing.
- Interior shots: 30–32°. Tube interior (FPV): 58°. Top-down: 40°. Near 0.008, far 60.
- Define shots in the vacuum’s local coordinates so the same angle is retained when the product turns around after a U-turn.
- Automatically increase camera distance on portrait screens using `portraitK`.
- `OrbitControls`: damping 0.07, polar angle ≤ 88°, no panning, distance 0.25–6 m. Dragging switches to free mode. In free mode, the camera follows product movement.
- Provide camera choices: Cinematic, Hero, Head, Tube, Cyclone, and Free.

## 8. Cleaning path and timeline (30 seconds; home-shopping hard cuts with a 0.16-second white flash)

### Path

- Advance along lane A (`z = +0.135`) from `x = -1.9` to `1.2`.
- Make a U-turn along a semicircle of radius 0.135 m. The travel angle is also the product’s rotation angle.
- Return along lane B (`z = -0.135`) from `x = 1.2` to `-1.6`.
- Travel distance `s(T)`: advance at 0.45 m/s from 0.15–7 s; U-turn at 0.27 m/s from 7–8.6 s; return at 0.4 m/s; move at 0.08 m/s during the internal demonstration from 10–25 s; move at 0.4 m/s from 25–27.5 s; then stop.

### Shots and captions

Use these ten sections, times, Korean captions, and camera shots:

1. **Cleaning begins, 0–4 s:** “지나가는 자리마다 원목 결이 다시 드러납니다” — 3/4 tracking shot, 50 mm.
2. **Floor close-up, 4–7 s:** “앞쪽 바닥엔 생활 먼지와 부스러기가 그대로” — 7 cm above the floor, macro dolly.
3. **U-turn, 7–10 s:** “끝에서 유턴해 바로 옆줄을 이어서 청소합니다” — world-fixed overhead view showing both lanes and the turn.
4. **X-ray view, 10–12 s:** “외피를 투시해 내부 구조를 들여다봅니다” — push in toward the head.
5. **Brush roll, 12–15 s:** “나선형 브러시가 바닥 틈의 먼지까지 쓸어 올립니다” — close 3/4 head shot.
6. **Suction tube, 15–18 s:** “빨아들인 먼지가 기류를 타고 튜브를 따라 올라갑니다” — tube interior view.
7. **Two-stage cyclone, 18–22 s:** “회오리로 먼지만 분리해 먼지통에 모읍니다” — 360° orbit around the body.
8. **Motor and filter, 22–25 s:** “걸러진 공기만 HEPA 필터를 지나 배출됩니다” — side close-up.
9. **Cleaning result, 25–28 s:** “유턴으로 이어 청소한 자리가 한눈에 보입니다” — top-down view centered on the U-shaped path.
10. **Pack shot, 28–30 s:** “VORTA-01 · X-ray 흡입 시연” — hero 3/4 shot, 50 mm.

X-ray: transition from 0 to 1 during 10–12 s, and from 1 to 0 during 25–26.2 s. Motor starts from 0–0.5 s and stops from 28.6–29.6 s. When looping, pause 2.4 seconds at the end, then restart from the beginning. Do not add a before-and-after split graphic.

## 9. Floor dust layer (shader; must be scrub-compatible)

Implement this in the wood material’s `onBeforeCompile`.

- Contaminated area: `x ±2.0 m`, `z ±0.86 m`. Combine a uniform gray dust film, mottled patches using three octaves of noise, and 1.5 mm sand specks. Dust color: linear 0.25–0.40; roughness over dust: 0.97 (matte).
- Compute the cleaned area uniformly from lane A’s progress endpoint `x`, the U-turn angle, and lane B’s progress endpoint `x`, covering the lane A ∪ semicircular U-turn ∪ lane B path. Remove dust there and restore the wood’s oiled finish.

## 10. Suction particles (deterministic state machine)

### Particle population

- Fine dust as `Points`: 19,000 particles (9,000 on mobile), size 0.7–2.2 mm. Use a varied household-dust palette: gray dust, light lint, sand, beige fibers, denim blue, rose, olive, and black particles.
- Crumbs as `InstancedMesh`: 1,500 (800 on mobile), size 0.8–3.4 mm. Use smooth-normal grains with perturbed vertices in ten colors: gray, sand, breadcrumbs, and pastel lint.
- Hairs and fibers: 36 strands (18 on mobile), 2.4 cm long and 0.32 mm thick, mostly gray and beige, with 15% black.

### Pickup time `tp`

Sample the head path at 20 ms intervals. Set `tp` to the first time a particle enters the head’s intake region: local `x` from -0.055 to +0.065 and `|z| < 0.135`.

### State flow

A particle on the floor is sucked into the nozzle over 0.16 seconds. Move it along a shared 0.62-second path: nozzle → beneath brush → neck → wand → top of duct. Keep turbulence inside the tube within an 11 mm radius.

- Heavy debris spreads outward and swirls before settling in the dust bin. Afterward, the contents continue to rotate throughout the bin at `ω 5.5 rad/s × √(0.03/r)`; they stop when the motor stops.
- Fine dust travels up the shroud, swirls in one of the 14 secondary cyclone cones, is captured, and disappears.
- Suction modes: Eco 0.65, Auto 1.0, Boost 1.5. Apply the mode to travel time, motor speed (62,000 / 96,000 / 125,000 rpm; demo values), and battery consumption.

### Dust-bin contents

- Maximum loading radius = inside diameter of the bin minus particle size. Compress hairs to 0.55× their size inside the bin so debris does not protrude through its walls.
- Set the dust-load mesh height to the loaded particle count divided by the total particle count.
- In studio mode, hide particles inside opaque tubes to prevent dots from leaking through the tube silhouette.
- For performance, record particles that are never sucked up only once, and calculate only suction targets each frame. Avoid all per-frame memory allocations to prevent garbage-collection stutters.

## 11. X-ray, airflow, and section clipping

- X-ray scan: in the casing material’s `onBeforeCompile`, discard points above the scan line as it moves from `y = 1.2` to `-0.03`. Fill the opened area with X-ray clone meshes sharing the same `instanceMatrix`: Fresnel rim 0.42, 1.2 cm grid, scan band, additive blending, double-sided. Pass an HDR cyan scan line along the boundary.
- Airflow: add arrow-pulse tubes along the wand centerline, from a cyan nozzle to a white motor. Add cyan ribbons from seven cones through the HEPA and out the exhaust grille. Scale the effect with X-ray intensity and motor power.
- During X-ray, highlight particles being sucked in with amber HDR at 2.4.
- Section slider: clip the half of the product on local +z. Update the plane in product orientation every frame so the same side remains open after a U-turn.

## 12. UI and HUD

### Layout and typography

- Fonts: Archivo 112 `wdth` for the product name, IBM Plex Sans KR for body text, and IBM Plex Mono for data.
- Use white panels with cyan accents in the studio and switch to dark panels in X-ray mode.
- Center a caption bar at the top with the section number and copy. At top right, show a sound panel and live readings for particles sucked up, motor rpm, dust-bin percentage, and battery percentage; label all readings “Demo value.”

### Callouts

Use leader lines projected from 3D anchors, with Korean/English labels for: brush roll, LED light bar, suction tube, dust bin, two-stage cyclone, high-speed motor, HEPA filter, and battery. Show callouts only during X-ray sections, using the appropriate set for each section.

### Bottom control rail

Provide play, replay, loop, and timeline scrubbing with ten section markers. Include suction mode (Eco/Auto/Boost), X-ray toggle, section cut, six camera choices, four accent colors, and recording mode.

Recording mode hides the interactive controls but keeps captions, labels, and the readout panel. Show 16:9 and 9:16 safe-frame guides; press Esc to exit.

Responsive requirements: support widths from 390 px, 16 px gutters, and safe areas. Hide the section list below 1280 px.

## 13. Sound (Web Audio; begin on the first user interaction)

Create “Clean Sweep,” a 118 BPM C-major track using C–G–Am–F. Change instrumentation by section (full groove, light, X-ray halftime with a 1.8 kHz low-pass, and ending). Add dotted-eighth delay and synthesized reverb.

Create a quiet motor sound from soft airflow (band-pass noise around 520 Hz), low hums (118 and 236 Hz), and a very faint whine at 2.6 kHz. Pitch should rise and fall at startup and shutdown; pitch and volume should vary by mode.

Do not add crackling suction sounds, scan sounds, cut whooshes, or UI click sounds. Provide separate BGM and motor volume controls. Stop audio when the tab is inactive, and isolate audio errors so they cannot stop the render loop.

## 14. Validation checklist (blender-threejs-quality §5)

- [ ] Scale is 1 unit = 1 m.
- [ ] Only color maps are sRGB; roughness and normal maps are linear; normal maps use the OpenGL (Y+) convention.
- [ ] Environment lighting, key light, rim light, grounding shadows, and contact shadows are present.
- [ ] Neutral tone mapping and exposure 1.0 are deliberate choices.
- [ ] All casing parts have bevels or fillets and parting lines.
- [ ] Every material has roughness variation; no pure 0 or 1 colors.
- [ ] No fireflies from anisotropy or clearcoat highlights (use the guard pass and omit anisotropy).
- [ ] Debris does not protrude through the dust bin or tube.
- [ ] Scrubbing produces the same floor, particles, and camera result for the same `T`.
- [ ] Pixel ratio ≤ 2, one shadow light, and no per-frame memory allocations.
- [ ] No deprecated APIs are used.

## 15. Output requirements

Return complete code that runs as-is. Put the target version and assumptions in a comment at the top. Add Korean comments next to important numerical values explaining why each value was chosen. At the end, present three additional quality upgrades with their performance costs:

1. Precompute and freeze the pack-shot shadow — low cost.
2. Replace the dust bin with a true refractive material and include the inner dust in refraction calculations — medium cost.
3. Refine the geometry in Blender and bake occlusion data for the web version — low cost in the web runtime, high production time.

What you'll create

Create an interactive 3D home-shopping-style demonstration of the fictional VORTA-01 cordless vacuum as it cleans a wood floor and reveals its internal airflow through an X-ray sequence. Deliver a runnable single HTML file with the specified modeling, animation, interface, audio, and validation features

Usage instructions

No user-provided assets are required: the specification calls for procedural textures and real-time synthesized audio, with no external texture, HDR, or audio files. Treat the numbered sections as implementation requirements, and check the deterministic timeline, responsive controls, performance constraints, and validation checklist before returning the runnable HTML. The required Korean comments and visible Korean captions are part of the requested deliverable; adjust only the specified user-facing controls, such as vacuum mode and accent color, without changing the fixed demo values

Frequently asked questions

Can I use a real vacuum brand or logo?

No. The product, design, and logo must remain fictional, and all displayed numerical readings must be labeled as demo values

Can viewers scrub or replay the demonstration?

Yes. The timeline must be deterministic in both directions, with replay, looping, and timeline scrubbing controls

What should the final response include besides the code?

Include three additional quality upgrades at the end, each with its performance cost

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each

More prompts from this author

View all

Visit 제너씨 | Ai 연출가•Ai 프롬프트’s profile for their full collection