Creates a new 2D vector from an angle.
Examples
Syntax
fromAngle(angle, [length])
Parameters
angle
desired angle, in radians. Unaffected by angleMode().
length
length of the new vector (defaults to 1).
Notice any errors or typos? Please let us know. Please feel free to edit src/math/p5.Vector.js and open a pull request!