title: Uniformly distribute x points inside a circle
body: <p>I would like to uniformly distribute a predetermined set of points within a circle. By uniform distribution, I mean they should all be equally distanced from each other (hence a random approach won't work).  I tried a hexagonal approach, but I had problems consistently reaching the outermost radius.</p>
  
  <p>My current approach is a nested for loop where each outer iteration reduces the radius &amp; number of points, and each inner loop evenly drops points on the new radius. Essentially, it's a bunch of nested circles. Unfortunately, it's far from even. Any tips on how to do this correctly?</p>
  
  <p><img src="https://i.stack.imgur.com/EKU7M.png" alt="Nested for-loop result"></p>