_="c.wW=c.height=300;R=random;n='px courier';E=B=C=[];Lw=W@;X=Y=w;K=[];t=.2;v=20;Pii<6;iV)={x:v+i*(40+*vAh:v};D=document;Ndown=Nup=(aHCode]=type!='up'}lZeW.2;iv=setInterval((c.wW;^__W,W)'#59f'begZPa`()u= mov$,0)lZ$+e*(j/WAjjtj>Wif(abs((s+e)-(|x+U))<U|h-=3}Oe--}}()E<v&&<.02Es:*W,e:(*W-w)@,l:0}tt<1?.005:0}bb<B;bVu=B[b];Jrgba(255,7_7_.5)''♥',x-@,y+@V>U0)Bb,1Ab--dx=x-( .s+ .e*( .l/W)Ady=y- .ldx*dx+dy*dy<**.15)OAe--,Pfloor((1U-)/5)*5}}XH397%YH408%)H32]&&!L)q=X,Q=Y,L=.01L>0J#fff'^w+(q-w)*L,W+(Q-W)*L,2,2L.04L>=1Bx:q,y:Q,z:1}L=0}}J#c33'^|x,W,v,-|h^X,Y,2,216P,9,v)},v@ FRect)} G(cc};ee<E;eVfunctionu.;if(;.splice(for(C[i] E[e].leng`+nText(){);=0;id`=Ma`.zi Z C)]?2:(H3(x,y,w,hR()keyfill.push({)font=a.+=strokeStyle=$eTo(s%]?-2:0@/2A),HK[JG('ND.onOEe,1U10V++Zin^F(_0,`thjl|.";for(Y=0;$="|j`_^ZVUONJHA@%$ "[Y++];)with(_.split($))_=join(pop());eval(_)
c.width= W= c.height= 300;
R= Math.random;
n= 'px courier';
E=B=C=[];
L= 0;
w= W/2;
X= Y= w;
K=[];
t=.2;
v=20;
P=0;
for(i=0; i<6; i++) C[i]= {x:v+i*(40+R()*v), h:v};
D= document;
D.onkeydown= D.onkeyup= function(ev){K[ev.keyCode]= ev.type!='keyup'};
a.lineWidth= .2;
iv= setInterval(function(){
c.width= W;
F(0,0,W,W);
a.strokeStyle='#59f';
a.beginPath();
for (e=0;e<E.length;e++) {
u=E[e];
a.moveTo(u.s, 0);
a.lineTo(u.s+u.e*(u.l/W), u.l);
u.l+=t;
if (u.l>W)
{
for (i in C)
if (Math.abs((u.s+u.e)-(C[i].x+10))<10){ C[i].h-=3; }
E.splice(e,1); e--;
}
}
a.stroke();
if (E.length<v && R()<.02) {
E.push({s:R()*W, e: (R()*W-w)/2, l:0});
t+=t<1?.005:0
}
for (b=0; b<B.length;b++){
u=B[b];
G('rgba(255,70,70,.5)');
a.font= u.z+n;
a.fillText('♥', u.x-u.z/2, u.y+u.z/2);
u.z++;
if (u.z>100) B.splice(b,1), b--;
for (e=0;e<E.length;e++){
dx= u.x-(E[e].s+E[e].e*(E[e].l/W)), dy=u.y-E[e].l;
if (dx*dx+dy*dy < u.z*u.z*.15)
E.splice(e,1), e--,
P+= Math.floor((110-u.z)/5)*5;
}
}
X+=K[39]?2:(K[37]?-2:0);
Y+=K[40]?2:(K[38]?-2:0);
if (K[32] && !L) q= X, Q= Y, L= .01;
if (L>0){
G('#fff');
F(w+(q-w)*L, W+(Q-W)*L, 2,2);
L+=.04;
if (L>=1) {B.push({x:q, y: Q, z:1}); L=0}
}
G('#c33');
for (i in C) F(C[i].x, W, v, -C[i].h);
F(X, Y, 2, 2);
a.font= 16+n;
a.fillText(P, 9, v);
}, v/2);
function F(x,y,w,h){a.fillRect(x,y,w,h)}
function G(c){a.fillStyle=c}