The y component of the vector
add
Adds to a vector's x, y, and z components.
angleBetween
Calculates the angle between two vectors.
array
Returns the vector's components as an array of numbers.
clampToZero
Replaces the components of a p5.Vector that are very close to zero with zero.
Looking for the old p5.js site? Find it here!