Click on the Green flag to see a spiral.
I added two variable blocks to the end of the code and changed a couple of the measurements. I like learning from others.