memoscan
← all memos

Memo 0x9347ef83…5085ab on Ethereum

300,1e3)),d=1e4,c=2e4,fi2.fill(0,0,r(50,150))),4==b_pat&&(B=r(0,500),A=r(0,3.14*20),s=B*Math.cos(A),o=0,a=B*Math.sin(A),A=r(30,100)*u/(Math.min(m,100)/20),H=r(5,A+h)*Math.pow(r(1,3),g),f=H*(1e3-(a+700))/200*Math.pow(2-B/700,3)*(.03*m),a<-100&&(f*=3),n=A,l=A*r(.75,1.25),d=500,c=1e3,fi2.fill(0,0,200*(1-(a+300)/600)/u+r(-20,20))),5==b_pat&&(s=r(-1e3,1e3),o=0,H=((a=r(-500,500))+500)/1e3,n=r(10,50)*(.2+H),f=0,.4<noise((s+1e3)*D,(a+500)*v)?r(0,1)<x?f=10*(.2+H):(f=r(200,600)*(.2+H)*u,n*=r(1,2)*u,200<a&&Math.abs(s)<200&&(s=Math.round(s/(2*n))*n*2,a=Math.round(a/(2*n))*n*2,300<f&&(f*=.25),r(0,1)<.5&&(n*=.25))):(f=0,n=0),l=n,20<f?fi2.fill(0,0,100*(1-H)+r(-20,20)):fi2.fill(0,0,50*(1-H)+r(-10,10)),d=500,c=1e3),6==b_pat&&(s=r(-1100,1100),o=0,a=-700,B=r(10,100)*u,A=r(5,B+h)*Math.pow(r(1,3),g),f=A*(r(0,1)<.05?r(3,10):1),n=B,l=B*r(.75,1.25),d=700,c=700,fi2.fill(0,0,r(0,100))),7==b_pat&&(s=r(-1300,1300),o=0,a=300*Math.pow(t%3,.8)-300,G=Math.pow(1-a/750,1),G*=Math.pow(noise(s*D*u,a*v),1)*(2-2*(.3+tn3)),f=10+r(5,15)*G*Math.pow(3-t%3+1,2),f*=h,r(0,1)<.05&&(f*=2),n=r(5,15)*(3-t%3+1)*2*u,l=2*n*u,a+=r(-50,50),fi2.fill(0,0,70*Math.pow(t%3,1.5)+r(-30,30)),d=300,c=700),8==b_pat){s=r(-1e3,1e3),o=0;let t=((a=r(-1500,500))+1500)/2e3,e=(x&&(t=1-t),r(10,50));200<a&&(e=r(10,30)),n=e*(t+.2),f=0;var G=noise((s+1e3)*D*1,(a+500)*v*1);let i=1;x&&(i=3),.4<G?(f=r(100,800)*(.5*t+.2)*u*Math.pow(G,4)*3*i,n*=r(1,2)*u*Math.pow(G,4)*3*i,200<a&&Math.abs(s)<200?(s=Math.round(s/(2*n))*n*2,a=Math.round(a/(2*n))*n*2,300<f&&(f*=.25),r(0,1)<.5&&(n*=.25)):r(0,1)<.05&&(f*=3)):(f=0,n=0),l=n,fi2.fill(0,0,150-150*t+r(-20,20)),d=1500,c=2e3}9==b_pat&&(s=r(-1e3,1e3),o=0,E=((a=r(-500,500))+500)/1e3,n=r(10,50)*(.2+E),z=Math.pow(noise((s+1e3)*D,a*v),g),f=(1e3*z-200)*h*Math.min(1,1.5-E),l=n,fi2.fill(0,0,100*(1-E)+r(-20,20)),d=500,c=1e3),b&&(7==b_pat?fi2.fill(0,255,90*Math.pow(t%3,1.5)+r(-30,30)):9==b_pat||5==b_pat&&f<20?fi2.fill(0,255,100*(1-(a+d)/c)+r(-30,30)):fi2.fill(0,255,200*(1-(a+d)/c)+r(-30,30))),2!=b_pat&&fi4.fill(0,0,Math.max(0,(a+d)/c*200)+5);var z,E,I;fi2.translate(s,o,a),fi4.translate(s,o,a),fi2.rotateY(.19625),fi4.rotateY(.19625),M&&r(0,1)<y&&(z=r(.1*-p*1,.1*p*1),E=r(.1*-p*1,.1*p*1),I=r(-p,+p),fi2.rotateX(z),fi2.rotateY(E),fi2.rotateZ(I),fi4.rotateX(z),fi4.rotateY(E),fi4.rotateZ(I)),0<=f&&(fi2.box(n,f,l),9!=b_pat&&(I=Math.round(r(0,btex_n-1)),20<f&&(fi2.texture(btex[I]),fi2.box(n+2,f,l+2))),fi2.box(n,f,l),fi4.box(n,f,l)),fi2.pop(),fi4.pop()}fi2.translate(0,0,500),fi2.rotateX(1.57),fi4.translate(0,0,500),fi4.rotateX(1.57),fi2.normalMaterial(),fi2.noLights();let N=r(0,100),R=(5!=b_pat&&6!=b_pat||(N=100),r(0,255)),V=(b&&(R=0),fi2.fill(R,N,N,100),fi4.fill(255,0,175,255),0),F=(V=1==b_pat||8==b_pat?4e3:3==b_pat?1e4:2e3,fi2.plane(1e4,V),fi4.plane(1e4,V),fi2.rotateX(-1.57),fi2.translate(0,-1200,0),fi2.rotateX(1.57),fi2.fill(0,0,0,255),fi2.pop(),fi4.pop(),createGraphics(DeS,DeS,WEBGL));F.setAttributes("alpha",!0),F.noStroke(),F.background(0,0);t=F.createShader(vts2,fgs1);F.shader(t),sU(t,"ut",fi2),sU(t,"ut2",fi4),sU(t,"hol",!1),sU(t,"rad",.03),F.rect(0,0,DeS/2,DeS/2),F.resetShader(),F.shader(t),sU(t,"ut",F),sU(t,"ut2",fi4),sU(t,"hol",!0),sU(t,"rad",.03),F.rect(0,0,DeS/2,DeS/2),F.resetShader(),ig1=F.get(),ig2=fi4.get(),ig1.loadPixels(),ig2.loadPixels();for(let r=0;r<=DeS;r++)for(let t=0;t<=DeS;t++){var q=4*(r+t*DeS);0==ig2.pixels[0+q]&&0<ig2.pixels[2+q]&&10<ig1.pixels[3+q]&&ig1.pixels[3+q]<245&&(ig1.pixels[3+q]=255)}ig1.updatePixels(),F.remove(),fi2.remove(),fi4.remove()}function genBtex(){let e=createGraphics(100,500),i=1;2!=b_pat&&4!=b_pat||(i=.5);for(let t=0;t<btex_n;t++){e.clear();e.noFill();for(let t=0;t<500;t+=1)e.stroke(0,t),e.line(0,t,100,t);e.noStroke(),e.fill(0),tn17&&e.fill(0,0,0);var a=10*Math.round(r(2,4))*i,s=a*r(.3,.9);if(.1<r(0,1))if(t%3==0)for(let t=0;t<500;t+=a)e.rect(0,t,100,s);else if(t%3==1)for(let t=0;t<100;t+=a)e.rect(t,0,s,500);else if(t%3==2)for(let r=0;r<100;r+=a)for(let t=0;t<500;t+=.5*a)e.rect(r,t,s,.5*s);btex[t]=e.get()}}function genSkBg(){fi1.colorMode(RGB,255),fi1.strokeWeight(2);let e=.5<r(0,1),t=Math.round(r(120,295)),i=(255<t&&(t-=255),Math.round(Math.min(r(50,255),200))),a=(tn21&&(i=0),0);tn21&&(a=50);var s=Math.round(Math.min(r(75,255),255-a)),o=color(t,i,s);let n=Math.round(r(120,295));255<n&&(n-=255),i=Math.round(Math.min(r(50,255),200)),tn21&&(i=0);var s=Math.round(Math.min(r(75,255),255-a)),f=color(n,i,s);130<Math.abs(t-n)&&0==e&&r(0,1)<.8&&(e=!0),c_sky=f,c_sky2=o;for(let t=0;t<=100;t++)e?fi1.stroke(fi1.lerpColor(o,f,t/100)):fi1.stroke(lerpColor(o,f,t/100)),fi1.line(0,t,100,t)}function genMp(){fm.colorMode(RGB,1),fm.rectMode(CENTER);var p=r(5.5,6.5)*M*.5,h=r(.65,.8),m=tn20,w=tn4;fm.loadPixels();for(let r=0;r<=DW;r++)for(let t=0;t<=DH;t++){var e=color(((DW-DI)/2+.3*DI)/DW*255,127.5,0);fm.set(r-1,t,e)}fm.updatePixels();var u=(u=4e4/.75*2)*(DW/DI)*(DH/DI);ig2.loadPixels();for(let c=0;c<u;c++){var x=r(0,1)*DW,b=r(0,1)*DH;let t=r(0,5*m),e=t;var y=r(0,6.28318);let i=1;var g=4*(Math.round(x/DW*DeS)+Math.round(b/DH*DeS)*DeS),D=ig2.pixels[2+g],v=(ig2.pixels[3+g],0!=D?(v=1+2*Math.pow(D/255,2),i=.75<r(0,1)?1:v,t*=3*(Math.pow(D/255,2)+0),e*=3*(Math.pow(D/255,2)+0)):i*=2*Math.max(.5,Math.pow(1-b/DH*2,2)),ig2.pixels[0+g]);50<v&&3!=b_pat&&(i*=3*Math.max(.2,Math.pow(1-b/DH*2,2)),t*=r(1,5));let a=(x+t*Math.cos(y))/DW,s=(b+e*Math.sin(y))/DH,o=h,n=(r(0,1)<.01&&(a=r(0,1),s=r(0,1),o=.8*h),1),f=1,l=((3==b_pat||0==v&&0==D)&&c>.9985*u&&(i/=2*Math.max(.5,Math.pow(1-b/DH*2,2)),.5<r(0,1)&&(n=r(5,10)/2,f=r(5,10)/2,o=.85,3==b_pat&&(n*=.7,f*=.7))),0!=D&&(0!=v?(f*=.5,n/=.5):(n*=.5,f/=.5)),fm.fill(a,s,0,o),fm.push(),fm.translate(x,b),fm.rotate(w),p*r(.1,3)*n*i),d=p*r(.1,3)*f*i;0!=D&&(0!=v?d<M&&(d=M,l=Math.max(8*M,p*r(.1,3)*n*i)):l<M&&(l=M,d=Math.max(8*M,p*r(.1,3)*f*i))),fm.rect(0,0,l,d),fm.pop()}fm.blendMode(ADD)}function genCvs(){switch(Math.round(r(0,1))){case 0:cr1(15e4,0,.03,.01,50,1,.2,1),cr1(75e3,255,.05,.03,150,1,.2,1),cr1(1500,0,1,1,50,3,1,1.5),cr1(750,255,1,1,150,3,1,1.5),cr1(10,0,1,1,50,10,1,3);break;case 1:cr1(5e4,120,10,10,100,1,.2,.5),cr1(5e4,220,10,10,100,1,.2,.5),ci.image(ci,DW,0,-DW,DH,0,0,DW,DH),ci.image(ci,0,DH,DW,-DH,0,0,DW,DH);for(let t=0;t<3;t++)ci.image(ci,0,0,DW/2,DH/2,0,0,DW,DH),ci.image(ci,DW/2,0,DW/2,DH/2,0,0,DW,DH),ci.image(ci,0,DH/2,DW/2,DH/2,0,0,DW,DH),ci.image(ci,DW/2,DH/2,DW/2,DH/2,0,0,DW,DH);cr1(50,0,1,1,100,3,1,2)}}r=(t,r)=>R.r_n(t,r),nS=t=>{t.noStroke()},pD=t=>{t.pixelDensity(1)},sU=(t,r,e)=>{t.setUniform(r,e)},cG=t=>createGraphics(DeS,DeS,t),cG2=t=>createGraphics(DW,DH,t),cr1=(e,i,a,p,s,h,o,n)=>{e=e*(DW/DI)*(DH/DI);for(let t=0;t<e;t++){var f=r(0,DeS*DW/DI),l=r(0,DeS*DH/DI);for(let t=0;t<h;t++){var d=r(o,n)*M,c=r(o,n)*M;let t=d*c<.5?M*M:M;ci.fill(i,noise(f*a,l*p)*min(s*t,s)),ci.ellipse((f+r(-o,o))*M,(l+r(-o,o))*M,d,c)}}};var wslgm=2e3,wslgs=16e3;function generateNoise(){if(AudioContext){const t=aCtx.createBuffer(1,3*aCtx.sampleRate,aCtx.sampleRate),r=t.getChannelData(0);for(let t=0;t<3*aCtx.sampleRate;t++)r[t]=Math.random(-1,1);(gainNode=aCtx.createGain()).connect(aCtx.destination),gainNode.gain.value=0,gainNode.gain.setValueAtTime(1,aCtx.currentTime),(adfl4=aCtx.createBiquadFilter()).type="notch",adfl4.frequency.setValueAtTime(tn22,aCtx.currentTime),adfl4.Q.setValueAtTime(10,aCtx.currentTime),adfl4.connect(gainNode),(adfl=aCtx.createBiquadFilter()).type="lowpass",adfl.frequency.setValueAtTime(2e4,aCtx.currentTime),adfl.Q.setValueAtTime(.01,aCtx.currentTime),adfl.connect(adfl4),(adfl2=aCtx.createBiquadFilter()).type="notch",adfl2.frequency.setValueAtTime(22e3,aCtx.currentTime),adfl2.Q.setValueAtTime(.01,aCtx.currentTime),adfl2.connect(adfl),(adfl3=aCtx.createBiquadFilter()).type="highpass",adfl3.frequency.setValueAtTime(tn19,aCtx.currentTime),adfl3.Q.setValueAtTime(.01,aCtx.currentTime),adfl3.connect(adfl2),(wns=aCtx.createBufferSource()).buffer=t,wns.connect(adfl3),wns.loop=!0}}function keyPressed(){"c"!=key&&"C"!=key||(t49=!t49),"s"!=key&&"S"!=key||save(tokenData.hash+".png"),"ArrowUp"==key&&flve++,"ArrowDown"==key&&flve--,5<(flve=flve<1?1:flve)&&(flve=5)}function mousePressed(){first&&(first=!1,generateNoise(),wns.start())}function mouseReleased(){} // I dedicate this work to my uncle, Yoshihiro Tanimoto. // In 1993, when I was 10 years old, he showed me his Macintosh LC 520, which changed my life and shaped who I am today. He has Parkinson's disease and esophageal cancer and now refuses life-prolonging treatment. He is told he has only a few months to live. I pray that his soul will depart in peace. // // I thank everyone at ArtBlocks from the bottom of my heart. It really is a great platform. I was truly excited when I discovered ArtBlocks and secretly vowed to give it my all. I could not have done this work if it were not for ArtBlocks. I would like to thank sross and madpinney for always being so encouraging and kind to me. // // I always give my utmost thanks to my wife and daughter. // // // Kazuhiro Tanimoto Feb. 11, 2023