from math import * from kandinsky import * from time import * from random import * c=255 ly=0 x=1 x0=0 x1=x0-10 x2=x1-10 x3=x2-10 x4=x3-10 x5=x4-10 x6=x5-10 x7=x6-10 x8=x7-10 x9=x8-10 x10=x9-10 x11=x10-10 x12=x11-10 allx=[x0,x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12] px=randint(1,320) l=1 fill_rect(0,0,320,222,color(0,5,0)) for i in range(50): for i in range(333): for i in range(1): a=175 c=255 b=175 fill_rect(px,allx[x],10,l,color(a,c,b)) x=x+1 c=c-25 for i in range(10): fill_rect(px,allx[x],10,l,color(0,c,0)) x=x+1 c=c-25 x=1 x1=x1+-10 l=l+1 c=255 sleep(0.000000035) # sleep(0.35) px=randint(1,320) x=1 x0=0 x1=x0-10 x2=x1-10 x3=x2-10 x4=x3-10 x5=x4-10 x6=x5-10 x7=x6-10 x8=x7-10 x9=x8-10 x10=x9-10 x11=x10-10 x12=x11-10 allx=[x0,x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12] # fill_rect(0,0,320,222,color(0,5,0)) px=randint(1,320) l=1