Question: Using python you will use various turtles to draw the scene of fireworks over a skyline. You need to: (1) specify a random window width

Using python you will use various turtles to draw the scene of fireworks over a skyline. You need to: (1) specify a random window width and height. All drawings must consider the window width and height and be draw to scale. You need to consider window width and height and then draw a rectangle that is proportional to the window dimensions (i.e. the rectangle could be one-fifth the width and two-thirds the height of the window.) (2) Pick a dark background color for the entire window. (3) Use rectangles, squares, triangles, circles to draw a skyline. The skyline should fill as much of the width of the window and use at most one-third of the bottom height. The top two-thirds of the window height will be used by the turtles that draw the fireworks. (4) Part of the skyline must be draw using diagonals draw by the function that fills a rectangle area from the bottom-left corner to the top-right corner. A separate part of the skyline should use the other diagonal function that fills the area of a rectangle with diagonals from top-left corner to bottom-right corner. Each function needs to be called at least twice, each time sending different values to the function. The value sent for the amount of space of space separating the diagonal lines is to be determined randomly from the range [1.5, 10]. (5) Use loop(s0 to call the functions that draw fireworks as part of your scene. You will need to call each of the fireworks function at least three times each time sending different values to the function. Do not use conditional statements, lists, tuples, or for loops.

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!