Log In  


Things to tune, all in _update:

> Event timing: et==0, 12 and 40 are when the two thumps and the collapse fire; wait=120+rnd(120) is the rest between events.

> Strength: kick(-.16,.06) sets how hard and how unevenly it caves in.

> Bounce: the spring lines .08 (stiffness) and =.88 (damping, lower settles faster).

(291 chars)

pal(split"1,140,12,13,141,2,136,14,143,137,4,15,138,139,131",1)::_::cls()f=t()p=f%7k=max(3-p)for m=0,35 do s=sin(m/70)c=cos(m/70)r=56+6*k*sin(p+m/200)for j=0,34 do a=m/3.14+f/23+j/35y=s*sin(a)circfill(64+r*s*cos(a)+rnd(k),64+r*.7*(y+c)+rnd(k),1.4+y,(f%1.5*60+j)*m/6%15+1)end end flip()goto _

5



[Please log in to post a comment]