NFT
1

 
 
Hi

sincircles 010

Policy: 7e122d...375c
Owner:

    Metadata:

    {
      "name": "sincircles 010",
      "seed": 38139,
      "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,a=(e,t)=>(C.x=e||0,C.y=t||0,C);a(",
            "e,t),Object.assign(C,{set:a,circ:e=>a(sin(e),-cos(e)),perp:e=>a(",
            "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=>a(C.x+e.x,C.y",
            "+e.y),sub:e=>a(C.x-e.x,C.y-e.y),mv:e=>a(C.x*e.x,C.y*e.y),inc:e=>",
            "a(C.x+e,C.y+e),mul:e=>a(C.x*e,C.y*e),div:e=>a(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,a=123456789+e&C,r=987654321-e&C,n=65535;t.r=e=>(((r=36",
            "969*(r&n)+(r>>>16)&C)<<16)+((a=18e3*(a&n)+(a>>>16)&C)&n)>>>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=38139,TAG='PG-05-010",
            "',PX=1e3,HX=PX/2,uS=(e,t,C,a,r)=>{FOR=Q('{for(v=v;v<a;v++)b(v,v/",
            "a)}'),WALL='black',CANV='grey';var n=e.f(0,360),c=e.f(33,50),i=0",
            ";return e=>(i+=1/360*.27,RECT(CANV,0,0,1e3,1e3),CXT(500,500),CXS",
            "(2,2),FOR(0,18,((e,t)=>{CBP(),CSB(20),CSS('white'),CSB(0),CFS(cH",
            "(n+0*e,c,100*t,.888)),FOR(0,15,((e,C)=>{var a=.3*t+9*i,r=9*sin(a",
            "+TAU*C*18),n=9*sin(a+TAU*C*9),c=6*sin(a+TAU*C*54),o=3*sin(a+TAU*",
            "C*72),l=3*sin(a+TAU*C*3),v=V2().circ(TAU*C).mul(360+r*n*c*o*l);0",
            "==e?CMT(v.x,v.y):CLT(v.x,v.y)})),CCP(),CFL(),CLW(2),CST(),CSB(20",
            "),CSC('white'),ELI('grey',0,0,245,245,0,0,TAU),CSB(0),ELI('black",
            "',0,0,240,240,0,0,TAU),CXT(0,20),CXR(i+TAU/10),CXR(sin(i)*TAU/10",
            "),CXS(.9,.9)})),r(),0)};function I(){cnv=document.getElementById",
            "('tc'),ctx=CTX=cnv.getContext('2d');const e=(e,C,a,r,n,c)=>{var ",
            "i,o,l,v=V2(e,C);return t.push((e=>{o&&c(n)})),(t,n)=>{i=V2(_X,_Y",
            ").mul(-1).add(v),o=i.len()<1.7*a,l=o?2:5,t&&(ELI(o||n?'white':'g",
            "rey',e,C,a+l,a+l,0,0,TAU),CTA('center'),CFS('black'),FNT(a-3),CF",
            "T(r,e,C+6))}};var t=[],C=[],a=0,r=[1,2,4,8,16],n=0,c=e=>{a=e,_R=",
            "r[e],art=o(_R),cer=l(min(_R,4))},i={Piece:'10',Name:'sincircles ",
            "010',Description:'experimental collection of circles with sin wa",
            "ve radiations'.split('|'),Properties:'dark, grey, 18, 15, 360, o",
            "ff',Medium:'Fully On-Chain BlockGen.Art Canvas',Artist:'dvnc - @",
            "dvnc_00',Seed:SEED},o=e=>{n=0;var t,C=DCE('canvas'),a=C.getConte",
            "xt('2d'),r=cM(150,1),c=()=>{DEF(),TXT(r,1==e?10:8,TAG,967,993)};",
            "return CWH(C,e*PX),CCX(a),AA(C,1),DEF(),t=uS(new RNG(SEED),a,C,e",
            ",c),c(),()=>(CCX(a),DEF(),n||(n=t())&&c(),CCX(),C)},l=e=>{var t=",
            "DCE('canvas');let C,a;var r,n;for(var[r,c]of(CWH(t,PX*e),CCX(t.g",
            "etContext('2d')),DEF(null,e),RECT(cH(0,2,80,.6),2,2,PX-4,PX-4),C",
            "BP(),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(1",
            "02),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,'B",
            "LOCKGEN.ART',HX,40),TXT(cM(0,.6),13,TAG,HX,970),C=HX,a=290,Objec",
            "t.entries(i)))a+=34,TXT(cM(0,.8),14,r,C,a),a+=24,n=cM(0,.5),Arra",
            "y.isArray(c)?FoE(c,(e=>{TXT(n,20,e,C,a),a+=22})):TXT(n,20,c,C,a)",
            ";return DEF(),CCX(),e=>t},v=()=>{setTimeout((e=>{window.requestA",
            "nimationFrame(v);var t=0,r=PX;CCX(),T(.97,WALL),CSC(SHDW),CSBr(5",
            "5),RECT(CANV,0,0,r,r),CSB(0),CVS(),_P&&(CXT(PX,0),CXS(-1,1)),CDI",
            "(art(),0,0,r,r),CVR(),_P&&CDI(cer(),0,0,r,r),FoE(C,(e=>{e(_P,a==",
            "t),t++}))}),1e3/FPS)},T=(e,t)=>{var C=window,a=C.innerWidth,r=C.",
            "innerHeight,n=a!=_W||r!=_H,c=min(a,r)*e,i=c/PX,o=min(2,max(devic",
            "ePixelRatio??1,1));n&&(cnv.width=_W=a*o,cnv.height=_H=r*o),CTR(1",
            ",0,0,1,0,0),BG(t),CXT((a-c)/2,(r-c)/2),CXS(i,i)};AA(ctx,1),(()=>",
            "{c(0);var a,n,o=r.length,l='touch',T='mouse',s=e=>{e.preventDefa",
            "ult();var t=e.changedTouches[0];return e.clientX=t.pageX,e.clien",
            "tY=t.pageY,e},S=e=>{var t=cnv.getBoundingClientRect(),C=CGT().in",
            "vertSelf();n=e.clientX-t.left,y=e.clientY-t.top,_X=n*C.a+y*C.c+C",
            ".e,_Y=n*C.b+y*C.d+C.f};for(p=e=>{_M=1,S(e),(e=>{e.preventDefault",
            "(),e.stopPropagation()})(e),_P=_I(_X,_Y)},u=e=>{_P&&FoE(t,(e=>e(",
            "))),_M=_P=0,S(e)},FoE([[l+'start',e=>{p(s(e))}],[l+'move',e=>{S(",
            "s(e))}],[l+'end',e=>{u(s(e))}],[T+'down',p],[T+'move',S],[T+'up'",
            ",u]],(e=>cnv.addEventListener(...e))),a=0;a<o;a++)C.push(e(130,n",
            "=HX-80*o/2+80*(a+.5),22,r[a]+'k',a,c));C.push(e(130,800,25,CHAR(",
            "8595),0,(e=>{return(t=DCE('a')).download=i.Name,t.href=art().toD",
            "ataURL(),void t.click();var t}))),v()})()}_X=_Y=0,_R=1,_P=0,_M=0",
            ",_W=0,_H=0,_I=e=>1,I();</script></canvas></body></html>"
          ],
          "name": "sincircles 010",
          "mediaType": "text/html"
        }
      ],
      "image": "ipfs://QmT1YcdMgMMDx24HHGNiVTB3pRBiKgrTW83CRgSDhusJXj",
      "piece": 10,
      "artist": "dvnc - @dvnc_00",
      "medium": "Fully On-Chain BlockGen.Art Canvas",
      "vendor": "BlockGen.art",
      "authNFT": "asset1rr4620cy5u7pttzl223299h7wzl3zgmtftlrxk",
      "mediaType": "image/png",
      "properties": {
        "mode": "dark",
        "zoom": "18",
        "depth": "360",
        "canvas": "grey",
        "density": "15",
        "colourshift": "off"
      },
      "description": [
        "experimental collection of circles with sin wave radiations"
      ]
    }
    ...cl1ck