title: Drawing a circle of unknown number of circles
body: <p>I am currently working on a WinForms app, which at some point has to draw some stuff. Basically, it has to draw an unknown number of circles (f.e 3, 5, 10) in organized in a shape of a circle. Something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/MbyrM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MbyrM.png" alt="enter image description here"></a></p>
  
  <p>I know it looks horrible. So I thought about defining a center of a circle and a radius. Then I just have to go f.e from the top of the big circle and draw a small circle every x-degrees (like for 3 circles it would be 120 degrees, for 4 circles 90 degrees etc.).</p>
  
  <p>My question here is: Is there an algorithm, which would give me the center point of a circle to draw? Like I define my big circle with f.e center <code>X = 50, Y = 50</code> and a radius <code>R = 10</code>. And then I draw a circle at the top, decide that I want to draw the next one 120 degrees far from the first one and I just need a point (X, Y) which is on the big circle?</p>