DegreeToVector Op
Calculates a vector (x and y) based on an angle in degrees
Summary (oneliner)
<p>If you e.g. pass in <code>90</code>, <code>x</code> will be <code>-1</code> and <code>y</code> <code>0</code> (so counter-clockwise)</p>
Full Name
- Ops.Math.DegreeToVector
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch degree2vector
INPUT PORTS
degree (Number)
<p>The angle you want to convert (in degrees)</p>
OUTPUT PORTS
x (Number)
<p>The x-vector in the range <code>[-1, 1]</code></p>
y (Number)
<p>The y-vector in the range <code>[-1, 1]</code></p>