Calculating the position of points in a circle

Given a radius length r and an angle t in radians and a circle’s center (h,k), you can calculate the coordinates of a point on the circumference as follows (this is pseudo-code, you’ll have to adapt it to your language):

float x = r*cos(t) + h;
float y = r*sin(t) + k;

Leave a Comment