DegreeToVector Op
Calculates a vector (x and y) based on an angle in degrees
Calculates a vector (x and y) based on an angle in degrees
Summary (oneliner)
If you e.g. pass in 90, x will be -1 and y 0 (so counter-clockwise)
Full Name
- Ops.Math.DegreeToVector
- Core Op - visible for everyone
- MIT
- May 16, 2019 at 15:50
- cgl
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch DegreeToVector Example
INPUT PORTS
degree (Number)
The angle you want to convert (in degrees)
OUTPUT PORTS
x (Number)
The x-vector in the range [-1, 1]
y (Number)
The y-vector in the range [-1, 1]