How afonsoscheufele/digital-twin-3d works
This is a browser-based industrial digital-twin visualization. Users inspect a Three.js scene, select equipment, adjust its controls, and observe simulated equipment state in the scene and live metrics. The sampled source places the runtime in one large module; the README documents additional capabilities whose internal wiring was not sampled, so those links are cited to the README rather than inferred from module structure.
Main entry points: main.js Animation Loop
Components 18
3D Scene
- Scene Runtime
main.js - Rendering Effects
main.js - Camera Controls
main.js
Equipment Simulation
- Pipeline Simulation
main.js - Machine Simulation
main.js - Conveyor Simulation
main.js - Sensor Physics
main.js - Physics Engine
main.js - Animation Loop
main.js
Interaction and Controls
- Object Selection
main.js - Equipment Controls
main.js - Scene Controls
main.js
Metrics and Monitoring
- Live Metrics
main.js - Metric Graphs
main.js - Temperature Alerts
main.js - Mini Map
main.js - Performance Monitor
main.js
Other components
- User
Connections 21
- User → Object Selection: selects objects
README.md - Object Selection → Equipment Controls: shows controls
README.md - Equipment Controls → Pipeline Simulation: adjusts flow
README.md - Equipment Controls → Machine Simulation: adjusts RPM
README.md - Equipment Controls → Conveyor Simulation: adjusts speed
README.md - Equipment Controls → Sensor Physics: resets sensors
README.md - User → Camera Controls: moves camera
README.md - User → Scene Controls: adjusts scene
README.md - Scene Controls → Animation Loop: sets simulation
README.md - Scene Runtime → Rendering Effects: renders scene
main.js - Scene Runtime → Camera Controls: configures camera
main.js - Animation Loop → Pipeline Simulation: updates flow
main.js - Animation Loop → Machine Simulation: updates temperature
main.js - Animation Loop → Conveyor Simulation: animates belts
README.md - Animation Loop → Sensor Physics: simulates physics
README.md - Animation Loop → Physics Engine: uses engine
README.md - Animation Loop → Live Metrics: refreshes metrics
README.md - Live Metrics → Metric Graphs: updates graphs
README.md - Live Metrics → Temperature Alerts: checks temperature
main.js - Scene Runtime → Mini Map: updates view
README.md - Scene Runtime → Performance Monitor: tracks performance
README.md