rec1= Rectangle(color="pink")
circle1 = Circle(color="yellow", width = 20, height = 20,x=75,y=25)
circle2 = Circle(color="green", width=20, height = 20,x=25,y=25)
circle3 = Circle(color = "red", width = 20, height = 20, x=75,y=75)
circle4 = Circle(color="blue", width = 20, height = 20,x=25,y=75)
circle5 = Circle(color="purple",width=20, height=20)
circle6= Circle(color="beige", width=20,height = 20,x=25)
circle7= Circle(color="orange",width = 20, height = 20, y=25)
circle8= Circle(color="balck", width=20,height=20,x=75)
circle9= Circle(color="aqua", width=20, height=20,y=75)


grow = 30
with animation(duration=4): 
    circle1.width=grow
    circle1.height=grow
    circle2.width=grow
    circle2.height=grow
    circle3.width=grow
    circle3.height=grow
    circle4.width=grow
    circle4.height=grow
    circle5.width=grow
    circle5.height=grow
    circle6.width=grow
    circle6.height=grow
    circle7.width=grow
    circle7.height=grow
    circle8.width=grow
    circle8.height=grow
    circle9.width=grow
    circle9.height=grow
    
reverse=20    
with animation(duration=4):
    circle1.width=reverse
    circle1.height=reverse
    circle2.width=reverse
    circle2.height=reverse
    circle3.width=reverse
    circle3.height=reverse
    circle4.width=reverse
    circle4.height=reverse
    circle5.width=reverse
    circle5.height=reverse
    circle6.width=reverse
    circle6.height=reverse
    circle7.width=reverse
    circle7.height=reverse
    circle8.width=reverse
    circle8.height=reverse
    circle9.width=reverse
    circle9.height=reverse
    circle1.x=25
    circle1.y=75
    circle7.y=75
    circle3.x=25
    circle3.y=25
    circle9.x=50
    circle9.y=25
    circle4.x=75
    circle4.y=25
    circle6.x=75
    circle8.x=25
    circle2.x=75
    circle2.y=75
    circle5.color="red"
    circle2.color="red"
    circle6.color="white"
    circle1.color="red"
    circle8.color="white"
    circle9.color="white"
    circle4.color="red"
    circle3.color="red"
    circle7.color="white"
    rec1.color="purple"
    
with animation(duration=2):
    circle5.color="red"
    circle2.color="red"
    circle6.color="white"
    circle1.color="red"
    circle8.color="white"
    circle9.color="white"
    circle4.color="red"
    circle3.color="red"
    circle7.color="white"
    rec1.color="purple"
    
from icons import Heart
heart1 = Heart(width=1, height=1, color='white')
heart2 = Heart(width=1, height=1, color='white',x=25,y=25)
heart3 = Heart(width=1, height=1, color='white',x=75,y=75)
heart4 = Heart(width=1, height=1, color='white',x=75,y=25)
heart5 = Heart(width=1, height=1, color='white',x=25,y=75)
with animation(duration=2):
    heart1.width=12
    heart1.height=12
    heart2.width=12
    heart2.height=12
    heart3.width=12
    heart3.height=12
    heart4.width=12
    heart4.height=12
    heart5.width=12
    heart5.height=12

helloWorld

by giovanni

Created 3 weeks, 5 days ago.