# DemoGraphics.py
# CS 1110 (cs-1110profs-L@cornell.edu)
# February, 2016
""" Draws a design with squares and a design
with rings."""

from SimpleGraphics import *

# First Figure
MakeWindow(6,bgcolor=DARKGRAY,labels=False)
DrawRect(0,0,6,6,FillColor=CYAN,EdgeWidth=5,theta=0)
# Add more squares...

DrawRect(0,0,6,6,FillColor=ORANGE,EdgeWidth=5,theta=15)
DrawRect(0,0,6,6,FillColor=PURPLE,EdgeWidth=5,theta=30)
DrawRect(0,0,6,6,FillColor=PINK,EdgeWidth=5,theta=45)

# Second Figure
MakeWindow(10,bgcolor=DARKGRAY,labels=False)
# Rings
DrawDisk(0,1,2,EdgeWidth=10)
# Add more rings...

DrawDisk(5,1,2,EdgeWidth=10)
DrawDisk(-5,1,2,EdgeWidth=10)
DrawDisk(2.5,-1,2,EdgeWidth=10)
DrawDisk(-2.5,-1,2,EdgeWidth=10)

ShowWindow()