NFT
1

 
 
Hi

Gauss Chain 002

Policy: ac8320...ada4
Owner:

    Metadata:

    {
      "name": "Gauss Chain 002",
      "seed": 5898,
      "files": [
        {
          "src": [
            "data:text/html;utf8,<html><head><body style='margin:0;overflow:h",
            "idden'><canvas id='tc' tabindex='1'><a id='link'></a><script>con",
            "st Q=s=>eval('(v,a,b,c,d)=>'+s),CHAR=e=>String.fromCharCode(e),F",
            "or=Q('{for(v=v;v<a;v++)b(v,v/(a-1))}'),FoE=Q('For(0,v.length,(i,",
            "t)=>a(v[i],i,t))'),cR=Q('`rgba(${v},${a},${b},${c})`'),cH=Q('`hs",
            "la(${v},${a}%25 ,${b}%25 ,${c})`'),cM=Q('cR(v,v,v,a)'),cHx=e=>'r",
            "gb('+((e=parseInt(e,16))>>16&255)+','+(e>>8&255)+','+(255&e)+')'",
            ";let P=(v,a,b,c)=>{for(b=b.split(':'),c=0;c<b.length;c+=2)eval(`",
            "C${b[c]}=${v}=>ctx.${b[c+1]}${a}`)},t='(...a)';P(t,t,'TC:clip:RT",
            ":rect:GT:getTransform:DI:drawImage:FT:fillText:EL:ellipse:BP:beg",
            "inPath:CP:closePath:MT:moveTo:LT:lineTo:BC:bezierCurveTo:ST:stro",
            "ke:VS:save:VR:restore:TR:setTransform:XT:translate:XS:scale:XR:r",
            "otate:FR:fillRect:RE:rect:FL:fill'),P('a','=a','SBr:shadowBlur:L",
            "W:lineWidth:TA:textAlign:TB:textBaseline:SC:shadowColor:SS:strok",
            "eStyle:GC:globalCompositeOperation:FS:fillStyle');const DEF=(e,t",
            ")=>{e=e??CANV,t=t??_R,CTR(t,0,0,t,0,0),CFS(e),CSS(e),CTA('center",
            "'),CSB(0),MUL()},CSB=e=>CSBr(e*_R),DCE=e=>document.createElement",
            "(e),CCX=e=>ctx=e||CTX,FNT=e=>ctx.font=e+'px Arial',TXT=(e,t,...r",
            ")=>{CFS(e),FNT(t),CFT(...r)},ELI=(e,...t)=>{CFS(e),CBP(),CEL(...",
            "t),CFL()},ADD=e=>CGC('screen'),MUL=e=>CGC('source-over'),CWH=(e,",
            "t,r)=>{e.width=t,e.height=r||t},BG=e=>RECT(e,0,0,_W,_H),RECT=(e,",
            "...t)=>{CBP(),CFS(e),CFR(...t),CFL()},AA=(e,t)=>e.imageSmoothing",
            "Enabled=e.mozImageSmoothingEnabled=e.webkitImageSmoothingEnabled",
            "=t;function v2(e,t){var r=this,C=(e,t)=>(r.x=e||0,r.y=t||0,r);C(",
            "e,t),Object.assign(r,{set:C,circ(e){return C(sin(e),-cos(e))},pe",
            "rp(e){return C(r.y,-r.x)},len(e){return sqrt(r.x*r.x+r.y*r.y)},d",
            "ot(e){return r.x*e.x+r.y*e.y},norm(e){return r.div(r.len())},rad",
            "(e){return atan2(r.x,-r.y)},add(e){return C(r.x+e.x,r.y+e.y)},su",
            "b(e){return C(r.x-e.x,r.y-e.y)},mv(e){return C(r.x*e.x,r.y*e.y)}",
            ",inc(e){return C(r.x+e,r.y+e)},mul(e){return C(r.x*e,r.y*e)},div",
            "(e){return C(r.x/e,r.y/e)},cpy(e){return V2(r.x,r.y)}})}V2=Q('ne",
            "w v2(v,a)'),FoE(Object.getOwnPropertyNames(Math),(i=>eval(`${i}=",
            "Math.${i}`)));const Lerp=Q('(1-v)*a+v*b'),Wrap=Q('v<a?b-(a-v)%25",
            " (b-a):a+(v-a)%25 (b-a)'),Mapf=Q('b-a==0?c:c+(((v-a)/(b-a))*(d-c",
            "))'),Clamp=Q('v<a?a:min(b,v)'),Ease=e=>-(cos(PI*e)-1)/2,TAU=2*PI",
            ";class RNG{constructor(e){var t=this,r=4294967295,C=123456789+e&",
            "r,a=987654321-e&r,c=65535;t.r=e=>(((a=36969*(a&c)+(a>>>16)&r)<<1",
            "6)+((C=18e3*(C&c)+(C>>>16)&r)&c)>>>0)/(r+1),t.f=(e,r)=>e+t.r()*(",
            "r-e),t.i=(e,r)=>floor(t.f(e,r)),t.c=e=>t.r()<e,t.item=e=>e[t.i(0",
            ",e.length)]}}CANV=cM(220,1),WALL=cHx('f57411'),SHDW=cHx('0f0a06'",
            "),FPS=60;const SEED=5898,TAG='PG-09-002',PX=1e3,HX=PX/2,uS=(e,t,",
            "r,C,a)=>{var c=[1,0,0],n=222,o=209,l=35;WALL=cR(n,o,l,1),RECT(cR",
            "(n,o,l,1),0,0,1e3,1e3);var i=-1,s=1;return FPS=60,e=>(0==(i=(i+1",
            ")%25 floor(31+1.5*FPS))&&(s=.9+Math.random()*(1.1-.9)),((e,t,r,C",
            ",a,c)=>{if(e<floor(30)+1){var i=Array.from({length:t},((e,t)=>20",
            "0*t/59-100)),s=1e3/t,v=floor(30),T=v+e;RECT(cR(n,o,l,1),(v-1-e)*",
            "s,(v-1-e)*s,2*(e+1)*s,s),RECT(cR(n,o,l,1),(v-1-e)*s,(v-1-e)*s,s,",
            "2*(e+1)*s),RECT(cR(n,o,l,1),(v-1-e)*s,(v+e)*s,2*(e+1)*s,s),RECT(",
            "cR(n,o,l,1),(v+e)*s,(v-1-e)*s,s,2*(e+1)*s),WALL=cR(n,o,l,1);for(",
            "let r=v;r<=v+e;r++){var P=200*Math.exp(0-(i[r]/C)**2-(i[T]/C)**2",
            "),E=127.5+(-1)**floor(P)*P/2;ctx.fillStyle=cR(n*(1-a[0])+E*a[0],",
            "o*(1-a[1])+E*a[1],l*(1-a[2])+E*a[2],1),ctx.strokeStyle=cR(n*(1-a",
            "[0])+E*a[0],o*(1-a[1])+E*a[1],l*(1-a[2])+E*a[2],1),CBP(),CEL(T*s",
            "+s/2,r*s+s/2,s/2.1,s/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),",
            "CCP(),CBP(),CEL((t-T-1)*s+s/2,r*s+s/2,s/2.1,s/2.1,6.283,0,6.283)",
            ",ctx.stroke(),ctx.fill(),CCP(),CBP(),CEL(T*s+s/2,(t-r-1)*s+s/2,s",
            "/2.1,s/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),CE",
            "L((t-T-1)*s+s/2,(t-r-1)*s+s/2,s/2.1,s/2.1,6.283,0,6.283),ctx.str",
            "oke(),ctx.fill(),CCP(),CBP(),CEL(r*s+s/2,T*s+s/2,s/2.1,s/2.1,6.2",
            "83,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),CEL((t-r-1)*s+s/",
            "2,T*s+s/2,s/2.1,s/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP",
            "(),CBP(),CEL(r*s+s/2,(t-T-1)*s+s/2,s/2.1,s/2.1,6.283,0,6.283),ct",
            "x.stroke(),ctx.fill(),CCP(),CBP(),CEL((t-r-1)*s+s/2,(t-T-1)*s+s/",
            "2,s/2.1,s/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP()}}})(i",
            ",60,0,120*s,c),0)};function I(){cnv=document.getElementById('tc'",
            "),ctx=CTX=cnv.getContext('2d');const e=(e,r,C,a,c,n)=>{var o,l,i",
            ",s=V2(e,r);return t.push((e=>{l&&n(c)})),(t,c)=>{o=V2(_X,_Y).mul",
            "(-1).add(s),l=o.len()<1.7*C,i=l?2:5,t&&(ELI(l||c?'white':'grey',",
            "e,r,C+i,C+i,0,0,TAU),CTA('center'),CFS('black'),FNT(C-3),CFT(a,e",
            ",r+6))}};var t=[],r=[],C=0,a=[1,2,4,8,16],c=0,n=e=>{C=e,_R=a[e],",
            "art=l(_R),cer=i(min(_R,4))},o={Piece:'2',Name:'Gauss Chain 002',",
            "Description:'An on-chain generative collection playing with the|",
            "representation of the gaussian function'.split('|'),Properties:'",
            "Circles, Predator, Lime',Medium:'Fully On-Chain BlockGen.Art Can",
            "vas',Artist:'Muralrop - @muralrop',Seed:SEED},l=e=>{c=0;var t,r=",
            "DCE('canvas'),C=r.getContext('2d'),a=cM(150,1),n=()=>{DEF(),TXT(",
            "a,1==e?10:8,TAG,967,993)};return CWH(r,e*PX),CCX(C),AA(r,1),DEF(",
            "),t=uS(new RNG(SEED),C,r,e,n),n(),()=>(CCX(C),DEF(),c||(c=t())&&",
            "n(),CCX(),r)},i=e=>{var t=DCE('canvas');let r,C;var a,c;for(var[",
            "a,n]of(CWH(t,PX*e),CCX(t.getContext('2d')),DEF(null,e),RECT(cH(0",
            ",2,80,.6),2,2,PX-4,PX-4),CBP(),CRT(4,4,PX-8,PX-8),CTC(),RECT(cH(",
            "0,2,80,1),0,0,PX,PX),CSC('black'),CSBr(30*e),CBP(),CRE(0,0,PX,PX",
            "),CSS(cHx('dbccb8')),CLW(102),CST(),CBP(),CRE(0,0,PX,PX),CSS(cHx",
            "('9d8c78')),CLW(92),CST(),CSBr(6*e),CSS(CANV),CLW(30),CST(),DEF(",
            "null,e),TXT(cM(0,.1),24,'BLOCKGEN.ART',HX,40),TXT(cM(0,.6),13,TA",
            "G,HX,970),r=HX,C=290,Object.entries(o)))C+=34,TXT(cM(0,.8),14,a,",
            "r,C),C+=24,c=cM(0,.5),Array.isArray(n)?FoE(n,(e=>{TXT(c,20,e,r,C",
            "),C+=22})):TXT(c,20,n,r,C);return DEF(),CCX(),e=>t},s=()=>{setTi",
            "meout((e=>{window.requestAnimationFrame(s);var t=0,a=PX;CCX(),v(",
            ".97,WALL),CSC(SHDW),CSBr(55),RECT(CANV,0,0,a,a),CSB(0),CVS(),_P&",
            "&(CXT(PX,0),CXS(-1,1)),CDI(art(),0,0,a,a),CVR(),_P&&CDI(cer(),0,",
            "0,a,a),FoE(r,(e=>{e(_P,C==t),t++}))}),1e3/FPS)},v=(e,t)=>{var r=",
            "window,C=r.innerWidth,a=r.innerHeight,c=C!=_W||a!=_H,n=min(C,a)*",
            "e,o=n/PX,l=min(2,max(devicePixelRatio??1,1));c&&(cnv.width=_W=C*",
            "l,cnv.height=_H=a*l),CTR(1,0,0,1,0,0),BG(t),CXT((C-n)/2,(a-n)/2)",
            ",CXS(o,o)};AA(ctx,1),(()=>{n(0);var C,c,l=a.length,i='touch',v='",
            "mouse',T=e=>{e.preventDefault();var t=e.changedTouches[0];return",
            " e.clientX=t.pageX,e.clientY=t.pageY,e},P=e=>{var t=cnv.getBound",
            "ingClientRect(),r=CGT().invertSelf();c=e.clientX-t.left,y=e.clie",
            "ntY-t.top,_X=c*r.a+y*r.c+r.e,_Y=c*r.b+y*r.d+r.f};for(p=e=>{_M=1,",
            "P(e),(e=>{e.preventDefault(),e.stopPropagation()})(e),_P=_I(_X,_",
            "Y)},u=e=>{_P&&FoE(t,(e=>e())),_M=_P=0,P(e)},FoE([[i+'start',e=>{",
            "p(T(e))}],[i+'move',e=>{P(T(e))}],[i+'end',e=>{u(T(e))}],[v+'dow",
            "n',p],[v+'move',P],[v+'up',u]],(e=>cnv.addEventListener(...e))),",
            "C=0;C<l;C++)r.push(e(130,c=HX-80*l/2+80*(C+.5),22,a[C]+'k',C,n))",
            ";r.push(e(130,800,25,CHAR(8595),0,(e=>(e=>{let t=DCE('canvas'),r",
            "=PX*_R;CWH(t,r),CCX(t.getContext('2d')),RECT(CANV,0,0,r,r),ctx.d",
            "rawImage(art(),0,0,r,r);let C=DCE('a');C.download=o.Name,C.href=",
            "t.toDataURL(),C.click(),CCX()})()))),s()})()}_X=_Y=0,_R=1,_P=0,_",
            "M=0,_W=0,_H=0,_I=e=>1,I();</script></canvas></body></html>"
          ],
          "name": "Gauss Chain 002",
          "mediaType": "text/html"
        }
      ],
      "image": "ipfs://Qmc6ZbbzJfYUJiLPaPMEfC1zJVucrWPbAYcJfz4hgoRB6P",
      "piece": 2,
      "artist": "Muralrop - @muralrop",
      "medium": "Fully On-Chain BlockGen.Art Canvas",
      "vendor": "BlockGen.art",
      "authNFT": "asset13lqp9wnuhs4duwpvz9faashdckwea5pm7huerw",
      "mediaType": "image/png",
      "properties": {
        "Theme": "Lime",
        "Pixels": "Circles",
        "Pattern": "Predator"
      },
      "description": [
        "An on-chain generative collection playing with the",
        "representation of the gaussian function"
      ]
    }
    ...cl1ck