I will list the files in the project to understand the structure and see what dependencies or components are available.
I will check package.json to see what libraries (like Three.js, React Three Fiber, Lucide, Framer Motion, Tailwind, etc.) are already installed.
I will now install the necessary dependencies for our high-end 3D guitar showcase:
three, @types/three, @react-three/fiber, @react-three/drei for 3D modeling, smooth orbital controls, lighting studios, and interactive materials.
framer-motion for fluid animations, smooth UI transitions, and apple-grade layout morphing.
lucide-react for premium luxury iconography.
canvas-confetti, @types/canvas-confetti for celebratory effects in custom guitar building.
I will now check index.html and src/index.css to inspect the default styling and update the website title to a luxury aesthetic title like "AETHERIA GUITARS — The Art of 3D Sonic Architecture & Precision Craftsmanship".
I will now update index.html to give it a luxury title and include Google Fonts (Inter, Plus Jakarta Sans, and Cinzel for luxury serif touches), along with a deep dark background default to prevent white flashes during 3D loading.
I will now inspect src/index.css to see how Tailwind is imported and ensure smooth scrolling and custom utility classes are supported.
I will update src/index.css to add custom font utilities, scrollbar hiding for smooth UI controls, luxury glassmorphic backgrounds, and subtle glow animations.
I will now create src/types/guitar.ts to define data types for guitar models, anatomy hotspots, customization materials, camera views, and audio modes.
I will now create src/data/guitarData.ts containing the anatomical descriptions, specifications, 3D hotspot coordinates, and luxury color palettes for both the "Vanguard Strat-X Electric" and "Solaris Grand Acoustic" guitars.
I will now create src/utils/soundEngine.ts, which uses the Web Audio API to generate high-fidelity electric and acoustic guitar string tones (Clean, Overdrive, Ambient Reverb, and Acoustic Resonance) in real-time without relying on slow external MP3 downloads.
I will now create src/components/3d/HotspotMarkers.tsx using @react-three/drei's Html component to render interactive 3D pulsing glowing hotspots attached directly to the guitar components. Users can click them to inspect anatomical details and smoothly trigger camera zooms.
I will quickly clean up the unused Hotspot type import in src/components/3d/HotspotMarkers.tsx.
I will now create src/components/3d/ElectricGuitarModel.tsx, a procedural 3D electric guitar model engineered with Three.js custom shapes, bevels, and physically-based materials. It includes full mechanical anatomy: Stratocaster-style body, 22 silver frets, mother-of-pearl inlays, humbucker pickups with magnetic pole pieces, a titanium locking bridge, tuning pegs, and 6 animated vibrating strings that respond to audio strumming and exploded-view deconstruction.
I will now update src/components/3d/ElectricGuitarModel.tsx to replace className on the <mesh> tag with Three.js onPointerOver and onPointerOut events to control the cursor style.
I will now create src/components/3d/AcousticGuitarModel.tsx, representing our Grand Auditorium acoustic guitar. It features a resonant wooden body with a soundhole and rosette inlay, a rosewood bridge with bridge pins, mahogany back and sides, and dynamic string vibration and exploded-view deconstruction capabilities.
I will now create src/components/3d/GuitarSceneStage.tsx, which wraps the 3D models in a React Three Fiber <Canvas>. It features lighting studios (Golden Hour, Cyber Neon, Minimal Monolith, Softbox Studio), dynamic contact shadows, glowing floor grid reflections, and a camera rig that smoothly interpolates between macro anatomical focus points while allowing full 360° orbital freedom.
I will now create src/components/ui/Navbar.tsx, featuring luxury typography, model selector tabs (Electric vs Acoustic), an audio toggle, and quick action controls for assembling/disassembling and auto-rotating.
I will now create src/components/ui/ViewControlsHUD.tsx, a glassmorphic console that allows users to seamlessly scrub the "Exploded Anatomy Slider" (0% assembled to 100% disassembled in mid-air) and click macro camera bookmarks to zoom instantly into specific components like Pickups, Titanium Bridge, Ergo Neck, and Locking Tuners.
I will now create src/components/ui/AnatomyInspector.tsx, an Apple-grade glassmorphic side panel powered by Framer Motion. When a user selects any 3D anatomical hotspot, this drawer smoothly slides in to display technical engineering specifications, acoustic dynamics explanations, and an audio preview trigger.
I will now update src/components/ui/AnatomyInspector.tsx to remove unused icons and display dynamic audio feedback on the test sound button based on audioEnabled.
I will now update the sound test button in src/components/ui/AnatomyInspector.tsx to dynamically show whether audio will play or if it will unmute upon clicking.
I will now create src/components/ui/CustomizerStudio.tsx, an interactive customization studio panel where users can tailor body lacquer colors, hardware plating finishes, fretboard exotic tonewoods, and studio environment lighting, complete with instant visual updates on the 3D model.
I will now create src/components/ui/SoundLabHUD.tsx, a sound laboratory console that allows users to switch audio presets (Crisp Clean, Warm Overdrive, Ambient Reverb, Acoustic Resonance), strum virtual strings with hover or click events, and trigger full arpeggio chord demonstrations.
I will quickly remove the unused Volume2 import in src/components/ui/SoundLabHUD.tsx.
I will now create src/components/ui/HelpModal.tsx, a luxury glassmorphic tutorial dialog that introduces users to the 3D orbital gestures, exploded anatomy slider, hotspot annotations, and real-time sonic laboratory.
I will now create src/components/ui/IntroOverlay.tsx, an introductory cinematic overlay that welcomes visitors with Apple-grade typography and a "ENTER 3D STUDIO" button that triggers string arpeggios and fades out into the interactive 3D scene.
I will now replace src/App.tsx with our implementation that binds the 3D canvas stage, sound engine, Apple-grade navigation HUDs, customization studio, and anatomical inspector together into a cohesive, responsive experience.
I will check src/main.tsx to see how App is imported.
I will now update src/App.tsx to export App as a default export to match src/main.tsx.
I will correct the export declaration in src/App.tsx.
I will add export default App; at the end of src/App.tsx.
I will now run build_project to test the build and ensure there are no TypeScript errors or bundling issues.
我已经为你构建了一个极具奢华美学与丝滑交互体验的 AETHERIA GUITARS — 3D 乐器物理解构与定制工作坊页面。
✨ 极致审美与系统核心亮点
-
自由度极高的 3D 建模交互与解构系统 (3D Anatomy & Orbital Exploration)
- 全方位环绕拖转:使用基于 Three.js / React Three Fiber 构建的程序化几何体,支持鼠标左键 360° 任意旋转、滚轮自由缩放、平移视角。
- 滑块式物理爆炸解构 (Exploded View Engine):界面底部集成了精密的「解构进度拉杆 (0% - 100%)」。拖动滑块时,吉他各个装配模块(拾音器组、钛合金琴桥、高光护板、非对称复合琴颈、18:1齿轮自锁琴头以及 6 根发光琴弦)会在空中丝滑悬空解构并显露科技牵引引线,完美诠释乐器的精密机械构造!
- 双车间顶级名琴一键切换:支持现代极速电吉他
VANGUARD STRAT-X 与大师级纯声学吉他 SOLARIS GRAND ACOUSTIC 两种乐器架构切换。
-
多视角书签定位与发光热点锚点 (Interactive Hotspots & Macro Rig)
- 模型上带有平滑脉冲的发光热点(如:
PU 拾音电路、BR 钛调琴桥、NK 复合指板、HD 自锁弦钮、BD 声学腔体)。
- 用户任意点击热点或底部控制台的「快速透视书签」,摄像机会带阻尼感极度平滑地对焦、放大到该微观区域,同时在右侧展开苹果苹果发布会级排版的《机械与材料物理说明抽屉》,展示详细的 Alnico V 磁场原理、200°C 真空高温碳化烘烤等高阶参数。
-
高定调色车间与 4 大声场光影棚 (Custom Studio & Lighting Studio)
- 随时开启左侧「高定调色车间」,为琴身为选装 5 种车身烤漆(极夜曜黑、日落金沙、深海拉丝蓝、翡翠绿、北极纯白),搭配 24K 皇家真金或亮银拉丝五金,以及黑檀木/雀眼枫木指板。
- 支持一键切换晚霞金沙 (Golden Hour)、赛博霓虹 (Cyber Neon)、极简纯黑展厅 (Minimal Monolith) 与柔光影棚 (Studio Lights) 等多重渲染氛围,地面伴有逼真接触阴影与全息投影。
-
Web Audio API 实时高保真音频合成与虚拟扫弦 (Sonic Lab & Real-time Strumming)
- 告别延迟加载:内置由 Web Audio API 构建的实时吉他发声合成器,即时计算琴弦正弦振动谐波、琴身低通滤波器与失真波形塑造器。
- 提供 4 种声场引擎预设(高空清音 Crisp Clean、温暖过载 Warm Overdrive、空间余响 Ambient Reverb、纯木共振 Acoustic Resonance)。
- 鼠标或手指直接在 3D 琴弦或右下角虚拟扫弦器上划过/点击,即可引发真实和声响度反馈,且 3D 琴弦会联动产生震撼的正弦波振动特效!
-
仪式感进场与完整教程导览 (Cinematic Welcome & Help Guide)
- 首次载入拥有极致仪式感的暗灰金发光迎宾界面,点击“进入 3D 鉴赏”即触发欢快的合成琵音开场。
- 随时通过右上角问号呼出苹果 Vision Pro 质感指引卡片,体验人机交互美学。
Files built: index.html, src/index.css, src/types/guitar.ts, src/data/guitarData.ts, src/utils/soundEngine.ts, src/components/3d/HotspotMarkers.tsx, src/components/3d/ElectricGuitarModel.tsx, src/components/3d/AcousticGuitarModel.tsx, src/components/3d/GuitarSceneStage.tsx, src/components/ui/Navbar.tsx, src/components/ui/ViewControlsHUD.tsx, src/components/ui/AnatomyInspector.tsx, src/components/ui/CustomizerStudio.tsx, src/components/ui/SoundLabHUD.tsx, src/components/ui/HelpModal.tsx, src/components/ui/IntroOverlay.tsx, src/App.tsx