DegreeToVector Op

DegreeToVector

Calculates a vector (x and y) based on an angle in degrees


<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
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


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>


Patches using DegreeToVector

  • Examples
  • Public
  • My Patches