Simple heart binary clock. My first ever demo submission so thank you to all other entries for tricks & to my girlfriend Lara for putting up with me whilst messing around with this
c.width=g=window.innerWidth;c.height=e=window.innerHeight;with(b.style)marginLeft=marginTop=0,overflow="hidden";f="px arial";m="#F00";n="#000";h="♥";k=function(a){return a.toString().length==1?"0"+a:a};c.style.background=n;z=function(b,c,d,e){a.font=g*.12+f;a.fillStyle=a.strokeStyle=e?"#FF6699":m;d?a.fillText(h,b,c):a.strokeText(h,b,c);a.font=g*.012+f;e?a.fillText(k(j)+":"+k(v)+":"+k(s),b+g*.013,c-g*.043):a;e?a.fillText("js1k",b+g*.026,c-g*.03):a};d=function(b,d){for(w=32,i=0;w>1,i<6;w=w/2,i++){z(c.width/2-g/3.6+i*(g/10),c.height/2+g/6.9-b*(g/9),d>=w,b==2&&i==0);d>=w?d-=w:a}};u=function(){a.clearRect(0,0,g,e);p=new Date;s=p.getSeconds();v=p.getMinutes();j=p.getHours();d(0,s);d(1,v);d(2,j);setInterval("u()",10)};u()
Yy53aWR0aD1nPXdpbmRvdy5pbm5lcldpZHRoO2MuaGVpZ2h0PWU9d2luZG93LmlubmVySGVpZ2h0O3dpdGgoYi5zdHlsZSltYXJnaW5MZWZ0PW1hcmdpblRvcD0wLG92ZXJmbG93PSJoaWRkZW4iO2Y9InB4IGFyaWFsIjttPSIjRjAwIjtuPSIjMDAwIjtoPSLimaUiO2s9ZnVuY3Rpb24oYSl7cmV0dXJuIGEudG9TdHJpbmcoKS5sZW5ndGg9PTE/IjAiK2E6YX07Yy5zdHlsZS5iYWNrZ3JvdW5kPW47ej1mdW5jdGlvbihiLGMsZCxlKXthLmZvbnQ9ZyouMTIrZjthLmZpbGxTdHlsZT1hLnN0cm9rZVN0eWxlPWU/IiNGRjY2OTkiOm07ZD9hLmZpbGxUZXh0KGgsYixjKTphLnN0cm9rZVRleHQoaCxiLGMpO2EuZm9udD1nKi4wMTIrZjtlP2EuZmlsbFRleHQoayhqKSsiOiIrayh2KSsiOiIrayhzKSxiK2cqLjAxMyxjLWcqLjA0Myk6YTtlP2EuZmlsbFRleHQoImpzMWsiLGIrZyouMDI2LGMtZyouMDMpOmF9O2Q9ZnVuY3Rpb24oYixkKXtmb3Iodz0zMixpPTA7dz4xLGk8Njt3PXcvMixpKyspe3ooYy53aWR0aC8yLWcvMy42K2kqKGcvMTApLGMuaGVpZ2h0LzIrZy82LjktYiooZy85KSxkPj13LGI9PTImJmk9PTApO2Q+PXc/ZC09dzphfX07dT1mdW5jdGlvbigpe2EuY2xlYXJSZWN0KDAsMCxnLGUpO3A9bmV3IERhdGU7cz1wLmdldFNlY29uZHMoKTt2PXAuZ2V0TWludXRlcygpO2o9cC5nZXRIb3VycygpO2QoMCxzKTtkKDEsdik7ZCgyLGopO3NldEludGVydmFsKCJ1KCkiLDEwKX07dSgp
c.width=g=window.innerWidth;
c.height=e=window.innerHeight;
with(b.style)marginLeft=marginTop=0,overflow="hidden";
f = 'px arial'
m = '#F00'
n = '#000'
h = '?'
k = function (l) {
return l.toString().length == 1 ? "0" + l : l;
}
c.style.background=n;
z = function (x,y,t,o) {
a.font = (g * 0.12) + f;
a.fillStyle=a.strokeStyle= o ? '#FF6699' : m;
t ? a.fillText(h, x, y) : a.strokeText(h, x, y);
a.font = (g * 0.012) + f;
o ? a.fillText(k(j) + ":" + k(v) + ":" + k(s), x + (g * 0.013), y - (g * 0.043)) : a
o ? a.fillText("js1k", x + (g * 0.026), y - (g * 0.03)) : a
}
d = function(y, t) {
for(w = 32, i = 0; w > 1, i < 6; w = w /2, i++) {
z((c.width / 2) - (g / 3.6) + (i*(g / 10)), (c.height / 2) + (g / 6.9) - (y * (g / 9)), t >= w, (y == 2 && i == 0));
t >= w ? t -= w : a
}
}
u = function() {
a.clearRect(0, 0, g, e)
p = new Date();
s = p.getSeconds()
v = p.getMinutes()
j = p.getHours()
d(0, s);
d(1, v);
d(2, j);
setInterval("u()", 10);
}
u();