DegreeToVector Op
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)
Edit Documentation
Full Name
- Ops.Math.DegreeToVector
- Core Op - Official cables op
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Example Patch degree2vector
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]