0x85582125…5972sent to0x99a9b7c1…b069·#18,464,444·view on Etherscan
0),o),Oo(r))};r()},tr=()=>{if(Io)return;Po(0,"Drawing");let e=()=>{const t=Fo();let o=!1;for(;!o&&Fo()-t<50;)o=Zo();o?or():(Po(s($o/qo.length*100),"Drawing"),Oo(e))};e()};document.complete=!1;Fo();const or=()=>{document.body.removeChild(document.getElementById("loading")),document.complete=!0,Fo()};var rr;((t=2150)=>{const{innerWidth:o,innerHeight:r}=window;Eo=document.createElement("canvas"),Eo.style.backgroundColor="#000",Wo=Eo.style,Ro=Eo.getContext("webgl2",{antialias:!1,depth:!1,preserveDrawingBuffer:!0,premultipliedAlpha:!1,alpha:!1}),Ro||Mo("🚨 No WebGL2 support detected 🚨"),"drawingBufferColorSpace"in Ro?Ro.drawingBufferColorSpace="display-p3":Mo("🚨 No P3 Colour support detected 🚨"),Ro.enable(Ro.BLEND),Ro.blendFunc(Ro.SRC_ALPHA,Ro.ONE_MINUS_SRC_ALPHA),Ro.clearColor(1,1,1,1),Ro.clear(Ro.COLOR_BUFFER_BIT),document.body.appendChild(Eo),Vo=e(t*zo),No=e(t),o<r*zo?(Go=e(1.5*o),To=e(o)):(Go=e(r-0),To=e((r-0)*zo)),Eo.width=e(To*Uo),Eo.height=e(Go*Uo),Wo.width=To+"px",Wo.height=Go+"px"})(),S=new C(rr||D),(()=>{let e=document.createElement("a");addEventListener("keydown",(t=>{if("s"===t.key){e.setAttribute("download",`${D}.png`);let t=Eo.toDataURL("image/png").replace(/^data:image\/png/,"data:application/octet-stream");e.setAttribute("href",t),e.click()}}))})(),(()=>{je=S.dec();for(let e=0;e<500;e++)dt.push(S.dec());$e=S.choice(x);let e=S.weightedChoice([3,yo],[4,xo],[5,Co],[5,wo]);Je.h=S.num(.9,1),Je.s=S.num(.9,1);for(let e of Object.keys(co)){const t=co[e]>0;"bg"!=e&&"front"!=e&&(co[e]=t?co[e]+.03:co[e]-.015)}It=Vo/8,e(),"upLeft"==qe&&ho(),Ht=$e.suitability==p.generative||S.bool(50),$t[Ve.base]=So(),$t[Ve.alt]=10==$t[Ve.base]&&S.bool(50)?10:So(),go=S.int(1,3),lo&&(pt=.1,gt=0,ao||(co={up:0,down:0,left:0,right:0,upLeft:0,upRight:0,downLeft:0,downRight:0,front:0,bg:0})),Dt||(Ke=Ke.filter((([e,t])=>!(t%1))))})(),Oo&&Oo((()=>{Bo(),er()}));