# Arup Guha
# 9/23/2020
# Sample Spirograph for 2020 Fall COP 2930 Program 4C

import turtle

# So I don't have to wait so long!
turtle.speed(0)

# This is my favorite color
turtle.pencolor("blue")

# Go left 200 pixels to get started.
turtle.left(180)
turtle.forward(200)
turtle.left(180)

# 36 x 5 = 180, so this will fill it out, going half way around since it's
# symmetric.
for i in range(36):
    turtle.forward(400)
    turtle.left(175)

# So at first I just did move forward 200, but for whatever reason, that didn't
# center the drawing as I wanted. After playing around with it some, I found
# that (0, 8) was pretty good for my center.
turtle.penup()
turtle.setpos(0,8)
turtle.pendown()

# Since my circles are half the size, I have to go all the way around so
# 36 repetitions times 10 degrees = 360 degrees gets me all the way around.
turtle.pencolor("red")
for i in range(36):
    turtle.circle(100)
    turtle.left(10)
