memoscan
← all memos

Memo 0xc329311c…d833fb on Ethereum

�ゥウェエォオカキクケコサシスセソタチッツテトナニヌネノハヒフヘホマミムメモャヤュユョヨラリルレロヮワヰヱヲンヵヶ・ーヽヿ".split("")}[b],j=[{class:Z,types:["chess","mirror","diagonal","corner","shear","zigzag","something"],specialTypes:[]},{class:te,types:["chess","simple"],specialTypes:["normal","half","third","quarter","max"]}],$=[j[1]];let K=["lr","tb","bt","rl","trbl","tlbr","brtl","bltr"],ee=["solid","lerp","gradient","noise"],ne=["tl","br","tr","bl"],re=!1,le=!1;m&&(j[0].types=[s(j[0].types)],j[1].types=[s(j[1].types)],ne=[s(ne)],re=s([1,2])),g&&(ee=[s(ee)],K=[s(K)],le=n(.1,4)),x&&j.shift();for(let t=0;t<3;t+=1)z(_,G,t,T||W,e,j,K,ee,ne,re,le,Q);const ae={1:.075,2:.075,3:.1,4:.2,5:.25},ce={1:.01,2:.025,3:.04,4:.05,5:.08};let de=ae[D];p5.offsetCoef=de,_.forEach((e=>{ie([e],1,"applyEffects","shrink",{amount:p5.offsetCoef}),o()>.5&&ie([e],1,"applyEffects","glitch2")}));const fe=void 0,ve={min:[10,20],mid:[10,50],max:[50,200]}[C];let we;he.background(O),ie([we],1,"processFunction",(()=>{we=createGraphics(xe[0],xe[1]),we.pixelDensity(1),y(we,G,Ae,Q,e),he.image(_[0].back,0,0,width,height),he.image(we,0,0,width,height)}));let ye=[8,16,32,64,128];const Ce=20,ke=.05,Fe=.025,De=o()>.9;for(let t=0;t<=Ce;t+=1){const i=s(ye);o()>.6&&ie([he],1,"processFunction",(()=>J(he,e,G,Ae))),o()>.8&&ie([he],1,"processFunction",(()=>J(he,e,G,Ae))),ie([he],1,"processFunction",(()=>J(he,e,G,Ae))),ie([he],1,"processFunction",(()=>N(he,e,G,Ae,_,i,r(...ve),F,w,[a,E],{filled:!1,iteration:t,doubleShadow:De}))),ie([{back:he}],1,"applyEffects","desaturate",{amount:1-ke*t,contrast:1.5-Fe*t})}let be,Se=de/(1+2*de),Ee,Be;ie([{back:he}],1,"applyEffects","shrink",{amount:p5.offsetCoef}),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,Se))),ie([he],1,"processFunction",(()=>{Ee=createGraphics(xe[0],xe[1]),Ee.pixelDensity(1),Ee.image(he,0,0,width,height)})),ie([he],1,"processFunction",(()=>{he.push(),he.noStroke(),he.rectMode(CENTER),he.translate(width/2,height/2),he.rotate(n(0,TWO_PI)),p(he,width/2,0,width/2,height,[0,1],l(B,2)),he.blendMode(ADD),he.rect(0,0,1.4*height,1.4*height),he.pop()})),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,0))),ie([he],1,"processFunction",(()=>N(he,e,G,Ae,_,8,r(8,16),!0,w,[a,E],{filled:!1,glitch:!0},0))),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,Se))),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,Se))),ie([he],1,"processFunction",(()=>z(I,G,0,T||[8,16,32,64],e,$,K,ee,ne,re,le,[],[Ee,we]))),ie([he],1,"processFunction",(()=>{Be=createGraphics(xe[0],xe[1]),Be.pixelDensity(1),Be.image(he,0,0,width,height),Be.image(we,0,0,width,height)})),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,Se))),ie([he],1,"processFunction",(()=>N(he,e,G,Ae,[{back:Ee},{back:Be}],16,r(4,16),!0,w,[a,E],{filled:!0,scheme:!0},Se))),ie([{back:he}],1,"applyEffects","shrink",{amount:ce[D]}),ie([he],1,"processFunction",(()=>z(I,G,0,T||[16,32,64],e,$,K,ee,ne,re,le,Q,[Ee,we,Be]))),ie([he],1,"processFunction",(()=>N(he,e,G,Ae,I,16,r(4,16),!0,w,[a,E],{filled:!1,backs2:!0,smallShadow:!0},0)));const Ge=width*ae[D],ze=height*ae[D];ie([he],1,"processFunction",(()=>k(he,Ae,Ge,ze))),ie([{back:he}],1,"applyEffects","grid",{amount:.1});let Le=!1;if(S||(Le="final"),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,0)),Le),S){let t;ie([he],1,"processFunction",(()=>{t=createGraphics(xe[0],xe[1]),t.pixelDensity(1),t.image(he,0,0,width,height)})),ie([{back:he}],1,"applyEffects","desaturate",{amount:1,contrast:1}),ie([he],1,"processFunction",(()=>N(he,e,G,Ae,[{back:t}],32,r(16,32),!0,!0,[a,E],{filled:!0,backs2:!0},Se))),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,0))),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,0))),ie([he],1,"processFunction",(()=>J(he,e,G,Ae,0)),"final")}Ae.setAlpha(255),pe=p5.shaderCanvas.createShader(d,oe)},ae(),windowResized()}let Ge=0,ze=20,Le=0,Oe=0,Pe=0;function draw(){if(2===p5.phase){if(frameRate(30),1===Be){const e=ue[frameCount%ue.length],t=ge[frameCount%ge.length];frameCount%20<10?t.setAlpha(map(frameCount%20,0,10,255,0)):t.setAlpha(map(frameCount%20,10,20,0,255)),ve.background(e),frameCount%20==0&&Ge++,ve.image(me[Ge%me.length].back,0,0,width,height),ve.push(),ve.noStroke(),ve.fill(t),ve.rect(0,0,width,height),ve.pop(),frameCount%5==0&&(Le=.2*de(),Oe=.2*de(),Pe=fe(-.5,1)),p5.shaderCanvas.push(),p5.shaderCanvas.shader(pe),pe.setUniform("v",ve),pe.setUniform("f",[width,height]),pe.setUniform("s",de()),pe.setUniform("t",map(sin(frameCount/10),-1,1,.01,Le)),pe.setUniform("x",Oe),pe.setUniform("y",Pe),p5.shaderCanvas.quad(-1,-1,1,-1,1,1,-1,1),p5.shaderCanvas.pop(),image(p5.shaderCanvas,0,0,width,height)}Fe=lerp(Fe,be,.2),De=lerp(De,Se,.2),we=lerp(we,Ce,.2),ye=lerp(ye,ke,.2),image(p5.finalImage,Fe-we/2,De-ye/2,we,ye),push(),drawingContext.shadowColor=Ae,drawingContext.shadowBlur=width/1e3*16,stroke(Ae),strokeWeight(8*se),noFill(),rect(0,0,width,height),pop()}}function mouseDragged(){be+=mouseX-pmouseX,Se+=mouseY-pmouseY}function mouseWheel(e){var t=-e.delta;if(t>0)for(let e=0;e<t;e+=1){if(Ce>10*width)return;be-=Ee*(mouseX-be),Se-=Ee*(mouseY-Se),Ce*=Ee+1,ke*=Ee+1}if(t<0)for(let e=0;e<-t;e+=1){if(Ce<.9*width)return;be+=Ee/(Ee+1)*(mouseX-be),Se+=Ee/(Ee+1)*(mouseY-Se),ke/=Ee+1,Ce/=Ee+1}}function doubleClicked(){we=Ce=width,ye=ke=height,Fe=be=we/2,De=Se=ye/2,Ee=.1}function windowResized(){const e=void 0,t=ce.canvas.style;let o,i;.666666666667*window.innerHeight>=window.innerWidth?(o=window.innerWidth,i=window.innerWidth/.666666666667):(i=window.innerHeight,o=.666666666667*window.innerHeight),t.position="absolute",t.display="block",t.top=t.left=t.right=t.structure="0",t.width=`${o}px`,t.height=`${i}px`}window.addEventListener("keydown",(e=>{"s"===e.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.')