from icons import Heart

heart = Heart(width=60, height=60, color='violet')

rainbow = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']
for color in rainbow:
    with animation(duration=1.5):
        heart.color = color
        heart.width = 70
        heart.height = 70

    with animation(duration=0.3):
        heart.width = 60
        heart.height = 60

Pulsing Heart

by ludwik

Created 6 years, 2 months ago.