beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

DegreeToVector Op

Ops.Math.DegreeToVector


DegreeToVector
Namespace: Ops.Math

Op author: pandur

Test Patches: 1 Test

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


If you e.g. pass in 90, x will be -1 and y 0 (so counter-clockwise)



Inputs

degree (Number)

The angle you want to convert (in degrees)

Outputs

x (Number)

The x-vector in the range [-1, 1]

y (Number)

The y-vector in the range [-1, 1]

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

degree2vector

Open Example In Editor

Patches using DegreeToVector