NFT
1

 
 
Hi

Gauss Chain 001

Policy: ac8320...ada4
Owner:

    Metadata:

    {
      "name": "Gauss Chain 001",
      "seed": 5727,
      "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,...C",
            ")=>{CFS(e),FNT(t),CFT(...C)},ELI=(e,...t)=>{CFS(e),CBP(),CEL(...",
            "t),CFL()},ADD=e=>CGC('screen'),MUL=e=>CGC('source-over'),CWH=(e,",
            "t,C)=>{e.width=t,e.height=C||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 C=this,r=(e,t)=>(C.x=e||0,C.y=t||0,C);r(",
            "e,t),Object.assign(C,{set:r,circ:e=>r(sin(e),-cos(e)),perp:e=>r(",
            "C.y,-C.x),len:e=>sqrt(C.x*C.x+C.y*C.y),dot:e=>C.x*e.x+C.y*e.y,no",
            "rm:e=>C.div(C.len()),rad:e=>atan2(C.x,-C.y),add:e=>r(C.x+e.x,C.y",
            "+e.y),sub:e=>r(C.x-e.x,C.y-e.y),mv:e=>r(C.x*e.x,C.y*e.y),inc:e=>",
            "r(C.x+e,C.y+e),mul:e=>r(C.x*e,C.y*e),div:e=>r(C.x/e,C.y/e),cpy:e",
            "=>V2(C.x,C.y)})}V2=Q('new v2(v,a)'),FoE(Object.getOwnPropertyNam",
            "es(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,C=4",
            "294967295,r=123456789+e&C,a=987654321-e&C,o=65535;t.r=e=>(((a=36",
            "969*(a&o)+(a>>>16)&C)<<16)+((r=18e3*(r&o)+(r>>>16)&C)&o)>>>0)/(C",
            "+1),t.f=(e,C)=>e+t.r()*(C-e),t.i=(e,C)=>floor(t.f(e,C)),t.c=e=>t",
            ".r()<e,t.item=e=>e[t.i(0,e.length)]}}CANV=cM(220,1),WALL=cHx('f5",
            "7411'),SHDW=cHx('0f0a06'),FPS=60;const SEED=5727,TAG='PG-09-001'",
            ",PX=1e3,HX=PX/2,uS=(e,t,C,r,a)=>{function o(e,t){return e+Math.r",
            "andom()*(t-e)}if(o(0,1)<.5)var c=!0;else c=!1;var n=2*floor(o(20",
            ",31)),l=o(200,256),i=o(1.5,5),s=floor(o(0,2)),v=floor(o(0,2));if",
            "(s+v==0)var T=1;else T=floor(o(0,2));var E=[s,v,T],P=o(0,255),R=",
            "o(0,255),x=o(0,255);WALL=cR(P,R,x,1),RECT(cR(P,R,x,1),0,0,1e3,1e",
            "3);var S=-1,f=1;return FPS=60,e=>(0==(S=(S+1)%25 floor(n/2+1.5*F",
            "PS+1))&&(f=o(.9,1.1),e=floor(o(0,2)),v=floor(o(0,2)),T=e+v==0?1:",
            "floor(o(0,2)),E=[e,v,T],P=o(0,255),R=o(0,255),x=o(0,255),l=o(200",
            ",256),i=o(1.5,5),c=o(0,1)<.5),((e,t,C,r,a,o)=>{if(e<floor(t/2)+1",
            "){var c=Array.from({length:t},((e,C)=>200*C/(t-1)-100)),n=1e3/t,",
            "l=floor(t/2),i=l+e;RECT(cR(P,R,x,1),(l-1-e)*n,(l-1-e)*n,2*(e+1)*",
            "n,n),RECT(cR(P,R,x,1),(l-1-e)*n,(l-1-e)*n,n,2*(e+1)*n),RECT(cR(P",
            ",R,x,1),(l-1-e)*n,(l+e)*n,2*(e+1)*n,n),RECT(cR(P,R,x,1),(l+e)*n,",
            "(l-1-e)*n,n,2*(e+1)*n),WALL=cR(P,R,x,1);for(let T=l;T<=l+e;T++){",
            "var s=C*Math.exp(0-(c[T]/r)**2-(c[i]/r)**2),v=127.5+(-1)**floor(",
            "s)*s/2;ctx.fillStyle=cR(P*(1-a[0])+v*a[0],R*(1-a[1])+v*a[1],x*(1",
            "-a[2])+v*a[2],1),ctx.strokeStyle=cR(P*(1-a[0])+v*a[0],R*(1-a[1])",
            "+v*a[1],x*(1-a[2])+v*a[2],1),CBP(),o?CRE(i*n,T*n,n,n):CEL(i*n+n/",
            "2,T*n+n/2,n/2.1,n/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP",
            "(),CBP(),o?CRE((t-i-1)*n,T*n,n,n):CEL((t-i-1)*n+n/2,T*n+n/2,n/2.",
            "1,n/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),o?CRE",
            "(i*n,(t-T-1)*n,n,n):CEL(i*n+n/2,(t-T-1)*n+n/2,n/2.1,n/2.1,6.283,",
            "0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),o?CRE((t-i-1)*n,(t-",
            "T-1)*n,n,n):CEL((t-i-1)*n+n/2,(t-T-1)*n+n/2,n/2.1,n/2.1,6.283,0,",
            "6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),o?CRE(T*n,i*n,n,n):CE",
            "L(T*n+n/2,i*n+n/2,n/2.1,n/2.1,6.283,0,6.283),ctx.stroke(),ctx.fi",
            "ll(),CCP(),CBP(),o?CRE((t-T-1)*n,i*n,n,n):CEL((t-T-1)*n+n/2,i*n+",
            "n/2,n/2.1,n/2.1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP",
            "(),o?CRE(T*n,(t-i-1)*n,n,n):CEL(T*n+n/2,(t-i-1)*n+n/2,n/2.1,n/2.",
            "1,6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP(),CBP(),o?CRE((t-T-",
            "1)*n,(t-i-1)*n,n,n):CEL((t-T-1)*n+n/2,(t-i-1)*n+n/2,n/2.1,n/2.1,",
            "6.283,0,6.283),ctx.stroke(),ctx.fill(),CCP()}}})(S,n,l,i*f*n,E,c",
            "),0)};function I(){cnv=document.getElementById('tc'),ctx=CTX=cnv",
            ".getContext('2d');const e=(e,C,r,a,o,c)=>{var n,l,i,s=V2(e,C);re",
            "turn t.push((e=>{l&&c(o)})),(t,o)=>{n=V2(_X,_Y).mul(-1).add(s),l",
            "=n.len()<1.7*r,i=l?2:5,t&&(ELI(l||o?'white':'grey',e,C,r+i,r+i,0",
            ",0,TAU),CTA('center'),CFS('black'),FNT(r-3),CFT(a,e,C+6))}};var ",
            "t=[],C=[],r=0,a=[1,2,4,8,16],o=0,c=e=>{r=e,_R=a[e],art=l(_R),cer",
            "=i(min(_R,4))},n={Piece:'1',Name:'Gauss Chain 001',Description:'",
            "An on-chain generative collection playing with the|representatio",
            "n of the gaussian function'.split('|'),Properties:'Random, Rando",
            "m, Random',Medium:'Fully On-Chain BlockGen.Art Canvas',Artist:'M",
            "uralrop - @muralrop',Seed:SEED},l=e=>{o=0;var t,C=DCE('canvas'),",
            "r=C.getContext('2d'),a=cM(150,1),c=()=>{DEF(),TXT(a,1==e?10:8,TA",
            "G,967,993)};return CWH(C,e*PX),CCX(r),AA(C,1),DEF(),t=uS(new RNG",
            "(SEED),r,C,e,c),c(),()=>(CCX(r),DEF(),o||(o=t())&&c(),CCX(),C)},",
            "i=e=>{var t=DCE('canvas');let C,r;var a,o;for(var[a,c]of(CWH(t,P",
            "X*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('dbc",
            "cb8')),CLW(102),CST(),CBP(),CRE(0,0,PX,PX),CSS(cHx('9d8c78')),CL",
            "W(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,970),C=HX",
            ",r=290,Object.entries(n)))r+=34,TXT(cM(0,.8),14,a,C,r),r+=24,o=c",
            "M(0,.5),Array.isArray(c)?FoE(c,(e=>{TXT(o,20,e,C,r),r+=22})):TXT",
            "(o,20,c,C,r);return DEF(),CCX(),e=>t},s=()=>{setTimeout((e=>{win",
            "dow.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),CX",
            "S(-1,1)),CDI(art(),0,0,a,a),CVR(),_P&&CDI(cer(),0,0,a,a),FoE(C,(",
            "e=>{e(_P,r==t),t++}))}),1e3/FPS)},v=(e,t)=>{var C=window,r=C.inn",
            "erWidth,a=C.innerHeight,o=r!=_W||a!=_H,c=min(r,a)*e,n=c/PX,l=min",
            "(2,max(devicePixelRatio??1,1));o&&(cnv.width=_W=r*l,cnv.height=_",
            "H=a*l),CTR(1,0,0,1,0,0),BG(t),CXT((r-c)/2,(a-c)/2),CXS(n,n)};AA(",
            "ctx,1),(()=>{c(0);var r,o,l=a.length,i='touch',v='mouse',T=e=>{e",
            ".preventDefault();var t=e.changedTouches[0];return e.clientX=t.p",
            "ageX,e.clientY=t.pageY,e},E=e=>{var t=cnv.getBoundingClientRect(",
            "),C=CGT().invertSelf();o=e.clientX-t.left,y=e.clientY-t.top,_X=o",
            "*C.a+y*C.c+C.e,_Y=o*C.b+y*C.d+C.f};for(p=e=>{_M=1,E(e),(e=>{e.pr",
            "eventDefault(),e.stopPropagation()})(e),_P=_I(_X,_Y)},u=e=>{_P&&",
            "FoE(t,(e=>e())),_M=_P=0,E(e)},FoE([[i+'start',e=>{p(T(e))}],[i+'",
            "move',e=>{E(T(e))}],[i+'end',e=>{u(T(e))}],[v+'down',p],[v+'move",
            "',E],[v+'up',u]],(e=>cnv.addEventListener(...e))),r=0;r<l;r++)C.",
            "push(e(130,o=HX-80*l/2+80*(r+.5),22,a[r]+'k',r,c));C.push(e(130,",
            "800,25,CHAR(8595),0,(e=>(e=>{let t=DCE('canvas'),C=PX*_R;CWH(t,C",
            "),CCX(t.getContext('2d')),RECT(CANV,0,0,C,C),ctx.drawImage(art()",
            ",0,0,C,C);let r=DCE('a');r.download=n.Name,r.href=t.toDataURL(),",
            "r.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 001",
          "mediaType": "text/html"
        }
      ],
      "image": "ipfs://QmX8Wa7TfBw9ReRDMpRS2zovHiLUC2c6bsw8AZ3ijLDt2b",
      "piece": 1,
      "artist": "Muralrop - @muralrop",
      "medium": "Fully On-Chain BlockGen.Art Canvas",
      "vendor": "BlockGen.art",
      "authNFT": "asset13lqp9wnuhs4duwpvz9faashdckwea5pm7huerw",
      "mediaType": "image/png",
      "properties": {
        "Theme": "Random",
        "Pixels": "Random",
        "Pattern": "Random"
      },
      "description": [
        "An on-chain generative collection playing with the",
        "representation of the gaussian function"
      ]
    }
    ...cl1ck