COS 100: Introduction to Programming
Interim 2020
Lab 11: Graphics
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"). You do not need to open or run this file. 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. As usual, 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. Ask questions during lab.
- graphics0.py -- getting started
- graphics1.py -- lines and text
- graphics2.py -- polygons
- graphics3.py -- simple animation (bonus)
Done with all of that? Read the graphics.py documentation and experiment with features that aren't used in these exercises.