How vamja-dev/hypercar-website works
This is a browser-based exotic-car showcase with a separate 3D color customizer. The main journey is browsing brands, choosing a car, and exploring its specifications, sound, video, gallery, and 3D model; the customizer independently lets users choose a brand/model and change exterior paint color. The excerpts show the relevant UI logic and data fields, but not all page wiring; the README is empty, so uncertain links are omitted or marked unverified.
Main entry points: script.js Car Details · customizer.js Customizer Controls · index.html Showcase Page · customizer.html Customizer Page
Components 17
Car Showcase
- Showcase Page
index.html - Showcase Interactions
script.js - Car Details
script.js - Performance HUD
script.js - Engine Sound Player
script.js - Car Video Embed
script.js - Car Image Gallery
script.js - 3D Model Viewer
script.js
Car Content
- Brand and Car Data
data.js
3D Customizer
- Customizer Page
customizer.html - Customizer Controls
customizer.js
Media Assets
- Car 3D Models
models - Engine Audio Files
mp3 - Car Images
pictures - Selectable Models
models
Other components
- Visitor
- YouTube
Connections 16
- Visitor → Showcase Page: opens
- Showcase Page → Showcase Interactions: hosts interactions
- Showcase Interactions → Brand and Car Data: reads catalog
- Showcase Interactions → Car Details: updates details
script.js - Car Details → Performance HUD: sets metrics
script.js - Car Details → Engine Sound Player: configures audio
script.js - Engine Sound Player → Engine Audio Files: plays sound
script.js - Car Details → Car Video Embed: loads video
script.js - Car Video Embed → YouTube: embeds video
script.js - Car Details → Car Image Gallery: renders gallery
script.js - Car Details → 3D Model Viewer: loads model
script.js - 3D Model Viewer → Car 3D Models: loads 3D asset
script.js - Visitor → Customizer Page: opens
- Customizer Page → Customizer Controls: hosts controls
- Customizer Controls → Selectable Models: selects model
customizer.js - Customizer Controls → Car Images: uses car images