Question: app.background = 'mediumseaGreen' app.stepsPerSecond = 2 0 # glow rays = Star ( 2 0 0 , 2 0 0 , 1 7 5 ,

app.background = 'mediumseaGreen'
app.stepsPerSecond =20
# glow
rays = Star(200,200,175,25, fill='lemonChiffon', roundness=5, opacity=0)
raysCover = Polygon(130,165,270,165,200,285, fill='mediumSeaGreen')
# triforce symbol
top = RegularPolygon(0,-175,80,3,
fill=gradient('yellow', 'darkGoldenrod', start='right-top'),
border='goldenrod', borderWidth=4, rotateAngle=40)
bottomLeft = RegularPolygon(-170,445,80,3,
fill=gradient('yellow', 'darkGoldenrod',
start='right-top'),
border='goldenrod', borderWidth=4, rotateAngle=40)
bottomRight = RegularPolygon(570,445,80,3,
fill=gradient('yellow', 'darkGoldenrod',
start='right-top'),
border='goldenrod', borderWidth=4, rotateAngle=80)
def onStep():
# If the top polygon's centerX is less than 200, then increase
# its angle and centerX, centerY.
if (top.centerX <200):
top.rotateAngle +=2
top.centerX +=2
top.centerY +=3
# If the bottomLeft polygon's centerX is less than 130, then rotate
# and move it up and right.
### (HINT: For each polygon the angles will always change by the same
# number, and they will take the same number of steps to get to
# their final location.)
### Place Your Code Here ###
# If the bottomRight polygon's centerX is greater than 270, then rotate
# it and move it up and left.
### Place Your Code Here ###
# Otherwise, change the background, the fill for raysCover and
# change the rays opacity.
### Place Your Code Here ###
pass

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!