Description

Expanding computational drawing into 3D virtual spaces. Students learn WebGL rendering pipelines, 3D camera navigation, lighting models, mesh generation, and integrating spatial audio sampling.

Key Concepts

  • 3D Coordinate Space & Transformations: Pitch, yaw, roll, camera perspective matrices, and orbit controls.
  • Procedural Mesh Generation: Creating terrain heightmaps, custom vertices, and UV texture coordinates.
  • Spatial Audio & Synthesis: Mapping position and velocity of 3D objects to audio pan, filter cutoff, and resonance.

Core Coding Concepts

  • WebGL canvas mode (createCanvas(w, h, WEBGL))
  • 3D Primitives & custom shapes (beginShape(TRIANGLES), vertex(x,y,z))
  • Directional, ambient, and point lighting (directionalLight(), ambientLight())