跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

3D 爆炸视图产品展示是一个单页产品网站,围绕程序化生成的 Three.js 装配体构建,而非照片或下载的模型。默认案例展示 Korven Industrial 的 HX-42 斜齿轮减速箱。它适合工业营销人员、产品设计师、技术教育者和工程团队,用于解释机械产品如何装配在一起,而无需让访客打开 CAD 软件或观看长视频。

首屏将大型交互式减速箱置于简洁的产品定位、三个工程数据和直接控制项旁边。五阶段滚动序列依次打开外壳、释放轴、分离斜齿轮对,并最终呈现带标注的爆炸装配体。访客可以旋转模型、使外壳透明、应用实时剖切平面,并选择组件以阅读其材料、尺寸和功能。六秒播放控制可将爆炸状态反向还原为完整装配,支持暂停、重启、进度显示以及返回滚动控制。

在可视化下方,克制的工程注释、完整规格表和适用场景行赋予交互实用的上下文。Barlow Condensed 标题、Inter 正文、IBM Plex Mono 注释、石墨色表面、机加工金属色调和一种安全橙色点缀,构建出精确的编辑式系统,而不落入通用卡片网格的俗套。

所有产品几何体均在代码中由原始图元和自定义齿轮几何绘制;不下载任何图像、模型、HDRI 或纹理。模板使用 Vite、React、TypeScript、Three.js 和原生 CSS。五个变量控制品牌、产品、受众、主行动按钮和型号标识,单个内容文件保存部件数据和文案。另一个同轴扬声器驱动单元案例展示了同一交互模型如何服务于其他机械产品。成品网站是静态的、响应式的、键盘可访问的、触摸友好的,并尊重减少动态效果设置。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# 3D Exploded View Product Showcase

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build a one-page interactive product showcase for [BRAND]'s [PRODUCT] ([MODEL_ID]), aimed at [AUDIENCE]. The default is an original single-stage helical gearbox modeled entirely with Three.js primitives and custom BufferGeometry. A large assembled view leads into a five-step scroll-driven explosion; visitors can orbit, select labeled parts, make the housing transparent, apply a section cut, and play a six-second assembly sequence. When variable values change, keep the layout, interaction model, and visual system but redesign the procedural assembly, part data, engineering captions, specifications, and applications to fit the new [PRODUCT].

- Audience: [AUDIENCE], plus technical marketers, product designers, educators, and buyers who need to understand a mechanism before evaluating its specifications. The default copy speaks to mechanical design engineers without assuming access to CAD tools.
- Goal: Let visitors understand the product's construction, inspect every major component, compare its operating specifications, and replay the assembly order. The primary action, [PRIMARY_CTA], moves directly into the interactive assembly; a later action copies a clean specification summary to the clipboard without sending data anywhere.
- Tone: Precise, calm, engineered, and legible. Use short declarative copy and concrete sample engineering data. The page should feel like a carefully art-directed technical exhibit, not a science-fiction cockpit, gaming interface, or generic SaaS landing page.

## Stack
- Framework: Vite 6 + React 19 + TypeScript
- Styling: Vanilla CSS
- Libraries: three (MIT), lucide-react (ISC), @fontsource/barlow-condensed (OFL), @fontsource/inter (OFL), @fontsource/ibm-plex-mono (OFL)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Use Vite with React and TypeScript. Set base: './' and build.sourcemap: false in vite.config.ts; the production command must emit only static files to dist/. Do not substitute another framework, renderer, styling system, or state library.
  - Install and import three, lucide-react, and the three listed Fontsource packages locally. Import OrbitControls and RoomEnvironment from three/examples/jsm; use PMREMGenerator with RoomEnvironment for metallic reflections instead of downloading an HDRI.
  - Create src/content.ts as the single source for resolved variable values, navigation labels, headlines, assembly steps, part names, exploded offsets, part specifications, engineering notes, applications, and footer copy. Include the default [BRAND], [PRODUCT], [AUDIENCE], [PRIMARY_CTA], and [MODEL_ID] values there, rewrite all product-specific content when those values change, and never leave square-bracket variable tokens visible in the rendered site.
  - Create separate scene modules for geometry, materials, camera, labels, clipping, selection, and playback. Build the default gearbox from original box, cylinder, torus, shaft, bearing, seal, and custom helical-tooth BufferGeometry parts; use a stylized involute-like tooth profile with 18 teeth on the pinion and 63 on the gear. Do not load a model or reuse a commercial gearbox design.
  - Use MeshStandardMaterial for machined steel and aluminum, a neutral procedural environment, one broad key directional light, a cooler rim light, and a soft code-generated contact-shadow plane. Enable renderer.localClippingEnabled, antialiasing, and alpha; cap pixel ratio at 1.75 on desktop and 1.4 on mobile. Pause requestAnimationFrame work while a scene is outside the viewport.
  - Keep one shared assembly state in React: scrollProgress, selectedPart, housingTransparent, sectionCut, playbackProgress, playbackStatus, and controlMode. Derive every mesh position and label from the same keyframe data so scrolling, selection, and playback cannot disagree. Use direct interpolation rather than a physics engine or an additional animation dependency.
  - Create a reusable GearboxScene component for the hero and the pinned assembly stage. Share geometry and material definitions, render only the visible instance, and provide a static inline SVG technical drawing as a no-WebGL fallback with the part list and specifications still usable.
  - Use Lucide icons only for Rotate3D, Layers3, Slice, Play, Pause, RotateCcw, X, ChevronRight, Copy, Check, Menu, and ArrowDown. Give every icon button an accessible text label and use 44px minimum touch targets.
  - Centralize responsive rules and keyframes in src/styles.css. Support 1440×900 and 390×844 without horizontal overflow or console errors, include keyboard focus styles and a print stylesheet for the specification table, and implement prefers-reduced-motion by removing idle movement and automatic playback while retaining instant state changes and manual controls.

## Variables
- [BRAND] — Brand (default: "Korven Industrial"). Invented manufacturer or product studio name used in the header, hero, specification summary, and footer.
- [PRODUCT] — Product (default: "Helical Gearbox"). A mechanical assembly that can be modeled from code and separated into 6–10 meaningful components.
- [AUDIENCE] — Audience (default: "mechanical design engineers"). Lowercase descriptive audience phrase that fits naturally after for in the hero copy.
- [PRIMARY_CTA] — Primary action (default: "Explore the assembly"). Short button label that scrolls to the assembly section and remains suitable for the selected product.
- [MODEL_ID] — Model identifier (default: "HX-42"). Short invented alphanumeric identifier used in technical labels and the copied specification summary.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/3d-exploded-view-product-showcase in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

Pro 模板

解锁完整提示词和源码

  • 完整提示词:设计、版块、动效、素材
  • 每个在线演示的源码
  • 商用授权

在线演示和 DESIGN.md 仍然免费。

$9/月起 · 年付和终身正在上线特惠

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "3D Exploded View Product Showcase"
colors:
  carbon: "#0B0D0E"
  graphite: "#131719"
  raised_steel: "#1B2023"
  bone_white: "#F1F0EA"
  cool_gray: "#9AA3A5"
  machined_line: "#30383B"
  safety_orange: "#F26A2E"
  satin_aluminum: "#BBC2C0"
  gunmetal: "#586165"
typography:
  display_and_section_headings: { family: "Barlow Condensed", weights: [500, 600, 700] }
  body_buttons_and_specification_values: { family: "Inter", weights: [400, 500, 600] }
  eyebrows_model_ids_dimensions_part_labels_and_transport_readouts: { family: "IBM Plex Mono", weights: [400, 500] }
spacing: "Use an 8px base unit, a maximum content width of 1520px, 32px desktop gutters, and 20px mobile gutters. Desktop section padding is 128px 0; mobile is 80px 0. Use a 12-column desktop grid with 24px gaps. Keep body measure between 52 and 68 characters, control gaps at 8–12px, and table-cell padding at 18px 0."
radius: "Use 2px on buttons and inputs, 6px on inspectors and scene panels, and no rounding on major sections or specification rows. Reserve circles for status indicators and transport icon buttons."
---

# 3D Exploded View Product Showcase — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Carbon** `#0B0D0E` — Page background and the darkest canvas clear color.
- **Graphite** `#131719` — Header, inspector, and specification-row surfaces.
- **Raised steel** `#1B2023` — Control groups, hover states, and subtle scene panels.
- **Bone white** `#F1F0EA` — Primary headings, important values, and high-contrast copy.
- **Cool gray** `#9AA3A5` — Secondary copy and inactive labels; never use for text smaller than 13px.
- **Machined line** `#30383B` — Hairline borders, construction grid, table rules, and leader lines.
- **Safety orange** `#F26A2E` — Active step, selected part, primary button, focus outline, and playback progress only.
- **Satin aluminum** `#BBC2C0` — Three.js housing and machined aluminum components, with darker variants for depth.
- **Gunmetal** `#586165` — Three.js shafts, fasteners, and secondary metal surfaces.

## Typography
- **Display and section headings** — Barlow Condensed (OFL), weights 500/600/700. Self-host the font files.
- **Body, buttons, and specification values** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Eyebrows, model IDs, dimensions, part labels, and transport readouts** — IBM Plex Mono (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: Use an 8px base unit, a maximum content width of 1520px, 32px desktop gutters, and 20px mobile gutters. Desktop section padding is 128px 0; mobile is 80px 0. Use a 12-column desktop grid with 24px gaps. Keep body measure between 52 and 68 characters, control gaps at 8–12px, and table-cell padding at 18px 0.
- Radius: Use 2px on buttons and inputs, 6px on inspectors and scene panels, and no rounding on major sections or specification rows. Reserve circles for status indicators and transport icon buttons.

## Motion
- On hero entry, fade the copy upward by 16px over 450ms and ease the assembled model from scale 0.96 and opacity 0 to its final state over 600ms. After entry, use only a restrained ±4° idle yaw over 12 seconds; stop it on interaction and when reduced motion is requested.
- Drive the explosion directly from normalized scroll progress through five explicit keyframes. Interpolate each part's position, rotation, opacity, and label visibility from its own keyframe record; do not use time-based triggers that can drift from the visitor's scroll position.
- Enable OrbitControls damping at 0.08 on desktop with zoom limited to 0.72×–1.8× of the default camera distance and polar angle limited to 20°–105°. Reset view returns camera, target, selection, and clipping to their defaults over 250ms.
- Assembly playback starts fully exploded and assembles over exactly 6000ms with smoothstep easing per part, a 120ms stagger by assembly order, a progressing orange track, and a numeric 0–100% readout. Pause preserves the exact frame; Restart returns to 0%; Return to scroll restores the scroll-derived state.
- Part selection pauses playback, eases the camera target toward the selected component over 300ms, highlights only that mesh in safety orange, and opens the inspector. Closing the inspector restores the prior camera target and playback or scroll state.
- Buttons, disclosure panels, labels, and specification-copy confirmation use 160ms opacity and 2–4px transform transitions. Avoid decorative particles, glitch effects, constant spinning gears, large parallax backgrounds, and gratuitous page transitions.
- For prefers-reduced-motion, remove idle yaw, smoothing, camera flights, and automatic playback. Scroll and the manual progress slider update to discrete keyframe states instantly, and all content remains available without animation.

## Imagery
The only hero visual is an original, high-craft procedural Three.js [PRODUCT], shown large with physically shaded metal, a subtle construction grid, fine dimension marks, and a soft contact shadow. The default gearbox must be recognizably mechanical at first glance, with two parallel shafts, visible helical teeth, bearing races, housing halves, fasteners, and seals. No photographs, AI-generated images, downloaded 3D models, HDRIs, texture maps, logos, people, or branded objects are used. HTML labels and an SVG leader-line overlay track projected 3D anchors; Lucide supplies only interface icons.

## Tone
Precise, calm, engineered, and legible. Use short declarative copy and concrete sample engineering data. The page should feel like a carefully art-directed technical exhibit, not a science-fiction cockpit, gaming interface, or generic SaaS landing page.

---
Inspired by 3D Exploded View Product Showcase — https://www.kimi.com/showcases/3dmake
— Prompt by VibeFather · https://vibefather.ai/t/3d-exploded-view-product-showcase · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 机床制造商:将 BRAND 和 MODEL_ID 设置为您的主轴单元,重写轴承、外壳和轴的部件列表,并保留剖切以展示内部冷却路径。
  • 技术教育者:将 PRODUCT 设置为教学机构,将 AUDIENCE 设置为学生,并将工程注释重写为每个部件功能的简短说明。
  • 机器人初创公司:将减速箱装配替换为关节、电机和编码器组件,将 PRIMARY_CTA 指向爆炸视图,并保留规格表以展示扭矩数据。
  • 音频硬件品牌:参考同轴扬声器驱动单元案例,将 PRODUCT 设置为您的驱动单元,并重写磁体、音圈和振膜的部件数据。

3D 爆炸视图产品展示:常见问题

在 3D 爆炸视图产品展示中,如何将减速箱换成我自己的产品?

3D 爆炸视图产品展示在代码中由原始图元构建几何体,因此更换产品意味着重写程序化装配、部件数据、爆炸偏移、工程说明、规格和应用场景(均在单个内容文件中),然后设置 BRAND、PRODUCT、AUDIENCE、MODEL_ID 和 PRIMARY_CTA。布局、五阶段滚动爆炸、选择、透明、剖切和六秒播放保持不变。

在 3D 爆炸视图产品展示中,访客实际能用 3D 模型做什么?

在 3D 爆炸视图产品展示中,五阶段滚动序列依次打开外壳、释放轴、分离齿轮对,并最终呈现带标注的爆炸装配体。访客可以环绕模型、切换外壳透明、应用实时剖切平面、选择组件以阅读材料、尺寸和功能,并使用六秒播放控制将爆炸状态反向还原为完整装配,支持暂停、重启和进度显示。

如果访客的浏览器无法渲染 WebGL,3D 爆炸视图产品展示会怎样?

3D 爆炸视图产品展示包含一个静态内联 SVG 技术图作为无 WebGL 回退方案,因此即使交互场景无法运行,部件列表和规格表仍可阅读。模板还尊重减少动态效果设置,移除空闲运动和自动播放,同时保留即时状态变化和手动控制,并在场景离开视口时暂停渲染。

怎么用 AI 做一个3D 爆炸视图产品展示?

复制本页的完整提示词(Pro),或者运行 npx vibefather add 3d-exploded-view-product-showcase,把 [BRAND]、[PRODUCT]、[AUDIENCE]、[MODEL_ID] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。

3D 爆炸视图产品展示模板的演示是哪个 AI 模型做的?

演示由 Kimi K3.1 Pro 在 Kimi Code 里完成;另一个案例由 DeepSeek V4.1 Flash 在 DeepSeek Harness 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。