To avoid the pain-stakingly slow spiral generation use this project in turbo mode. To switch to turbo mode, shift-click the green flag. To switch between debug and default modes press space.
Just a random idea I had on the way home from school. It generates by degree, not by distance. This way it generates faster near to the outside. Its okay if you don't understand how it works.