import icons
Rectangle(color='lightcyan')

fishes = []
fish_color = ['salmon', 'darkturquoise']

for i in range(0, 6):
    for j in range(0, 6):
        fish = icons.Fish(
            color=fish_color,
            x=i*20,
            y=j*20,
            height=10,
            width=20,
        )
        fishes.append(fish)

with animation(duration=5):
    for fish in fishes:
        fish.rotation = 360

Dancing Fishes

by ludwik

Created 4 years, 10 months ago.