memoscan
← all memos

Memo 0xa0e707fd…635836 on Ethereum

t:1-bt*e,contrast:1.5-Et*e})}let Bt,Gt=wt/(1+2*wt);it=x(ot,it,t,"shrink",{amount:wt}),q(it,t,L,St,Gt);const zt=createGraphics(gt[0],gt[1]);zt.pixelDensity(1),zt.image(it,0,0,width,height),it.push(),it.noStroke(),it.rectMode(CENTER),it.translate(width/2,height/2),it.rotate(n(0,TWO_PI)),d(it,width/2,0,width/2,height,[0,1],l(z,2)),it.blendMode(ADD),it.rect(0,0,1.4*height,1.4*height),it.pop(),q(it,t,L,St,0),P(it,t,L,St,W,8,r(8,16),!0,C,[a,B],{filled:!1,glitch:!0},0),q(it,t,L,St,Gt),D(T,L,0,M||[8,16,32,64],t,rt,st,at,pt,ft,mt,[],[zt,kt]),P(it,t,L,St,T,16,r(4,8),!0,C,[a,B],{filled:!1,scheme:!0,smallShadow:!0},Gt);const Lt=createGraphics(gt[0],gt[1]);Lt.pixelDensity(1),Lt.image(it,0,0,width,height),Lt.image(kt,0,0,width,height),q(it,t,L,St,Gt),P(it,t,L,St,[{back:zt},{back:Lt}],16,r(4,16),!0,C,[a,B],{filled:!0,scheme:!0},Gt),it=x(ot,it,t,"shrink",{amount:xt[b]}),D(T,L,0,M||[16,32,64],t,rt,st,at,pt,ft,mt,tt,[zt,kt,Lt]),P(it,t,L,St,T,16,r(4,16),!0,C,[a,B],{filled:!1,backs2:!0,smallShadow:!0},0);const Ot=width*vt[b],_t=height*vt[b];if(k(it,St,Ot,_t),it=x(ot,it,t,"grid",{amount:.1}),q(it,t,L,St,0),A){const e=createGraphics(gt[0],gt[1]);e.pixelDensity(1),e.image(it,0,0,width,height),it=x(ot,it,t,"desaturate",{amount:1,contrast:1}),P(it,t,L,St,[{back:e}],32,r(16,32),!0,!0,[a,B],{filled:!0,backs2:!0},Gt),q(it,t,L,St,0),q(it,t,L,St,0),q(it,t,L,St,0)}lt.image(it,0,0,width,height),St.setAlpha(255),nt=ot.createShader(p,j),ut=2},windowResized()}let Et=0,At=20,Bt=0,Gt=0,zt=0;const Lt="OVERLOADING";function draw(){if(background(0),0===ut){let t=map(frameCount%31,0,30,1,1.01),e=map(frameCount%31,0,30,1,.99),i=map(frameCount%31,0,30,0,width);push(),rectMode(CENTER),noStroke(),fill(at),rect(width/2,height/2,i,2*K),pop(),textSize(80*K),noStroke(),textAlign(CENTER,CENTER),fill(pt[0]),text("OVERLOADING",width/2,height/2),fill(pt[1]),text("OVERLOADING",width/2*t,height/2*t),fill(pt[2]),text("OVERLOADING",width/2*e,height/2*e),frameCount>30&&0===ut&&tt()}else if(2===ut){if(frameRate(30),1===bt){const t=ht[frameCount%ht.length],e=ct[frameCount%ct.length];frameCount%20<10?e.setAlpha(map(frameCount%20,0,10,255,0)):e.setAlpha(map(frameCount%20,10,20,0,255)),ft.background(t),frameCount%20==0&&Et++,ft.image(dt[Et%dt.length].back,0,0,width,height),ft.push(),ft.noStroke(),ft.fill(e),ft.rect(0,0,width,height),ft.pop(),frameCount%5==0&&(Bt=.2*rt(),Gt=.2*rt(),zt=st(-.5,1)),ot.push(),ot.shader(nt),nt.setUniform("v",ft),nt.setUniform("f",[width,height]),nt.setUniform("s",rt()),nt.setUniform("t",map(sin(frameCount/10),-1,1,.01,Bt)),nt.setUniform("x",Gt),nt.setUniform("y",zt),ot.quad(-1,-1,1,-1,1,1,-1,1),ot.pop(),image(ot,0,0,width,height)}yt=lerp(yt,kt,.2),Ct=lerp(Ct,Ft,.2),mt=lerp(mt,xt,.2),vt=lerp(vt,wt,.2),image(lt,yt-mt/2,Ct-vt/2,mt,vt),push(),drawingContext.shadowColor=St,drawingContext.shadowBlur=width/1e3*16,stroke(St),strokeWeight(8*K),noFill(),rect(0,0,width,height),pop()}}function mouseDragged(){kt+=mouseX-pmouseX,Ft+=mouseY-pmouseY}function mouseWheel(t){var e=-t.delta;if(e>0)for(let t=0;t<e;t+=1){if(xt>10*width)return;kt-=Dt*(mouseX-kt),Ft-=Dt*(mouseY-Ft),xt*=Dt+1,wt*=Dt+1}if(e<0)for(let t=0;t<-e;t+=1){if(xt<.9*width)return;kt+=Dt/(Dt+1)*(mouseX-kt),Ft+=Dt/(Dt+1)*(mouseY-Ft),wt/=Dt+1,xt/=Dt+1}}function doubleClicked(){mt=xt=width,vt=wt=height,yt=kt=mt/2,Ct=Ft=vt/2,Dt=.1}function windowResized(){const t=void 0,e=et.canvas.style;let i,o;.666666666667*window.innerHeight>=window.innerWidth?(i=window.innerWidth,o=window.innerWidth/.666666666667):(o=window.innerHeight,i=.666666666667*window.innerHeight),e.position="absolute",e.display="block",e.top=e.left=e.right=e.structure="0",e.width=`${i}px`,e.height=`${o}px`}window.addEventListener("keydown",(t=>{"s"===t.key&&saveCanvas(tokenData.hash,"png")}));console.log('I never intended to and do not intend to kill myself, and if anything happens to me, there can only be one reason - those people behind the fabricated criminal case against me. Shvembldr.')