0x5b01ad62…e13fsent to0xa7d8d9ef…d270·#15,384,544·view on Etherscan
0;t<m.length;t++)for(let e=0;e<m[t].length;e++)m[t][e]=a[t*m[t].length+e];h=new Array(Math.ceil(p/C)).fill(0).map((t=>new Array(Math.ceil(1/C)).fill(0)));const r=s(new Array(u).fill(0).map(((t,e)=>e)));for(let t=0;t<h.length;t++)for(let e=0;e<h[t].length;e++)h[t][e]=r[t*h[t].length+e];T(),f=Math.floor(S*u),t.randomSeed(1e3*e()),t.noiseSeed(1e3*e()),t.noiseDetail(2),t.createCanvas(y*z(),b*z()),t.colorMode(t.HSL),t.angleMode(t.DEGREES),t.frameRate(60)},t.draw=()=>{j(z,t)},t.windowResized=()=>{var e;[/HeadlessChrome/i].some((t=>navigator.userAgent.match(t)))||(T(),e=Math.min(window.innerWidth/y,window.innerHeight),H=e,t.resizeCanvas(y*z(),b*z()))},t.keyPressed=()=>{const e={48:0,49:.25,50:.5,51:.75,52:1}[t.keyCode];if(null!=e&&(T(),f=Math.floor(e*u),console.log(`Setting glitch percentage to ${Math.round(100*e)}%`),t.loop()),83===t.keyCode){if(a)return;l&&(l=!1,t.frameRate(60)),console.log("Downloading print...");const e=t.createGraphics(Math.round(y*M),Math.round(b*M));e.colorMode(t.HSL),e.angleMode(t.DEGREES),e.pixelDensity(1),j((()=>M),e,!0),e.save("pointila-print.png"),console.log("Download of print complete.")}},t.mouseClicked=()=>{a||(l?(l=!1,t.frameRate(60)):(l=!0,t.frameRate(10),t.loop()))}}))})();