Dot Lines Circle
innerRadius: 80 innerRadius: 80
outerRadius: 160 outerRadius: 160
steps: 30 steps: 30
angle: 33 angle: 33
dotCount: 9 dotCount: 9
In this demo instead of drawing circles of Dots, I draw lines Of Dots between an inner and outer circle. I put a single line in the top left corner, so you can see. To position the dots along a line I used the gauss sum formula (in german), not to be confused with the gauss sum, which was interesting to read about. It is basically the sum of n natural numbers from 1 to n. The result is the row of triangular number 0, 1, 3, 6, 10, 15, 21, 28, 36, …
const gsum = (n) => n * (n + 1) / 2;