Question: I need help creating this program using Python. 1.Create a 400 by 400 pixel window with a white background. 2. Include your name and date

I need help creating this program using Python.

1.Create a 400 by 400 pixel window with a white background.

2. Include your name and date as a comment at the top of your code.

3. Build your image by stacking ellipses, rects, and lines (using at least 3 of each shape).

4. Use fill, stroke, and strokeWeight to add detail.

5. Utilize proper programming structure and include descriptive comments.

6. Make a keyPressed function so that when a key on the keyboard is pressed, the background color changes to light blue (daylight).

7. Make a mousePressed function so that when a mouse button is pressed, the background color changes to dark blue (night sky).

**The end result is supposed to look like the pictures below.

I need help creating this program using Python. 1.Create a 400 by

(with keyPressed) (with mousePressed)

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!