Pinned Loading
-
-
Code golf - Red smilecube html demo ...
Code golf - Red smilecube html demo (629 bytes) 1<canvas id=c width=100 height=54 style=width:100px;height:100px;image-rendering:pixelated><script>(async b=>{let s=new Blob([Uint8Array.from(atob(b),c=>c.charCodeAt())]).stream().pipeThrough(new DecompressionStream("deflate"));let t=await new Response(s).text(),g=c.getContext("2d"),m=g.createImageData(100,54),d=m.data,p=0;for(let char of t)if(char>' ')d[i=p++*4]=(char=='+')*255,d[i+3]=255;g.putImageData(m,0,0)})("eJzt1tEKgCAMheH7oKfosvd/P6EsInTnaFIQ/26tfZpbbH0h5gkFBQXlC2XZIlx/ruxIrJiMPEvwrlqnxlBQUFBQUFBQ9GRWV/xpSw6herYcgRhzsnSMp+J7cRxnK+L2M1NP4p1X1tjhlBOZH9Wo5NO5p4s30NwvV6cQA7uyn2jt/T6CvyXKb5QEgpGaZA==")</script></canvas>
-
770 bytes black apples code golf (ht...
770 bytes black apples code golf (html, with AI) 1<canvas id=c width=40 height=33 style=width:100vw;height:100vh;image-rendering:pixelated><script>let c=document.getElementById('c'),x=c.getContext('2d'),W=40,H=33,t='4000000000000000000C207000007FA7FC0000FFFFFE0001FFFFFF0001C0EFFF0003E0FFFF8003E0FFFF8003F1FF1F8003FFFF1FC003FFFFFFC003FFFFFFC003FFFFFFC003FFFFFF8003FFFFFF8003FFFFFF8001FFFFFF8001FFFFFF8000FFFFFF0000FFFFFF00007FFFFE00007FFFFE00003FFFFC00001FFFFC00001FFFF8000007FFF0000003F3C00000000000000000000000',b=new Uint8Array(165),i=0,im=x.createImageData(W,H),d=im.data;for(;i<165;i++)b[i]=parseInt(t.substr(i*2,2),16);for(let j=0;j<1320;j++){let v=(b[j>>3]>>(7-(j&7)))&1?0:255;d[j*4]=d[j*4+1]=d[j*4+2]=v;d[j*4+3]=255}x.putImageData(im,0,0);c.style.background='url('+c.toDataURL()+')';x.clearRect(0,0,W,H)</script>
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.