import icons
background = Rectangle(color="black")
background = Text("Vroom-vroom!", color="white")
car = icons.CarSide(color="blue", width=30, height=30)
shrink = 10
with animation(duration=1.5):
    car.x = 90
    car.color = 'darkblue'
with animation(duration=0.5):
    pass
    
with animation(duration=0.5):
    car.flip_horizontal()
    car.x = 90
    car.color = 'midnightblue'
    car.width = shrink
    car.height = shrink

vroom

by daria

Created 2 years, 4 months ago.