This spiral originates from a starting point set using (x,y) coordinates measured from the top left corner of the canvas.
It is drawn in line segments of n length from the starting point using the following steps:
1. | Move right | x2 = x1 + n |
2. | Move down | y2 = y1 + n |
3. | Move left | x3 = x2 - n |
4. | Move up | y3 = y2 - n |
The line stops when it hits the edge of the display.
The sliders below control the x,y coordinates of where the spiral starts.