- Author:
- Dex
- Twitter:
- @
- GitHub:
- Facebook:
- Google+:
- +
- Reddit:
- /r/
- Pouet:
- Website:
- Compo:
- classic
- Demo link:
- https://js1k.com/2010-first/demo/777
- Shortlink:
- https://js1k.com/777
- Blog post:
- please update here!
- Bytes:
- 400
- Chars:
- 400
- Submission
c=document.getElementById("c");g=c.getContext("2d");c.width=300;c.height=200;l=g.getImageData(0,0,300,200);p=l.data;function e(){for(i=24e4;i>0;i-=8){p[i]=(i>=237600)?255-(Math.floor(Math.random()*105)):(p[i+1200]+p[i+1196]+p[i+1204]*Math.random()+p[i-4]*Math.random()+p[i-1192])>>2;p[i+1]=Math.max(p[i]-48,0);p[i+3]=255;p[i+4]=p[i];p[i+5]=p[i+1];p[i+7]=255;}g.putImageData(l,0,0);}setInterval(e,60);
- Description
- No description submitted
- Base64 encoded
Yz1kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiYyIpO2c9Yy5nZXRDb250ZXh0KCIyZCIpO2Mud2lkdGg9MzAwO2MuaGVpZ2h0PTIwMDtsPWcuZ2V0SW1hZ2VEYXRhKDAsMCwzMDAsMjAwKTtwPWwuZGF0YTtmdW5jdGlvbiBlKCl7Zm9yKGk9MjRlNDtpPjA7aS09OCl7cFtpXT0oaT49MjM3NjAwKT8yNTUtKE1hdGguZmxvb3IoTWF0aC5yYW5kb20oKSoxMDUpKToocFtpKzEyMDBdK3BbaSsxMTk2XStwW2krMTIwNF0qTWF0aC5yYW5kb20oKStwW2ktNF0qTWF0aC5yYW5kb20oKStwW2ktMTE5Ml0pPj4yO3BbaSsxXT1NYXRoLm1heChwW2ldLTQ4LDApO3BbaSszXT0yNTU7cFtpKzRdPXBbaV07cFtpKzVdPXBbaSsxXTtwW2krN109MjU1O31nLnB1dEltYWdlRGF0YShsLDAsMCk7fXNldEludGVydmFsKGUsNjApOw==
- Original source
c=document.getElementById("c");
g=c.getContext("2d");
c.width=300;c.height=200;
l=g.getImageData(0,0,300,200);
p=l.data;
function e(){
for(i=24e4;i>0;i-=8){
p[i]=(i>=237600)?255-(Math.floor(Math.random()*105)):(p[i+1200]+p[i+1196]+p[i+1204]*Math.random()+p[i-4]*Math.random()+p[i-1192])>>2;
p[i+1]=Math.max(p[i]-48,0);
p[i+3]=255;
p[i+4]=p[i];
p[i+5]=p[i+1];
p[i+7]=255;}
g.putImageData(l,0,0);
}
setInterval(e,60);