0x2f55e30c…96d5sent to0x99a9b7c1…b069·#16,602,550·view on Etherscan
p5.disableFriendlyErrors=!0;var R,DeS,DW,DH,DI,M,H,t49,hc,hs,hb,bs,bb,iv,rtp,bipat,cvp,g3,d1,fi1,fi2,fi3,fi4,fi5,f1,f2,f3,f4,f5,bi,ci,bi2,fm,ig1,ig2,vts=`
precision mediump float;varying vec2 vTexCoord;attribute vec3 aPosition;attribute vec2 aTexCoord;void main(){vTexCoord=aTexCoord;vec4 po=vec4(aPosition,1.);po.xy=po.xy*2.-1.;gl_Position=po;}
`,vts2=`
precision mediump float;varying vec2 vTexCoord;attribute vec3 aPosition;attribute vec2 aTexCoord;uniform mat4 uProjectionMatrix;uniform mat4 uModelViewMatrix;void main(){vTexCoord=aTexCoord;vec4 po=vec4(aPosition,1.);po.xy=po.xy*2.-1.;gl_Position=po;gl_Position=uProjectionMatrix*uModelViewMatrix*po;}
`,fgs1=`
precision mediump float;varying vec2 vTexCoord;uniform sampler2D ut;uniform sampler2D ut2;uniform bool hol;uniform float rad;void main(){vec2 xy=vTexCoord;float px=rad;float mrad=0.;vec4 tt=vec4(0.);float wt=0.;for(float i=-1.;i<=1.;i+=.1){for(float k=-1.;k<=1.;k+=.1){float rrd=texture2D(ut2,xy+vec2(px*i,px*k)).b*(1.-abs(i))*(1.-abs(k));if(rrd>mrad)mrad=rrd;}}mrad=pow(mrad,3.);for(float i=-1.;i<=1.;i+=.1){float w=1.2-abs(i);if(hol){tt+=texture2D(ut,xy+vec2(px*i*mrad,0.))*w;}else{tt+=texture2D(ut,xy+vec2(0.,px*i*mrad))*w;}wt+=w;}tt/=wt;gl_FragColor=vec4(tt);}
`,fgs2=`
precision mediump float;varying vec2 vTexCoord;uniform sampler2D ut;uniform sampler2D ut2;uniform sampler2D map;uniform float nz;uniform float time;float cal1(float wat,float a,float xy,float b,float fiy){return sin(wat*time*a*sin(xy*b))*fiy;}void main(){vec2 xy=vTexCoord;xy.y=1.-xy.y;vec4 tx=texture2D(ut,xy);vec2 pxy=texture2D(map,xy).xy;float wat=texture2D(ut2,xy).r;float fiy=.5+pow(xy.y*2.-1.,2.)*.5;float px=pxy.x+(cal1(wat,.3,pxy.y,5000.,fiy)+cal1(wat,.5,pxy.y,7000.,fiy))*4e-3;float py=pxy.y+(cal1(wat,.5,pxy.x,1000.,fiy)+cal1(wat,.8,pxy.x,3000.,fiy))*2e-3;tx=texture2D(ut,vec2(px,py));tx.r-=sin(pxy.x*pxy.y*47385.)/nz;tx.g-=sin(pxy.x*pxy.y*37385.)/nz;tx.b-=sin(pxy.x*pxy.y*27385.)/nz;gl_FragColor=tx;}
`,fgs3=`
precision mediump float;varying vec2 vTexCoord;uniform sampler2D ut;uniform float time;uniform float wv;void main(){vec2 xy=vTexCoord;xy.y=1.-xy.y;for(float i=1.5;i<6.;i+=1.){xy.x+=sin(xy.y*pow(1.5,i)+xy.y*pow(1.4,i)+(time+wv)*1e-3*i)*.15/i;xy.y+=cos(xy.x*pow(2.,i)+xy.x*pow(1.8,i)+(time+wv)*1e-3*i)*(.2-pow(xy.y,1.)*.1)/i;}vec4 tt=texture2D(ut,xy);gl_FragColor=tt;}
`,fgs4=`
precision mediump float;varying vec2 vTexCoord;uniform float time;uniform float ints;uniform float velo;uniform float plg;uniform float tr,tg,tb;uniform float s4a1,s4a2,s4a3,s4a4;uniform float s4b1,s4b2,s4b3,s4b4;uniform float s4c1,s4c2,s4c3,s4c4;uniform float s4d1,s4d2,s4d3,s4d4;void main(){vec2 xy=vTexCoord;xy.y=1.-xy.y;float color=0.;xy.x-=.5;xy.x+=xy.x*pow(1.-xy.y,1.5);xy.x+=.5;for(float i=0.;i<10.;i+=1.){float a=sin(6.28*s4a1*i*(time*i*s4b1*velo-xy.x/s4c1)+i*s4d1);float b=sin(6.28*s4a2*i*(time*i*s4b2*velo-xy.x/s4c2)+i*s4d2);float c=sin(6.28*s4a3*i*(time*i*s4b3*velo+xy.x/s4c3)+i*s4d3);float d=sin(6.28*s4a4*i*(time*i*s4b4*velo+xy.x/s4c4)+i*s4d4);color+=pow(a,3.)*.03*ints+pow(b,3.)*.03*ints;color+=pow(c,3.)*.03*ints+pow(d,3.)*.03*ints;}color*=pow(sin(3.14*xy.x),4.)*pow(sin(3.14*.5*(1.-xy.y)),plg);gl_FragColor=vec4(vec3(color*tr,color*tg,color*tb),1.);}
`,fgs5=`
precision mediump float;varying vec2 vTexCoord;uniform float time;uniform float rrt,grt,brt;uniform float rr1,rr2,rg1,rg2,rb1,rb2;uniform float tr1,tr2,tg1,tg2,tb1,tb2;uniform float sr1,sr2,sg1,sg2,sb1,sb2;uniform bool bw;void main(){vec2 xy=vTexCoord;float r=sin(rr1*(time*tr1-xy.x/sr1)+1.1)+sin(rr2*(time*tr2-xy.y/sr2)+2.2);float g=sin(rg1*(time*tg1+xy.x/sg1)+3.3)+sin(rg2*(time*tg2+xy.y/sg2)+4.4);float b=sin(rb1*(time*tb1+xy.x/sb1)+5.5)+sin(rb2*(time*tb2+xy.y/sb2)+6.6);if(bw)gl_FragColor=vec4((r+g+b)*rrt,(r+g+b)*rrt,(r+g+b)*rrt,1.);else gl_FragColor=vec4(r*rrt,g*grt,b*brt,1.);}
`;class Random{constructor(){this.uA=!1;function t(t){let r=parseInt(t.substr(0,8),16),e=parseInt(t.substr(8,8),16),i=parseInt(t.substr(16,8),16),a=parseInt(t.substr(24,8),16);return function(){r|=0,e|=0,i|=0,a|=0;var t=(r+e|0)+a|0;return a=a+1|0,r=e^e>>>9,e=i+(i<<3)|0,i=(i=i<<21|i>>>11)+t|0,(t>>>0)/4294967296}}this.pA=new t(tokenData.hash.substr(2,32)),this.pB=new t(tokenData.hash.substr(34,32));for(let t=0;t<1e6;t+=2)this.pA(),this.pB()}r_d(){return this.uA=!this.uA,this.uA?this.pA():this.pB()}r_n(t,r){return t+(r-t)*this.r_d()}}class point{constructor(t,r,e,i,a,s,o,n,f,l,d,c,p){this.x=t,this.y=r,this.vx=e,this.vy=i,this.rx=a,this.ry=s,this.rvx=o,this.rvy=n,this.sz=f,this.stsz=l,this.hue=d,this.sat=c,this.bri=p}udc(t,e,i,a){let s=wv_s*Math.min(1,wv_k1)*3*this.vx,o=1-Math.min(1,Math.max(0,this.y/DeS)),n=(3==b_pat&&(o=.5),this.sz*Math.pow(1+o,4)*.5);s*=3!=b_pat?(o+.03)*e:.33*e;e=Math.atan2(this.y-a,this.x-i);let f=t<.5*cldn?.3:1;this.x+=s*Math.cos(e)*f*flve,this.y+=s*Math.sin(e)*f*flve,(this.x>DeS+2*n*1.6*tn23||this.x<2*-n*1.6*tn23||this.y>DeS+2*n*1.6*tn24||this.y<2*-n*1.6*tn24)&&(this.sz=Math.pow(r(tn8,tn9),2),.5<r(0,1)?(this.y=noise(t*tn11,frameCount*tn25)*DeS,o=1-Math.min(1,Math.max(0,this.y/DeS)),3==b_pat&&(o=.5),n=this.sz*Math.pow(1+o,4)*.5,this.x=.5<r(0,1)?1.6*-n*tn23+1:DeS+1.6*n*tn23-1):(this.y=.5<r(0,1)?-this.sz*Math.pow(2,4)*.5*1.6*tn24+1:DeS+this.sz*Math.pow(1,4)*1.6*tn24-1,3==b_pat&&(this.y=.5<r(0,1)?-this.sz*Math.pow(1.5,4)*.5*1.6*tn24+1:DeS+this.sz*Math.pow(1.5,4)*.5*1.6*tn24-1),this.x=noise(t*tn10,frameCount*tn25)*DeS))}udc2(t,e,i){let a=(wv_s*Math.min(1,wv_k1)*1.5+.3)*Math.pow(this.vx,2)*Math.pow(this.sz,2)*.6-2*Math.pow(this.sz,2);var s=3*(noise(this.hue*this.sz*.06,.03*this.x,.001*frameCount)-.5),o=1-Math.min(1,Math.max(0,this.y/DeS)),o=(o*=o,a*=3!=b_pat?3*(.03+o)*t:t,Math.atan2(this.y-i,this.x-e));this.x+=(a*Math.cos(o)+s*Math.cos(o+1.57))*flve,this.y+=(a*Math.sin(o)+s*Math.sin(o+1.57))*flve,(this.x>DeS+10||this.x<-10||this.y>DeS+10||this.y<-10)&&(.5<r(0,1)?(this.x=.5<r(0,1)?-5:DeS+5,this.y=r(0,DeS)):(this.y=.5<r(0,1)?-5:DeS+5,this.x=r(0,DeS)),this.hue=r(0,255)),this.rx+=this.rvx+a*Math.cos(o)*.3,this.ry+=this.rvy+a*Math.sin(o)*.3}}var tn1,tn2,tn3,tn4,tn5,tn6,tn7,tn8,tn9,tn10,tn11,tn12,tn13,tn14,tn15,tn16,tn17,tn18,tn19,tn20,tn21,tn22,tn23,tn24,tn25,tn26,b_pat,pp_n,c_sky,c_sky2,sd1,sd2,sd3,sd4,sd5,rrt,grt,brt,rr1,rr2,rg1,rg2,rb1,rb2,tr1,tr2,tg1,tg2,tb1,tb2,sr1,sr2,sg1,sg2,sb1,sb2,s4a1,s4a2,s4a3,s4a4,s4b1,s4b2,s4b3,s4b4,s4c1,s4c2,s4c3,s4c4,s4d1,s4d2,s4d3,s4d4,s4e1,s4e2,s4e3,wv_s,btex=[],btex_n=18,flve=1,first=!0,sound=!0;const aCtx=new AudioContext;var wv_s_f=!1;function setFeatP(){11==(b_pat=10==(b_pat=Math.round(r(0,11)))?8:b_pat)&&(b_pat=0),tn6=!1,tn7=Math.round(r(0,2)),tn8=Math.round(r(2,4)),tn9=Math.round(r(tn8+1,6)),tn10=Math.pow(10,r(1,-3)),tn11=Math.pow(10,r(1,-3)),tn12=r(0,1)<.5,tn13=r(0,1)<.1,tn14=2*Math.round(r(0,2)),2!=b_pat&&3!=b_pat||(tn14=0),tn15=Math.round(r(1,6)),tn16=Math.round(r(0,1)),tn17=r(0,1)<.1,tn18=Math.pow(-1,Math.round(r(1,2))),tn19=100*Math.round(r(2,5)),tn20=r(1.5,5)*M,tn21=r(0,1)<.1,tn22=1e3*Math.round(r(0,30)),wslgs=1e3*Math.round(r(10,14)),cvp=Math.round(r(0,1)),g3=Math.pow(2,Math.round(r(3,6))),t49=!0,tn24=tn23=1,r(0,1)<1&&(tn24=r(.5,2),tn23=1/tn24),tn25=Math.pow(10,r(-1,-3)),rr1=6.28*r(.5,3),rr2=6.28*r(.5,3),rg1=6.28*r(.5,3),rg2=6.28*r(.5,3),rb1=6.28*r(.5,3),rb2=6.28*r(.5,3);var t=10;tr1=r(1,t),tr2=r(1,t),tg1=r(1,t),tg2=r(1,t),tb1=r(1,t),tb2=r(1,t);sr1=r(2,6),sr2=r(2,6),sg1=r(2,6),sg2=r(2,6),sb1=r(2,6),sb2=r(2,6),rrt=r(.03,.06),grt=r(.02,.04),brt=r(.03,.06),s4a1=r(1,3),s4a2=r(1,3),s4a3=r(1,3),s4a4=r(1,3),s4b1=3e-6*r(1,3),s4b2=3e-6*r(1,3),s4b3=3e-6*r(1,3),s4b4=3e-6*r(1,3),s4c1=r(5,12),s4c2=r(.5,3),s4c3=r(5,12),s4c4=r(.5,3),s4d1=r(.5,10),s4d2=r(.5,10),s4d3=r(.5,10),s4d4=r(.5,10),opx=r(-DeS,2*DeS),opy=r(DeS,2*DeS)}function setup(){DeS=500,DW=window.innerWidth,DH=window.innerHeight,DI=Math.min(DW,DH),M=DI/DeS,H=DI/2,createCanvas(DW,DH),fi1=createGraphics(100,100),fi2=cG(WEBGL),fi4=cG(WEBGL),fi5=cG(WEBGL),f1=cG2(WEBGL),f4=createGraphics(DeS,100,WEBGL),f5=createGraphics(DeS,100,WEBGL),fi3=cG(P2D),f2=cG(WEBGL),ci=cG2(P2D),fm=cG2(P2D),frameRate(30),fi3.colorMode(HSB,255),colorMode(HSB,255),noStroke(),fi1.noStroke(),fi2.noStroke(),fi3.noStroke(),fi4.noStroke(),fi5.noStroke(),f1.noStroke(),f2.noStroke(),f4.noStroke(),f5.noStroke(),ci.noStroke(),fm.noStroke(),pD(this),fi1.pixelDensity(1),pD(fi2),pD(fi3),pD(fi4),pD(fi5),pD(f1),pD(f2),f4.pixelDensity(1),f5.pixelDensity(1),pD(ci),pD(fm),sd1=f2.createShader(vts,fgs1),sd2=f1.createShader(vts,fgs2),sd3=f2.createShader(vts,fgs3),sd4=f4.createShader(vts,fgs4),sd5=f5.createShader(vts,fgs5),R=new Random,print(tokenData.hash),setFeatP(),noiseSeed(r(0,1e3)),background(0),genBtex(),genSkBg(),genSen(),genCvs(),genMp();for(let t=0;t<cldn;t++)cldp[t]=new point(r(0,DeS),r(0,DeS),r(.5,1),0,0,0,0,0,Math.pow(r(tn8,tn9),2),1,Math.round(r(0,40)),0,Math.round(r(0,255)));for(let t=0;t<datan;t++)datap[t]=new point(r(0,DeS),r(0,DeS),3,0,r(0,6.28),r(0,6.28),r(3e-4,.03),r(.003,.03),r(.25,1),1,Math.round(r(0,255)),0,0);wv_s=1,wslgm=10;for(let t=0;t<5e3;t++){for(let t=0;t<cldn;t++)cldp[t].udc(t,1,2*opx,2*opy);for(let t=0;t<datan;t++)datap[t].udc2(1,opx,opy)}}var opx,opy,wns,gainNode,adfl,adfl2,adfl3,adfl4,adfl5,cldn=100,cldp=[],datan=300,datap=[],wv_k1=1,wv_k2=1,wv_p1=4,wv_p2=30,wv_gi=2,wv_su=1;function draw(){var t=.02*frameCount*wv_su;(wv_s=(wv_k1*Math.pow(Math.sin(t),wv_p1)+wv_k2*Math.pow(Math.sin(t+2.8*tn18),wv_p2))/wv_gi)<.001&&!wv_s_f&&(wv_s_f=!0,wv_k1=r(.3,1.5),wv_k2=Math.min(2-wv_k1,r(.3,1.5)),wv_p1=2*Math.round(1,4),wv_p2=10*Math.round(2,10),wv_gi=2,wv_su=1,wslgm=Math.round(r(2,8))),.1<wv_s&&(wv_s_f=!1),0==first&&(t=1.5*(Math.sin(.08*frameCount)+2)*.333+3.5*wv_s*Math.min(1,wv_k1),gainNode.gain.setValueAtTime(Math.min(10,t),aCtx.currentTime),t=wslgs+1e3*wslgm*wv_s,adfl2.frequency.setValueAtTime(t,aCtx.currentTime),adfl.frequency.setValueAtTime(t,aCtx.currentTime)),fi3.clear(),fi3.image(fi1,0,0,DeS,DeS,0,0,100,100),fi3.noStroke(),fi3.fill(255,50);for(let t=0;t<cldn;t++)cldp[t].udc(