The x component of the vector
createVector
Creates a new p5.Vector object.
p5.Vector
A class to describe a two or three-dimensional vector.
add
Adds to a vector's x, y, and z components.
angleBetween
Calculates the angle between two vectors.