JavaScript program to draw Archimedes spirals to the canvas.