from zellegraphics import *
# in each of the functions below, replace "pass" by some graphics code.
# The miscgraphicsTarget.jpg gives an idea of what each function should draw when you have completed it.

import time
import math

win=GraphWin(width=800, height=650)

# TODO on each: replace the "pass" with the definition of the function
def parallelVerticalLines(numLines, length, distanceBetween, color):
    pass

def equilateralTriangle(lowerLeftPoint, width):
    pass        

def concentricCircles(num, center, spacing):
    pass

def tri2(lowerLeftPoint, width):
    pass

def tri3(lowerLeftPoint, width):
    pass

def triN(n, lowerLeftPoint, width):
    pass

# This is the part that calls the various functions:
parallelVerticalLines(10, 100, 20, 'blue')
parallelVerticalLines(5, 50, 17, 'red')
equilateralTriangle(Point(20, 300), 100)
equilateralTriangle(Point(520, 150), 50)
concentricCircles(12, Point(200, 200), 10)
concentricCircles(5, Point(350, 80), 8)

tri2(Point(650, 350), 100)
tri3(Point(600, 200), 150)

win.getMouse()

for i in range(8):
    triN(i+1,Point(150, 575), 600)
    time.sleep(1.5)

win.getMouse()

win.close()