ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ >00à0à1ð2570:`<`>p?p?p?????????????????? ñrnd=math.random particles={} function TIC() cls() map() drawParticles() mx,my,left=mouse() if left then for i=1,2 do part(mx,my,rnd(2,10)) end end end function part(x,y,c) table.insert(particles, {x=x,y=y,d=rnd()*math.pi*2, c=c,ftl=30+rnd(40),s=0.02+0.03*rnd()}) end function drawParticles() toDelete={} for i,p in ipairs(particles) do circ(p.x-p.ftl/10,p.y,p.ftl/10,p.c) circ(p.x+p.ftl/10,p.y,p.ftl/10,p.c) tri(p.x-2*p.ftl/10,p.y, p.x+2*p.ftl/10,p.y, p.x,p.y+2*p.ftl/10,p.c) p.x=p.x+math.cos(p.d)*p.s*p.ftl p.y=p.y+math.sin(p.d)*p.s*p.ftl p.ftl=p.ftl-1 p.s=p.s*0.95 if p.ftl<=0 then table.insert(toDelete,i) end end for i=#toDelete,1,-1 do table.remove(particles,toDelete[i]) end end