coordinates
Calculate a new point based on the angle and distance from an original point.
g.coordinates({x: 0, y: 0}, 0, 120)
Parameters
position
: The position of the starting point.angle
: The angle, in degrees, at which to project the output point.distance
: The distance from the starting point.