How hauskamel/police-interrogation-game works
This is a small React Three Fiber 3D scene: the browser entry point mounts the app, which builds an interactive scene containing a moving car, road, and streetbay. The components load their corresponding GLB assets; orbit controls let the viewer inspect the scene. The README only documents running the Vite app, so the graph reflects the sampled runtime code rather than broader product claims.
Main entry points: App.jsx Scene app · main.jsx React mount · Car.jsx Moving car · Road.jsx Road mesh
Components 9
Runtime entry
- React mount
src/main.jsx
3D scene
- Scene app
src/App.jsx - Moving car
src/components/Car.jsx - Road mesh
src/components/Road.jsx - Streetbay mesh
src/components/Streetbay.jsx
3D assets
- Car model
public/models/car.glb - Road model
public/models/road.glb - Streetbay model
public/models/streetbay.glb
Other components
- Viewer
Connections 8
- Viewer → React mount: views
- React mount → Scene app: mounts
src/main.jsx - Scene app → Moving car: renders
src/App.jsx - Scene app → Road mesh: renders
src/App.jsx - Scene app → Streetbay mesh: renders
src/App.jsx - Moving car → Car model: loads
src/components/Car.jsx - Road mesh → Road model: loads
src/components/Road.jsx - Streetbay mesh → Streetbay model: loads
src/components/Streetbay.jsx