CS 117: Introduction to Computer Science

Playing with Graphics

The lab exercises

Each of these programs contains instructions for you. To get started, make sure you have a copy of John Zelle's graphics.py in your working directory (right-click on the link and choose "Save Link As"). Then save a copy of each of the files listed below in your working directory, open each file in turn, and follow the instructions, trying to answer the questions posed there. You do not need to hand in any of your answers. However, you should try hard to understand how each of the programs works, line by line.

Done with all of that? Read the graphics.py documentation and experiment with features that aren't used in these exercises.

Your assignment, due 11:59PM Wednesday, October 7

Write a program to draw a face. Your drawing should:

I'll give three extra credit points to the two faces I like best. Purely subjective, and you need not compete for such a lowly prize, but if you're so inclined, go wild.