from math import * from kandinsky import * from random import * digitx=500 rects_clock=0 rects_x=0 rects_y=222 rects_w=1 rects_h=40 rects_c="white" bg=(randint(0,55),randint(0,55),randint(0,55)) R2=(randint(120,255),randint(120,255),randint(120,255)) fill_rect(0,0,322,222,bg) rects_x=(range(1,322,10)) colors=(randint(0,255),randint(0,255),randint(0,255)) rects_h=randint(-100,1) for i in rects_x: rects_h=randint(-60,-10) fill_rect(i,222,6,rects_h,R2) while 1: draw_string(str(range(1,100)),80,100) rects_clock+=1 if rects_clock>4000: fill_rect(0,0,322,222,bg) for i in rects_x: rects_h=randint(-60,-10) fill_rect(i,222,6,rects_h,R2) rects_clock=0 R=(randint(0,55),randint(0,55),randint(0,55)) R2=(randint(100,255),randint(100,255),randint(100,255)) rects_x=(range(1,322,10)) colors=(randint(0,255),randint(0,255),randint(0,255)) rects_h=randint(-60,-10) fill_rect(i,222,6,rects_h,R2)