eleMental clock show a clock where the position of the green balls are the seconds, the red ones the minutes and the blue one the hours.
for(_='tec.360,r*dr)s(e-=*(ball(",,r=140upda0)(),r,!,"1econdsunction 1,6,3,2),arc(cx 00t.getstrokeStyle=beginPathS,fill60*Minus+)/ft,e,r,l,a,i,n){t +r*ci,cy+r*n,a,7),l&&}f{t=new Da,m=(10-9hHours%12*+4320-9t1e3*+Millis)/6e3-9m=(rm+6)%h=(rh+1%"#0""whi"Rect(4848;for(var e=rt;rt+0>e;e+=12 ,cy,14(e+1*dr,(e+11,#CCelimee+50*s((rm+e)#ccmredm;r=20+20*s(rh#cch2blueh1,12,6,4)"#0font="30px Arial"Text(t.toTimeString,444}var s=sin,cs=cos,dr=PI/18cx=2,cy=2,r=15t=m=h=t,m,h;setInrval(,5;';g=/[-]/.exec(_);)with(_.split(g))_=join(shift());with(Math)eval(_)
Zm9yKF89J3RlH2MuHjM2HTAsHBxyGypkcikacyhlGi0ZPR0qKBhiYWxsKBciLBYscj0xNDAVdXBkYR8UMCkTKCkSLHIsIREsFyIQERwxHBwTEA9lY29uZHMSDnVuY3Rpb24gDBExLDYsMywyKQssHmFyYyhjeAkwMAh0LmdldAcec3Ryb2tlBlN0eWxlPQUeYmVnaW5QYXRoEgQHUw4DLB5maWxsAjYwKgdNaW51H3MSKwMpLwFmDBd0LGUscixsLGEsaSxuKXsEAgV0CStyKmMZaSxjeStyKhluLGEsHDcpLGwmJgYSAhJ9ZgwUEnt0PW5ldyBEYR8sbT0oATEwLTkcaBgHSG91cnMSJTEyKh0IKwE0MzIwLTkbdBgxZTMqAysHTWlsbGlzDikvNmUzLTkbbT0ocm0rNiklHRtoPShyaCsxEyUdHAYFIiMwIgIFIndoaR8iAlJlY3QoHBw0OBw0OBM7Zm9yKHZhciBlPXJ0O3J0Kx0wPmU7ZSs9MTITBAksY3ksMTQcKGUrMRMqZHIsKGUrMTETGiwGEhUQIwhDQwgWZQ9saW1lFmULFSs1MCpzKChybStlKRoQI2NjCAgWbQ9yZWQWbQs7cj0yMCsyMCpzKHJoGhAjCAhjYxZoERwyHBwTEGJsdWUWaBExLDEyLDYsNCkCBSIjCDAWHmZvbnQ9IjMwcHggQXJpYWwiAlRleHQodC50b1RpbWVTdHJpbmcSLDQcNDQTfXZhciBzPXNpbixjcz1jb3MsZHI9UEkvMTgcY3g9MggsY3k9Mggscj0xNRt0PRttPRtoPRx0LG0saDtzZXRJbh9ydmFsKBQsNRM7JztnPS9bAS0fXS8uZXhlYyhfKTspd2l0aChfLnNwbGl0KGcpKV89am9pbihzaGlmdCgpKTt3aXRoKE1hdGgpZXZhbChfKQ==
var s=Math.sin;
var cs=Math.cos;
var dr=Math.PI/180;
var cx=200;
var cy=200;
var r=150;
var rt=0;
var rm=0;
var rh=0;
var t,m,h;
setInterval(update,50);
function ball(l,i,r,v,w,x,y){
c.beginPath();
c.fillStyle=l;
c.arc(cx+r*cs(i*dr)-x,cy+r*s(i*dr)-y,w,0,7);
if (v) c.stroke();
c.fill();
}
function update(){
t=new Date();
m=((t.getMinutes()*60+t.getSeconds())/10)-90;
h=(((t.getHours()%12)*3600+t.getMinutes()*60+t.getSeconds())*36/4320)-90;
rt = ((t.getSeconds()*1000+t.getMilliseconds())*36/6000)-90;
rm=(rm+6)%360;
rh=(rh+10)%360;
c.strokeStyle="#0";
c.fillStyle='white';
c.fillRect(0,0,480,480);
for (var i=rt;i<rt+360;i+=120) {
c.beginPath();
c.arc(cx,cy,140,(i+10)*dr,(i+110)*dr);
c.stroke();
r=140;
ball("#00CC00",i,r,true,10,0,0);
ball("lime",i,r,false,6,3,2);
r = 140+50*s((rm+i)*dr);
ball("#cc0000",m,r,true,10,0,0);
ball("red",m,r,false,6,3,2);
}
r = 20+20*s(rh*dr);
ball("#0000cc",h,r,true,20,0,0);
ball("blue",h,r,false,12,6,4);
c.fillStyle="#000";
c.font="30px Arial";
c.fillText(t.toTimeString(),40,440);
}