How codewithjayesh/3d_joy works
This is a React single-page 3D product showcase. Visitors navigate informational and showcase pages while a persistent WebGL scene displays an interactive Porsche model; scrolling drives its rotation. The graph separates application routing, the 3D experience, and page content. Source evidence confirms the shell and scene wiring; unsampled pages are included as routed capabilities, but their internal behavior is not inferred.
Main entry points: App.jsx Routes and shell · GlassPanel.jsx Glass panels · Scene.jsx 3D scene · main.jsx React bootstrap
Components 17
Application shell
- React bootstrap
src/main.jsx - Routes and shell
src/App.jsx - Header
src/components/Header.jsx - Navigation menu
src/components/NavMenu.jsx - Footer
src/components/Footer.jsx
3D experience
- 3D scene
src/components/Scene.jsx - Scroll progress
src/hooks/useScrollProgress.js - Porsche model
public/model/free_porsche_911_carrera_4s.glb
Showcase content
- Home page
src/pages/Home.jsx - About page
src/pages/About.jsx - Models page
src/pages/Models.jsx - Gallery page
src/pages/Gallery.jsx - Services page
src/pages/Services.jsx - Team page
src/pages/Team.jsx - Contact page
src/pages/Contact.jsx - Glass panels
src/components/GlassPanel.jsx
Other components
- Site visitor
Connections 22
- Site visitor → React bootstrap: opens site
src/main.jsx - React bootstrap → Routes and shell: renders
src/main.jsx - Routes and shell → 3D scene: renders
src/App.jsx - Routes and shell → Header: renders
src/App.jsx - Routes and shell → Footer: renders
src/App.jsx - Routes and shell → Home page: routes to
src/App.jsx - Routes and shell → About page: routes to
src/App.jsx - Routes and shell → Models page: routes to
src/App.jsx - Routes and shell → Gallery page: routes to
src/App.jsx - Routes and shell → Services page: routes to
src/App.jsx - Routes and shell → Team page: routes to
src/App.jsx - Routes and shell → Contact page: routes to
src/App.jsx - Header → Navigation menu: renders
src/components/Header.jsx - 3D scene → Scroll progress: reads progress
src/components/Scene.jsx - 3D scene → Porsche model: loads asset
src/components/Scene.jsx - Home page → Glass panels: renders
src/pages/Home.jsx - About page → Glass panels: renders
src/pages/About.jsx - Services page → Glass panels: renders
src/pages/Services.jsx - Team page → Glass panels: renders
src/pages/Team.jsx - Contact page → Glass panels: renders
src/pages/Contact.jsx - Models page → Glass panels: renders
src/pages/Models.jsx - Gallery page → Glass panels: renders
src/pages/Gallery.jsx