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

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)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

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 Documentationcancel save

degree2vector

Open Example In Editor


Patches using DegreeToVector