poltocar
Convert polar to cartesian coordinates
poltocar(radius, angle): [out1, out2]Arguments:
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| radius | number | The distance portion of a polar coordinate pair to be converted into a Cartesian coordinate pair consisting of real and imaginary values. When used in an audio context, the value represents magnitude (amplitude) portion of a polar coordinate pair to be converted into a cartesian (real/imaginary) coordinate pair. | |
| angle | number | The angle portion of a polar coordinate pair to be converted into a Cartesian coordinate pair consisting of real and imaginary values. When used in an audio context, the value represents the phase portion of a polar coordinate pair to be converted into a cartesian (real/imaginary) coordinate pair. |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number | The real portion of a Cartesian coordinate pair. |
| out2 | number | The imaginary portion of a Cartesian coordinate pair. |