D=document;D.body.style.margin="0px";C=D.getElementById("c");H="height";W="width";M=Math;C[H]=400;C[W]=innerWidth;$=C.getContext("2d");$.fillStyle="#000";$.fillRect(0,0,C[W],C[H]);K=9;A=0.1;N=10;
var t=0,s=10,flag=0;
p=function(){$.save();
$.translate(C[W]/2,C[H]/2);
for(var i=0;i<K;i++){
$.fillStyle = 'rgb('+(51*((t+i)%K))+','+(255-51*((t+i)%K))+',255)';
$.rotate(M.PI*2/K);
$.beginPath();
$.arc(s,0,4,0,M.PI*2,true);
$.fill();
}
if(!flag){
if(t>50)
flag=1;
else{
s+=M.exp(-A*t)*N;
t++;
}
}else{
if(t<0)
flag=0;
else{
t--;
s-=M.exp(-A*t)*N;
}
}
$.restore();
$.fillStyle="rgba(0,0,0,0.1)";
$.fillRect(0,0,C[W],C[H]);
};
setInterval(p,40);
DQpEPWRvY3VtZW50O0QuYm9keS5zdHlsZS5tYXJnaW49IjBweCI7Qz1ELmdldEVsZW1lbnRCeUlkKCJjIik7SD0iaGVpZ2h0IjtXPSJ3aWR0aCI7TT1NYXRoO0NbSF09NDAwO0NbV109aW5uZXJXaWR0aDskPUMuZ2V0Q29udGV4dCgiMmQiKTskLmZpbGxTdHlsZT0iIzAwMCI7JC5maWxsUmVjdCgwLDAsQ1tXXSxDW0hdKTtLPTk7QT0wLjE7Tj0xMDsNCnZhciB0PTAscz0xMCxmbGFnPTA7DQpwPWZ1bmN0aW9uKCl7JC5zYXZlKCk7DQokLnRyYW5zbGF0ZShDW1ddLzIsQ1tIXS8yKTsNCmZvcih2YXIgaT0wO2k8SztpKyspew0KJC5maWxsU3R5bGUgPSAncmdiKCcrKDUxKigodCtpKSVLKSkrJywnKygyNTUtNTEqKCh0K2kpJUspKSsnLDI1NSknOw0KJC5yb3RhdGUoTS5QSSoyL0spOw0KJC5iZWdpblBhdGgoKTsNCiQuYXJjKHMsMCw0LDAsTS5QSSoyLHRydWUpOw0KJC5maWxsKCk7DQp9DQppZighZmxhZyl7DQppZih0PjUwKQ0KZmxhZz0xOw0KZWxzZXsNCnMrPU0uZXhwKC1BKnQpKk47DQp0Kys7DQp9IA0KfWVsc2V7DQppZih0PDApDQpmbGFnPTA7DQplbHNlew0KdC0tOw0Kcy09TS5leHAoLUEqdCkqTjsNCn0NCn0NCiQucmVzdG9yZSgpOw0KJC5maWxsU3R5bGU9InJnYmEoMCwwLDAsMC4xKSI7DQokLmZpbGxSZWN0KDAsMCxDW1ddLENbSF0pOw0KfTsNCnNldEludGVydmFsKHAsNDApOw==
Original source not submitted