[Math] How to plot n coords to distribute evenly as a ring of points around a circle

circlescoordinate systemsgeometrygraphing-functionspolar coordinates

Given a circle coord at (100, 100) with radius 25. I want to plot a group of points around the circle to form a ring around it. What is the formula I will need to determine the coordinates of each of these Points?

E.g. I have 10 points to plot in this ring, how to calculate the coordinates to plot them from the circle coords? For each point, I have something like this at the moment: x: coords.x + (size / 2 * (i + 1)), which results in this:

enter image description here

But my desired result should be like this:

enter image description here

Context: To build a table and some chairs in a computer program. The central circle represents the table and the n points represent the chairs.

Best Answer

$(x_k, y_k) =(x_0+r\cos(2k\pi/n), y_0+r\sin(2k\pi/n)) $ for $k = 0 $ to $n-1$.