from kandinsky import fill_rect from time import sleep from random import randint f1='/@^@(.?b?\'-@b@&-?d?&-?"^"?&`*?!`!^&?b(` `\'`@ b$b( ^?!_A `@-)C b(1?!^\'.C _&%`%?!? _?&%?a(^?\'%`? a!` ?\')B ?`@(-C*=/`!_&.? a ?&-^@ ?^!?&+`?"?^?\')_@%? ^&(^ ?(?^&(^?)?^&(_?)^&)^?)_%)_)?^%*^?(?^%*_(? ^$+^?(?^$)_ ^(?^$\'_?^?)?^$%^? A)?^%5?^%5^&6_$5?^?_"6A ?^ ' f2='4^\'4_&4^?&4?\'5?&4^?&%^$?`?#_&%_"?b?"^?&%?^"c?"^?&%?#b@!_\'&?%^$^?\'%@"^!^!?!^?\'%^?#_ @!^?(%_$A#?(%?^)^*%@"^? ^ _?*%? ?_A _!^)&A_!^ ^ ^?)-?!^!^(.? _ ?(.?^!^?(0^?**^A `?)(?`? @^?*\'? ?\'?)(?\'^?)\'_?&_?((^?\'^?((_?&_?\')_?&?(*?&^ ?\'+?$_?(*^?$^?))^%^?*0^?*/^?+0?+/^,/`*' coul=64,173,255 fill_rect(0,0,320,222,(64,)*3) def aff(f,s): p=0 for i,v in enumerate(f): n=ord(v) if n<62:c,u=0,n-31 elif n<93:c,u=1,n-62 else:c,u=2,n-93 for _ in range(u): x=85+5*(p%30) if s else 230-5*(p%30) fill_rect(x,27+5*(p//30),5,5,(coul[c],)*3) p+=1 def anim(f): s=1 for _ in range(randint(3,6)): aff(f,s) sleep(.4) s=1-s while True: anim(f1) anim(f2)