from math import * from ion import * from time import sleep from kandinsky import set_pixel,fill_rect, draw_string from cmath import polar from math import cos,sin,log10 from random import choice,random,randint def aff_mess(x,y,txt,c): draw_string("= "*7 + txt + " ="*6,0,140,(0,0,0),c) for i in range(900): coul = (randint(10,255),randint(10,255),randint(10,255)) [r, t] = [-30*log10(random()), 6.28*random()] set_pixel(int(x+r*cos(t)),int(y+r*sin(t)),coul) sleep(.002) aff_mess(125,100,"boom","white")