Reference random3D()

random3D()

Creates a new 3D unit vector with a random heading.

Examples

Returns

p5.Vector: new p5.Vector object.
This page is generated from the comments in src/math/p5.Vector.js . Please feel free to edit it and submit a pull request!

Related References