bkgrnd=Rectangle()
num=0
from icons import Star
import random
star5=Star(width=2, height=2, color="white",x=45)
star6=Star(width=3, height=3, color="yellow",x=60,y=35)
star7=Star(width=2,height=2,color="yellow",x=20,y=70)
star8=Star(width=1,height=1,color="white",x=56,y=84)
sun=Circle(width=40, height=40, color="yellow", x=-30)
star1=Star(width=4, height=4, color="white", x=90,y=90)
star2=Star(width=6, height=6, color="yellow",x=20,y=20)
star3=Star(width=2,height=2,color="yellow",x=85,y=80)
star4=Star(width=5,height=5,color="white",x=88,y=15)

star6=Star(width=6.5,height=6.5,color="white",x=25,y=87)
   

moon=Circle(width=35,height=35,color="white",x=150)



for i in range(1):
    with animation(duration=4):
        moon.x=[50][0]
        sun.x=[50][0]
        moon.color="black"
    bkgrnd.color="white"
    sun.color="white"
    star2.color=sun.color
    star3.color=sun.color
    star7.color=sun.color
    with animation(duration=4):
        moon.x=[0][0]
        sun.x=[150][0]
        sun.color="yellow"
        star2.color=sun.color
        star3.color=sun.color
        star7.color=sun.color
        bkgrnd.color="black"

eclipse

by oshinowo

Created 4 years, 6 months ago.