Re:The Matrix in JavaScript in less than 600 bytes
by seanalltogether on Sunday March 17, 2013 @04:32AM
(#5388580)
here it is at 324 bytes, since your going to end up with scrollbars no matter what, you might as well not worry about document size
edit... and at 319
[ Parent
| on HN ]
Re:The Matrix in JavaScript in less than 600 bytes
by inoop on Sunday March 17, 2013 @05:29AM
(#5388667)
If this is your thing, why not enter something for js1k? http://js1k.com/2013-spring/
Re:The Matrix in JavaScript in less than 600 bytes
by moollaza on Sunday March 17, 2013 @11:41AM
(#5389568)
Looks like there's already a very similar submission: http://js1k.com/2013-spring/demo/1382. This one however is significantly better.
Re:The Matrix in JavaScript in less than 600 bytes
by jpwagner on Sunday March 17, 2013 @10:47AM
(#5389338)
They need to publicize this more. It was really fun in 2010, and I didn't even know they decided to do it annually since!
Re:The Matrix in JavaScript in less than 600 bytes
by inoop on Sunday March 17, 2013 @02:04PM
(#5390242)
Shameless self-promotion: http://js1k.com/2013-spring/demo/1423
Re:The Matrix in JavaScript in less than 600 bytes
by MrNibbles on Sunday March 17, 2013 @07:07PM
(#5391489)
Nice work.
Re:The Matrix in JavaScript in less than 600 bytes
by Guillaume86 on Sunday March 17, 2013 @04:17PM
(#5390829)
nice, and if you want to test it quickly, just paste it in the address bar:
data:text/html,<canvas id=q width=3000 height=3000 style=margin:-10><script>for(m=Math.random,p=[],i=0;i<256;p[i++]=1);setInterval('9Style="rgba(0,0,0,.05)"9Rect(0,0,3000,3000)9Style="#0F0";p.map(function(v,i){9Text(String.fromCharCode(3e4+m()*33),i*10,v);p[i]=v>758+m()*1e4?0:v+10})'.split(9).join(';q.getContext("2d").fill'),33)</script>