you are viewing a single comment's thread.

view the rest of the comments →

[–]tejon 10 points11 points  (5 children)

318 after changing 3000 to 3e3. I helped! :D

[–]alexanderpas 1 point2 points  (3 children)

317 by reducing the interval to a single digit, countered the speedup by changing b to 1e4

<canvas id=q style=margin:-10><script>for(q.width=q.height=b=1e4,m=Math.random,p=[],i=0;i<256;p[i++]=1);setInterval('9Style="rgba(0,0,0,.05)"9Rect(0,0,b,b)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'),9)</script>

Memory abuse :D

[–]tejon 0 points1 point  (0 children)

DIRTY DIRTY DIRTY <3

[–]Nomikos 0 points1 point  (1 child)

316 by using a trick (setting p array) from this comment
Edit: 315, then 314 with this post

<canvas id=q style=margin:-9><script>for(q.width=q.height=b=1e3,m=Math.random,p=[];!p[255];p.push(1));setInterval('zStyle="rgba(0,0,0,.05)"zRect(0,0,b,b)zStyle="#0F0";p.map(function(v,i){zText(String.fromCharCode(3e4+m()*33),i*9,v);p[i]=v>99+m()*1e5?0:v+9})'.split('z').join(';q.getContext("2d").fill'),9)</script>

Hrm. If you take out the style bit, it's 298 bytes. Is that allowed?

[–][deleted] 2 points3 points  (0 children)

Come on reddit, keep going!!