How ryan-chico/multiplewindow3dscene works
This is a browser-based Three.js demo that renders a shared 3D view of open browser windows. The workflow starts when a window opens the page, initializes the scene and window manager, synchronizes window state through localStorage, then renders and updates the scene. The README documents Three.js as a dependency, but the listed tree does not contain its library file; unsampled implementation details are not inferred.
Main entry points: WindowManager.js Window manager · main.js App initialization · index.html HTML entry
Components 10
Page entry
- HTML entry
index.html - App initialization
main.js
Window synchronization
- Window manager
WindowManager.js - Window state
3D scene
- Scene setup
main.js - Window visuals
main.js - Scene rendering
main.js
Other components
- Browser user
- Browser window events
- Three.js
Connections 13
- Browser user → HTML entry: opens
README.md - HTML entry → App initialization: loads script
README.md - HTML entry → Three.js: includes library
README.md - App initialization → Scene setup: initializes
main.js - App initialization → Window manager: creates
main.js - Window manager → Window state: reads and writes
WindowManager.js - Browser window events → Window manager: notifies changes
WindowManager.js - App initialization → Window visuals: updates on changes
main.js - Window visuals → Window manager: gets window data
main.js - Scene setup → Three.js: creates scene
main.js - Scene rendering → Window manager: updates and reads
main.js - Scene rendering → Window visuals: animates windows
main.js - Scene rendering → Three.js: renders scene
main.js