This is a spiral generator, similar to one that I have built in the past. To make a spiral, input a degree, and then input a width, and you have a spiral. A good formula for making a spiral is thinking how many "sides" you want it to have, meaning: 360/#ofSides = Degree So, if I input 90, it will have 4 sides, and I'll have a square.
I used a similar engine that I had made a while back, and added some other details.