How marvelous616/web_cube works
This is a browser-based Rubik’s Cube visualizer and interactive move simulator. Users can rotate and zoom the camera, enter face moves, scramble the cube, and reverse recorded moves with the solve control or Enter key; the app animates queued turns and reports move and animation state in the UI. Rendering, post-processing, and the animation loop are initialized in main.js. The sampled source shows these runtime relationships; the README is empty, and unsampled HTML and styling are not described beyond the UI element lookups visible in main.js.
Main entry points: main.js App Runtime · RubiksCube.js Cube Moves · index.html Status Controls · rubiks.glb Cube Model
Components 6
Application
- App Runtime
main.js - Status Controls
index.html
Cube Interaction
- Cube Moves
RubiksCube.js - Cube Model
rubiks.glb
3D View
- Camera Rig
CameraRig.js
Other components
- User
Connections 6
- User → Status Controls: uses
- User → Cube Moves: enters moves
RubiksCube.js - App Runtime → Status Controls: updates
main.js - App Runtime → Cube Moves: creates and updates
main.js - App Runtime → Camera Rig: creates and updates
main.js - Cube Moves → Cube Model: loads
RubiksCube.js