Question: Please Help! Python only. There should be two codes graphics.py and three.py. Thanks in advance Three Shapes In this programming assignment, you should create a

Please Help! Python only. There should be two codes graphics.py and three.py. Thanks in advance
Three Shapes In this programming assignment, you should create a program that behaves similarly to the gif shown in this spec. Follow the below requirements. Name your program three.py. The canvas that the landscape is on should be square. It should be between 500 x 500 and 800 x 800 pixels. The frame rate should be no less than 30 and no more than 100. The canvas should draw a rectangle, circle, and triangle. Requirements for the shapes include: . Each of these shapes should be a different color. They should move across the screen at about the same rate as the example shows. They should be aligned in a column. They should wrap around the screen. They should begin off-canvas to the left, and go off-canvas to the right, and then wrap around. The y position should be set randomly for each shape each time the shapes wrap. The random position should not cause the shape to go off-canvas on the top or bottom. All of the graphics should be displayed using the graphics.py module. Remember to put graphics.py in the same directory as three.py while working on the PA. You can refer to the slides from section if you forgot how to work with the graphics module. This program does not need to take any input values from the command-line, and does not need to print anything on the command- line either. Also, there will be not autograder tests on Gradescope for this. The TAs will grade submissions by trying to run your programs. Thus, you should be careful to make sure your program behaves very similar to the examples that are shown on this spec. NOTE: This is an OPTIONAL PA that will be worth a few points of extra credit. If you chose not to work on this, recommend that you use the time to instead get an EARLY start on motion parallax. Program Structure This program must follow the style guidelines. You should structure all of the code into one or more functions. If within the style guidelines, you may put all of the code into main. The only code that is allowed to not be in a function are your import statements and a call to main. You should not use the exit function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
