for(_='){&functionO", O(e&QmoveQUvarW=0;Zfor(W zzAZA<|ziZi<~)/(r.$atan2#floorHthis.GdpKe[i].JJrxk(k-jK[A].9j9x8ent7li7@;++?if(>cos`;G_le^lb)*(pt)-c.fill.push(RectdrawJry(--r.00;}32.^ngth? = H((e.ca.addEv7Listener("mouse Vert(x,y,vx,vy);touch Q>e.which==1)=a.widthhangedTouches[0].pagea.heightYtop$bottomtop}.getBoundingC@(mxX^ft$right^ftmy~ei&W {sin,`,sqrt,H,#,PI,abs}Math;O&Gxx_yy_rxx_ryy_vxvx_vyvyO (Ws&>) K{x:mx,y:my,p:0}k=Jx;=Jy|KA&d=sqrt(88)+9y9y)p=#8,-9yt=d+`(PI/2+d/1-9p/240/(1+abs(9p/2-d)/20k+=(9x+sink;+=(9y+`>9p<15&9p+=50else{K.splice(A,1}}c.c^ar(0, 0, , Sty^="hsla("+(2+(.01+jJxjJx)+JyJy))/50)+",1%,45%,.1)";j,-,64,64}requestAnimationFrame(fNo++Ura@@down1up0 startQ=1 endQ=0 Ue.prev7Default(W rc20;1125;fNomxmyp0;e=[];K=[];~/?i&|/?A&x=i*;y=A*;vxZvyZenew,)}}(';G=/[-^-`>-@7-9jkJKGH#$~|zZWUQO&]/.exec(_);)with(_.split(G))_=join(shift());eval(_)
var {sin,cos,sqrt,floor,atan2,PI,abs} = Math;
function Vert(x,y,vx,vy){
this.x = x;
this.y = y;
this.rx = x;
this.ry = y;
this.vx = vx;
this.vy = vy;
}
function draw(vars){
if(lb) dp.push({x:mx,y:my,p:0});
for(var i=0;i<e.length;++i){
e[i].rx=e[i].x;
e[i].ry=e[i].y;
}
for(var j=0;j<dp.length;++j){
for(var i=0;i<e.length;++i){
d=sqrt((e[i].rx-dp[j].x)*(e[i].rx-dp[j].x)+(e[i].ry-dp[j].y)*(e[i].ry-dp[j].y));
p=atan2(e[i].rx-dp[j].x,e[i].ry-dp[j].y);
t=d+cos(PI/2+d/100-dp[j].p/200)*40/(1+abs(dp[j].p/2-d)/20);
e[i].rx+=(dp[j].x+sin(p)*t)-e[i].rx;
e[i].ry+=(dp[j].y+cos(p)*t)-e[i].ry;
}
if(dp[j].p<1500){
dp[j].p+=50;
}else{
dp.splice(j,1);
}
}
c.clearRect(0, 0, a.width, a.height);
for(var i=0;i<e.length;++i){
c.fillStyle="hsla("+(200+(.01+(e[i].rx-e[i].x)*(e[i].rx-e[i].x)+(e[i].ry-e[i].y)*(e[i].ry-e[i].y))/50)+",100%,45%,.1)";
c.fillRect(e[i].rx-32,e[i].ry-32,64,64);
}
requestAnimationFrame(draw);
fNo++;
}
a.addEventListener("mousemove", function(e){
r = a.getBoundingClientRect();
mx = floor((e.clientX-r.left)/(r.right-r.left)*a.width);
my = floor((e.clientY-r.top)/(r.bottom-r.top)*a.height);
});
a.addEventListener("mousedown", function(e){
if(e.which==1)lb=1;
});
a.addEventListener("mouseup", function(e){
if(e.which==1)lb=0;
});
a.addEventListener("touchstart", function(e){lb=1;});
a.addEventListener("touchend", function(e){lb=0;});
a.addEventListener("touchmove", function(e){
e.preventDefault();
var r = c.getBoundingClientRect();
mx = floor((e.changedTouches[0].pageX-r.left)/(r.right-r.left)*a.width);
my = floor((e.changedTouches[0].pageY-r.top)/(r.bottom-r.top)*a.height);
});
a.width = 2000;
a.height = 1125;
fNo = mx = my = lb = p = 0;
e=[];
dp=[];
for(var i=0;i<a.width/32;++i){
for(var j=0;j<a.height/32;++j){
x=i*32;
y=j*32;
vx=0;
vy=0;
e.push(new Vert(x,y,vx,vy,32));
}
}
draw();