Vectors
- Object with a direction and magnitude (length)
- Typically represented using coordinates for simplicity
- Used for storing position, velocity, acceleration, etc.
- Processing has a built-in PVector object for 2D and 3D
Operations
Add two vectors by adding their components [3, 3] + [1, 2] = [4, 5]
Scale a vector by multiplying by a scalar value [1,3] * 2 = [2, 6]