How aicnev04/cse-160 works
This repository is a sequence of CSE160 graphics assignments, progressing from 2D vector operations and shape drawing to animated WebGL scenes and a Three.js concert-hall scene. Users interact through canvas gestures and HTML controls; the assignment code handles input, updates scene state, and renders the result. The graph highlights those distinct experiences and the sampled rendering/model/texture layers. Some source is unsampled and the README is empty, so relationships without direct excerpt evidence are omitted.
Main entry points: asg5.js Concert hall scene · asg1.js Shape drawing · asg4.js Lighting and blocks · asg0.js Vector operations
Components 21
Graphics foundations
- Vector operations
asgn0/src/asg0.js - Vector and matrix math
asgn0/lib/cuon-matrix-cse160.js
WebGL assignments
- Shape drawing
asgn1/src/asg1.js - Drawing primitives
asgn1/lib - Matrix math
asgn2/lib/cuon-matrix-cse160.js - Animated character
asgn2/src/asg2.js - Character primitives
asgn2/lib - WebGL renderer
asgn1/src/asg1.js
3D world assignments
- Camera and world
asgn3/src/asg3.js - Camera controls
asgn3/lib/Camera.js - World geometry
asgn3/lib - World textures
asgn3/lib/textureHandler.js - Lighting and blocks
asgn4/src/asg4.js - OBJ model
asgn4/lib/Model.js - Texture handling
asgn4/lib/textureHandler.js
Three.js scene
- Concert hall scene
asgn5/src/asg5.js - Orbit controls
- 3D asset loaders
- Audio visualizer
asgn5/src/asg5.js - Scene controls
asgn5/src/asg5.js
Other components
- User
Connections 16
- User → Vector operations: enters vectors
asgn0/src/asg0.js - Vector operations → Vector and matrix math: uses vector math
asgn0/src/asg0.js - User → Shape drawing: draws shapes
asgn1/src/asg1.js - Shape drawing → Drawing primitives: creates shapes
asgn1/src/asg1.js - Shape drawing → WebGL renderer: initializes rendering
asgn1/src/asg1.js - User → Animated character: controls animation
asgn2/src/asg2.js - Animated character → Character primitives: renders character
asgn2/src/asg2.js - User → Camera and world: navigates world
asgn3/src/asg3.js - User → Lighting and blocks: edits world
asgn4/src/asg4.js - Lighting and blocks → OBJ model: loads model
- Lighting and blocks → Texture handling: loads textures
- User → Concert hall scene: views scene
asgn5/src/asg5.js - Concert hall scene → Orbit controls: configures camera
asgn5/src/asg5.js - Concert hall scene → 3D asset loaders: loads assets
asgn5/src/asg5.js - Concert hall scene → Scene controls: configures controls
asgn5/src/asg5.js - Concert hall scene → Audio visualizer: detects audio
asgn5/src/asg5.js