Question: In your project file, make a function called with parameters x , y , and win in that order. This is exactly like the eyes

In your project file, make a function called with parameters x,y, and win in that order. This is exactly like the eyes function from Lab 1, but the function is named differently. In this new function, make a fun shape using multiple primitive shapes and different colors. The important part of this function is that if a different and y are sent to the function, the shape should draw in that new location. The function example from lab did this, so study how that works before starting your own function. The requirements are:
Use at least three different primitives from
graphics.py.
Use at least three different colors in your project.
The function must not query for the mouse position in its code - it should use the x and y that is passed to it when the function is called. You should also avoid drawing a shape at a specific spot, like 200,100, as the shape will not follow the mouse position and only be at that specific location.
The drawn shape should be nicely done and interesting. A face with two eyes is not acceptable (since that is just what the lab did). You should show some creativity here.
 In your project file, make a function called with parameters x,y,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!