Converts a polar coordinate given with radius
and an angle
in radians to a cartesian coordinate (x and y).
Returns:
An object { x: resultX, y: resultY }
.
The result in cartesianCoordinate
will be { x: 86.60254037844388, y: 50 }
.
let cartesianCoordinate = gmynd.cartesian(100, gmynd.radians(30));