Answers for "calculate x y coordinates from angle"

0

calculate x y coordinates from angle

Here's the equations for that.

X=distance*cos(angle)

Y=distance*sin(angle)

But this is an angle and distance from the origin (0,0), usually you want the position (x,y) an angle and distance from another position (x0, y0).

X=distance*cos(angle) +x0

Y=distance*sin(angle) +y0
Posted by: Guest on April-20-2022

Code answers related to "calculate x y coordinates from angle"

Browse Popular Code Answers by Language