NFT
1

 
 
Hi

Gauss Chain 010

Policy: ac8320...ada4
Owner:

    Metadata:

    {
      "name": "Gauss Chain 010",
      "seed": 9513,
      "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=9513,TAG='PG-09-010',PX=1e3,HX=PX/2,uS=(e,t,",
            "r,C,a)=>{var c=[1,0,0];WALL=cR(0,0,0,1),RECT(cR(0,0,0,1),0,0,1e3",
            ",1e3);var n=-1,o=1;return FPS=60,e=>(0==(n=(n+1)%25 floor(21+1.5",
            "*FPS))&&(o=.9+Math.random()*(1.1-.9)),((e,t,r,C,a,c)=>{if(e<floo",
            "r(20)+1){var n=Array.from({length:t},((e,t)=>200*t/39-100)),o=25",
            ",l=floor(20),i=l+e;RECT(cR(0,0,0,1),(l-1-e)*o,(l-1-e)*o,2*(e+1)*",
            "o,o),RECT(cR(0,0,0,1),(l-1-e)*o,(l-1-e)*o,o,2*(e+1)*o),RECT(cR(0",
            ",0,0,1),(l-1-e)*o,(l+e)*o,2*(e+1)*o,o),RECT(cR(0,0,0,1),(l+e)*o,",
            "(l-1-e)*o,o,2*(e+1)*o),WALL=cR(0,0,0,1);for(let r=l;r<=l+e;r++){",
            "var s=255*Math.exp(0-(n[r]/C)**2-(n[i]/C)**2),v=127.5+(-1)**floo",
            "r(s)*s/2;ctx.fillStyle=cR(0*(1-a[0])+v*a[0],0*(1-a[1])+v*a[1],0*",
            "(1-a[2])+v*a[2],1),ctx.strokeStyle=cR(0*(1-a[0])+v*a[0],0*(1-a[1",
            "])+v*a[1],0*(1-a[2])+v*a[2],1),CBP(),CEL(i*o+12.5,r*o+12.5,o/2.1",
            ",o/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),CEL((t",
            "-i-1)*o+12.5,r*o+12.5,o/2.1,o/2.1,6.283,0,6.283),ctx.stroke(),ct",
            "x.fill(),CCP(),CBP(),CEL(i*o+12.5,(t-r-1)*o+12.5,o/2.1,o/2.1,6.2",
            "83,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),CEL((t-i-1)*o+12",
            ".5,(t-r-1)*o+12.5,o/2.1,o/2.1,6.283,0,6.283),ctx.stroke(),ctx.fi",
            "ll(),CCP(),CBP(),CEL(r*o+12.5,i*o+12.5,o/2.1,o/2.1,6.283,0,6.283",
            "),ctx.stroke(),ctx.fill(),CCP(),CBP(),CEL((t-r-1)*o+12.5,i*o+12.",
            "5,o/2.1,o/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP()",
            ",CEL(r*o+12.5,(t-i-1)*o+12.5,o/2.1,o/2.1,6.283,0,6.283),ctx.stro",
            "ke(),ctx.fill(),CCP(),CBP(),CEL((t-r-1)*o+12.5,(t-i-1)*o+12.5,o/",
            "2.1,o/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP()}}})(n,40,",
            "0,160*o,c),0)};function I(){cnv=document.getElementById('tc'),ct",
            "x=CTX=cnv.getContext('2d');const e=(e,r,C,a,c,n)=>{var o,l,i,s=V",
            "2(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:'10',Name:'Gauss Chain 010',Des",
            "cription:'An on-chain generative collection playing with the|rep",
            "resentation of the gaussian function'.split('|'),Properties:'Cir",
            "cles, Boom, Rouge',Medium:'Fully On-Chain BlockGen.Art Canvas',A",
            "rtist:'Muralrop - @muralrop',Seed:SEED},l=e=>{c=0;var t,r=DCE('c",
            "anvas'),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(),CC",
            "X(),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('9d8c",
            "78')),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,TAG,HX,9",
            "70),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+=2",
            "2})):TXT(c,20,n,r,C);return DEF(),CCX(),e=>t},s=()=>{setTimeout(",
            "(e=>{window.requestAnimationFrame(s);var t=0,a=PX;CCX(),v(.97,WA",
            "LL),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.cli",
            "entX=t.pageX,e.clientY=t.pageY,e},P=e=>{var t=cnv.getBoundingCli",
            "entRect(),r=CGT().invertSelf();c=e.clientX-t.left,y=e.clientY-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+'down',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.pus",
            "h(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.drawIma",
            "ge(art(),0,0,r,r);let C=DCE('a');C.download=o.Name,C.href=t.toDa",
            "taURL(),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 010",
          "mediaType": "text/html"
        }
      ],
      "image": "ipfs://QmP2aCjLvMZ6sMPCedFwBt7cuHmFNM4PtwjysGGJmj2ywQ",
      "piece": 10,
      "artist": "Muralrop - @muralrop",
      "medium": "Fully On-Chain BlockGen.Art Canvas",
      "vendor": "BlockGen.art",
      "authNFT": "asset13lqp9wnuhs4duwpvz9faashdckwea5pm7huerw",
      "mediaType": "image/png",
      "properties": {
        "Theme": "Rouge",
        "Pixels": "Circles",
        "Pattern": "Boom"
      },
      "description": [
        "An on-chain generative collection playing with the",
        "representation of the gaussian function"
      ]
    }
    ...cl1ck