How rohitz999/cinematic-3d-shop works
Shop3D is a browser-based, scroll-driven 3D storefront prototype. A visitor scrolls through eight shop-story chapters; the app uses chapter data and timeline functions to update text, camera, shutter, and mascot, while rendering a Three.js shop scene. The chapters describe planned product browsing, making, gifting, billing/QR, and visit details, but these are placeholder copy rather than implemented shopping flows. Product, contact, and payment data exist separately and are not wired into the sampled runtime. The graph reflects sampled calls; the README is empty.
Main entry points: main.js Browser app · timeline.js Scroll timeline · chapters.js Story chapters · world.js World builder
Components 11
Storefront experience
- Browser app
shop3d/src/main.js - Scroll and navigation
shop3d/src/main.js - Chapter panels
shop3d/src/main.js - Scroll timeline
shop3d/src/animations/timeline.js
3D presentation
- World builder
shop3d/src/scenes/world.js - Shop scene
shop3d/src/scenes/world.js
Shop content
- Brand identity
shop3d/src/data/brand.js - Story chapters
shop3d/src/data/chapters.js
Commerce data
- Product catalog
shop3d/src/data/products.js - Contact and payment settings
shop3d/src/data/config.js
Other components
- Visitor
Connections 9
- Visitor → Scroll and navigation: scrolls
shop3d/src/main.js - Browser app → Brand identity: reads identity
shop3d/src/main.js - Browser app → Story chapters: builds panels and navigation
shop3d/src/main.js - Browser app → World builder: builds scene
shop3d/src/main.js - Browser app → Scroll timeline: samples progress
shop3d/src/main.js - Scroll and navigation → Browser app: updates progress
shop3d/src/main.js - Browser app → Chapter panels: updates visibility and text
shop3d/src/main.js - Scroll timeline → Story chapters: reads chapter ranges
shop3d/src/animations/timeline.js - Browser app → Shop scene: moves and renders
shop3d/src/main.js