(function(){var a,c,f,j=0,k=300,l=90,d,e=[],g,h=0,n=document;n.write("<style>*{margin:0;position:absolute;background:#000}</style>");a=n.getElementById("c");c=a.width=innerWidth;f=a.height=innerHeight;a=a.getContext("2d");var m=function(){k=k*Math.random()+10;l=l*(Math.random()-0.5)+1;d=c*(Math.random()-0.5);for(var b=0;b<3;b++)e[b]=Math.round(Math.random()*255);g=Math.round(Math.random()*3)-1;j=0},i=function(){a.restore();a.fillStyle="#"+(h?"FFF":"000");a.fillRect(0,0,c,f);a.fillStyle="#"+(h?"000": "FFF");a.fillText("Click - random effect",c-155,f-20);a.fillText("Space - invert background color",c-155,f-5);a.save()};window.onclick=function(){m();i()};m();i();window.addEventListener("keydown",function(b){if(b.keyCode==32){h=!h;i()}},false);a.save();setInterval(function(){a.translate(c+d,f+d);for(var b=0;b<k;b++){a.beginPath();a.moveTo(c/2+d,f/2+d);a.lineWidth=0.1;a.lineTo(d,d);a.rotate(l);if(e[g]<=0)e[g]=255;e[g]--;a.strokeStyle="rgb("+e[0]+","+e[1]+","+e[2]+")";a.stroke();++j}if(j>1E5){m(); i()}},1)})();
KGZ1bmN0aW9uKCl7dmFyIGEsYyxmLGo9MCxrPTMwMCxsPTkwLGQsZT1bXSxnLGg9MCxuPWRvY3VtZW50O24ud3JpdGUoIjxzdHlsZT4qe21hcmdpbjowO3Bvc2l0aW9uOmFic29sdXRlO2JhY2tncm91bmQ6IzAwMH08L3N0eWxlPiIpO2E9bi5nZXRFbGVtZW50QnlJZCgiYyIpO2M9YS53aWR0aD1pbm5lcldpZHRoO2Y9YS5oZWlnaHQ9aW5uZXJIZWlnaHQ7YT1hLmdldENvbnRleHQoIjJkIik7dmFyIG09ZnVuY3Rpb24oKXtrPWsqTWF0aC5yYW5kb20oKSsxMDtsPWwqKE1hdGgucmFuZG9tKCktMC41KSsxO2Q9YyooTWF0aC5yYW5kb20oKS0wLjUpO2Zvcih2YXIgYj0wO2I8MztiKyspZVtiXT1NYXRoLnJvdW5kKE1hdG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