Homework #6:

  1. The task involved designing a cityscape using the Zelle Graphics program. Functions were defined in city2.py. These were buildings, roads, etc. using all graphics objects. The functions were executed using cityscape.py.
  2. Parameters were used to change the shape of objects. A loop was used to create random lights in the windows of the tall building2. Randomization was used to change the color of building2 and the lights.
  3. The image shows each type of Zelle graphics objects. The buildings are rectangles. The triangular roof is a polygon. The pond is an oval. The sun is a circle. The building in the foreground has text on it. The road in the foreground is made from lines. Points were defined for most graphics objects.