import icons

background = Rectangle(color = ['skyblue','blue'], transparency = 50)
fish = icons.Fish(width = 25, height = 20, 
                  color= ['aqua', 'lightcoral',  'seashell', 'aquamarine'], 
                  x=10, y =20, rotation = 45) 
fish2 = icons.Fish(width =25, height = 20, color = ['white', 'salmon','lime','blue'], x = 25)
fish3 = icons.Fish(width = 25, height = 20, color = ['black', 'white'], x =55, y =15, rotation = 125)
fish4 = icons.Fish(width = 25, height = 20,color = ['red', 'orange'], x = 5, y =10 )
fish5 = icons.Fish(width = 25, height = 20, color = ['gold', 'plum'], x = 80, y = 80)
fish5.flip_horizontal()


with animation(duration=5):
    fish.x = 90
    fish2.x = 90
    fish3.x = 90
    fish4.x = 90
    fish5.x = 90
    background.color = ['mediumspringgreen', 'lightseagreen']

Harold

by lilmissgiggles

Created 3 months ago.