The first Question it asks you is how many point it should put on the outside of the circle. Then it asks you what factor. This asks how much to multiply the number that it is on by and draw a line to the new dot. For example, a factor of 2 would make a line from 1-2, from 2-4, from 3-6, and so on. If the product is greater than the amount of points on the circle, it just keeps going around. This make really cool patterns! Feel free to post what factors you like in the comments!
My dad showed me this one day, so I did this by hand on a paper for factors of 2, 3, and 4. After that I decided to put it into code, and here it is! Try out 100 dots with a factor of 2 to see how it works!