Comp 151 Project 4
Due: Tuesday Oct 21st at
11:55pm (don't wait for this one you have an exam in there too)
Summary:You
will put together all
that you have learned to build a graphics moving picture
Description
You are going to build a moving graphics
project
so you will need the Zelle graphics library for this one
- Pop up a window not less than 500x500 pixals
- Then build a picture with at least 4 shapes including
at least three colors and 3 different kinds of shapes
- then move the entire picture (all the shapes together) back and
forth across the screen making sure that no more than half of it ever
goes off the side of the screen
- also make sure that the movement is slow enough to be seen and
fast enough to be smooth
- If the user clicks the mouse - change from back and forth movement
to up and down movement
- whenever the user clicks the mouse again:
- if the movement was vertical make it horizontal
- if the movement was horizontal, make it vertical.
- make sure that steps three through five repeat forever until
someone presses the close window button (which will close the window
even if you program was still running -so as far as you are concerned
- loop forever.
Additional Requirements:
Your function must contain all of your code
except the one line invoking the function
To help me identify your work, make the name of your program file
yourFirstInitialLastNameLab4.py
(so mine would be JSantoreLab4.py)
Comment your code. include the usual
put the following at the beginning of the program as a comment:
- Your name
- anything that was left undone
- anything that I need to know to run the program correctly.
Submission:
Submit the lab via moodle as usual. Don't forget
to make sure your file has you name in the file name.