Lab 5 - Python
Due March 7th, 2005
To Do:
You will write a Python program using Object Oriented design that does the following:
- Creates a window with a canvas for drawing
- Draws a face on the canvas, a pretty face, a face of your choice (doesn't have to be pretty).
- The window will have at least four buttons, three to animate the face and one to quit the program.
- Each animation button will call a method to animate the face, examples of animation - talking and eye movement (boring I did those in class)
Blinking, hair growing, whole face bouncing off the wall, beard grow, ears wiggle, tip a hat, ect. ect.
- Be original, be creative, but make sure you use Object Oriented design.
Other Hints:
Maybe have a background setting that you can animate.
Look into importing pictures and animating them as a Sprite. Make sure you still use the graphics primitives to draw your face.
Add sound, it's not too hard.
This is supposed to be a break from the boring command line programs you have to write constantly in your schooling effort.
We'll have another one after Spring Break, but it will be 3D scripting.
Here are the graphics and button classes (I saved it as a .txt file so you can download it, save it as a .py file):