Outer Boundary 010
Policy: 07d598...3974
Owner:
Metadata:
{ "name": "Outer Boundary 010", "seed": 6602175, "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,C", ")=>{e=e??CANV,C=C??_R,CTR(C,0,0,C,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,C,...t", ")=>{CFS(e),FNT(C),CFT(...t)},ELI=(e,...C)=>{CFS(e),CBP(),CEL(...", "C),CFL()},ADD=e=>CGC('screen'),MUL=e=>CGC('source-over'),CWH=(e,", "C,t)=>{e.width=C,e.height=t||C},BG=e=>RECT(e,0,0,_W,_H),RECT=(e,", "...C)=>{CBP(),CFS(e),CFR(...C),CFL()},AA=(e,C)=>e.imageSmoothing", "Enabled=e.mozImageSmoothingEnabled=e.webkitImageSmoothingEnabled", "=C;function v2(e,C){var t=this,r=(e,C)=>(t.x=e||0,t.y=C||0,t);r(", "e,C),Object.assign(t,{set:r,circ(e){return r(sin(e),-cos(e))},pe", "rp(e){return r(t.y,-t.x)},len(e){return sqrt(t.x*t.x+t.y*t.y)},d", "ot(e){return t.x*e.x+t.y*e.y},norm(e){return t.div(t.len())},rad", "(e){return atan2(t.x,-t.y)},add(e){return r(t.x+e.x,t.y+e.y)},su", "b(e){return r(t.x-e.x,t.y-e.y)},mv(e){return r(t.x*e.x,t.y*e.y)}", ",inc(e){return r(t.x+e,t.y+e)},mul(e){return r(t.x*e,t.y*e)},div", "(e){return r(t.x/e,t.y/e)},cpy(e){return V2(t.x,t.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 C=this,t=4294967295,r=123456789+e&", "t,n=987654321-e&t,l=65535;C.r=e=>(((n=36969*(n&l)+(n>>>16)&t)<<1", "6)+((r=18e3*(r&l)+(r>>>16)&t)&l)>>>0)/(t+1),C.f=(e,t)=>e+C.r()*(", "t-e),C.i=(e,t)=>floor(C.f(e,t)),C.c=e=>C.r()<e,C.item=e=>e[C.i(0", ",e.length)]}}CANV=cM(220,1),WALL=cHx('f57411'),SHDW=cHx('0f0a06'", "),FPS=60;const SEED=6602175,TAG='C-02-010',PX=1e3,HX=PX/2,uS=(e,", "C,t,r,n)=>{let l=V2(HX,HX),c='white',a='evenodd',o=(e,C)=>For(0,", "e,C),i=e=>RECT(e,0,0,PX,PX),S=e=>{let C=[];return For(0,100,((t,", "r)=>C[t]=[r,e(r)])),C},T=(e,C,t,r)=>{let n=ctx.createRadialGradi", "ent(e,C,0,e,C,t);return FoE(r,(e=>n.addColorStop(...e))),n},X=(e", ",C,t)=>S((r=>cH(e-200*t*r,100,60*pow(1-r,3),pow(1-r,2)*C))),s=(e", ",C,t,r=0,n=1,l)=>{CXT(e,C),CXR(PI*r);let a=((e,C,t,r,n)=>{let l=", "ctx.createLinearGradient(0,0,0,r);return FoE(n,(e=>l.addColorSto", "p(...e))),l})(0,0,0,PX,X(t,n,1));CSB(20),CSC(cH(t,100,60,1)),o(4", ",(e=>{RECT(a,-7,0,14,PX),RECT(a,-3,0,6,PX),ADD()})),CSC(c),l&&o(", "5,(e=>ELI(c,0,0,9,9,0,0,TAU)))};var P,E,u,v,H,R;V2(),SIGN=(H=(v=", "e=>{var C=[];for(u=0;u<e.length;u++)C.push('abcdefghijklmnopqrst", "uvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'.indexOf(e[u])-31);re", "turn C})('EEBBBCABAAABBCCDEGLNKJJKKKLLLKLKKJJHCBEEEEEFEEEFFFFKSP", "IrpmoqxQVXXTLKJJIIHGGFFDDCCCCCDDFFGHIIIIHHGGEFEFFGGIHIHHHGGFGFGI", "N'),R=v('ldwPPSUWYYYYXWTT07UCvwtrpnnlmlmnoqsua7RUWXZZZZYXUSPTnhn", "DIJKJMEEBytspljjlnszGNSX1232ZWRLEuojhikpxHSZ431SIxokhjovHSZ31VLm", "'),(e,C,t,r)=>{for(u=0;u<H.length;u++)r(e,C,e+(P=H[u]*t),C+(E=R[", "u]*t)),e+=P,C+=E});var d=(e,C,t)=>{CBP(),SIGN(e,C,t,((e,C,t,r)=>", "{CLT(t,r)})),CST()};_RL=4;let[F,h]=[[4894,101.515,63.384,69.805,", "35.719,100,63.124,216.235,46,-42.283,120.359,-1.09,38.29],[0,0,0", ",0,0,0,0,0,0,0,0,1]],[x,p,A]=[[1.857,635,249,-106,2.87,6,12,1,1,", "8,0,1],[.06,.04,.03,.07,.1,0,0,1,1,1,1,0],[1,0,0,0,0,1,1,1,0,1,1", ",1]],m=[...x],L=[{lo:0,hi:3,decimals:3},{lo:0,hi:1e3},{lo:0,hi:1", "e3},{lo:-500,hi:500},{lo:.1,hi:5,decimals:2},{lo:1,hi:20},{lo:1,", "hi:100},{lo:0,hi:1,bool:1},{lo:0,hi:1,bool:1},{lo:3,hi:10},{lo:0", ",hi:1,bool:1},{lo:0,hi:1,bool:1}];FoE(m,((C,t)=>{let r=A[t],n=x[", "t],l=p[t],{lo:c,hi:a,dec:o}=L[t],i=(a-c)*l;For(0,2,e.r),n=e.f(ma", "x(c,n-i),min(a,n+i)),r||(m[t]=((e,C)=>round(e*pow(10,C))/pow(10,", "C))(n,o??0))})),cH(30,10,50,1);let y,D,V=cM(230,1),B=cM(0,.5),b=", "cM(0,.5),I=cM(0,.3),_=cM(255,.2),g=(cH(30,100,2,1),(e,C)=>(y[e]=", "y[e]??[]).push(C)),M=e=>D.push((C=>{CVS(),e(),CVR()})),f=[];retu", "rn(e=>{let C=()=>{(e=>{y={},D=[];let[C,t,r,n,c,P,E,u,v,H,R,h,x]=", "F,[p,A]=((e,C,...t)=>{let r,n=(e,t,r,n,l,c,a,i,S,T,X)=>{let s=ne", "w Path2D,P=l*c,E={x:HX,y:HX,X:HX,Y:HX},u=(e,C,t=0)=>{E={x:min(E.", "x,e-t),y:min(E.y,C-t),X:max(E.X,e+t),Y:max(E.Y,C+t)}};return o(P", ",((l,X)=>{X=l/P;let E=(1.01+cos(TAU*X*(P/c)))/2;E=pow(E,n)*r;let", " v=i?TAU/(2*S):0,H=X*TAU,R=V2().circ(X*TAU).mul((e+E)*C).inc(HX)", ";if(a){let e=V2();o(S,((r,n)=>{n=r/S,T?e.circ(v+H+n*TAU).mul(t*C", ").add(R):e.circ(v+n*TAU).mul(t*C).add(R),r?s.lineTo(e.x,e.y):s.m", "oveTo(e.x,e.y),u(e.x,e.y,0)})),s.closePath()}else{let e=t*C;s.mo", "veTo(R.x+e,R.y),s.ellipse(R.x,R.y,e,e,0,0,TAU),u(R.x,R.y,e)}})),", "s.ext=E,s.cntr=V2((E.X+E.x)/2,(E.Y+E.y)/2),s};if(t[10]){C=1,r=n(", "...t);let l=r.ext;C=e/max(l.X-l.x,l.Y-l.y)}return r=n(...t),[r,r", ".cntr]})(850,...m);l=A.cpy().inc(-HX).mul(-1),A.set(HX,HX).add(l", ");let L=A.x,f=A.y,G=new RNG(SEED+2),W=(e=91,...C)=>g(e,(()=>{((e", ",C,t,r,n=1,l=1)=>{CBP(),ADD(),V2();let c=0;t-=25,o(2,((a,i)=>{le", "t S=e.i(3,20)*l;o(100,((r,n)=>{c+=e.c(.15)?1.12:0;let l=C+sin(c+", "n*TAU*3)*S,a=t-700*n,o=e.i(15,30);CMT(l,a),CEL(l,a,o,o/10,PI/2,-", "PI/8,PI/8),CCP(),CEL(l,a+o,o/20,o/10,0,0,TAU),CCP()}));let T=cH(", "r,100,70,n);CFS(T),CSC(T),CFL()})),MUL()})(G,L,f,R,...C)})),w=(e", ",C,t,r,n)=>M((l=>{CXT(t,r),CSS(e),CLW(C),n&&ADD(),CST(p)})),U=(e", "=100,C=1,t=0,r=-150,n=4)=>{M((l=>{ADD(),i(T(L+t,f+r,e,S((e=>cH(c", ",P,100*pow(1-e,n),C)))))}))};g(50,(()=>{((e,C,t)=>{let r=e=>{CXT", "(HX,HX),CXS(e,e),CXT(-HX,-HX)};CVS(),CXT(l.x,l.y),o(10,((C,t)=>{", "let n=!C,l=9==C;CVS();let c=Mapf(t,0,1,1,1.05);r(c),n&&(CVS(),CS", "C(I),CFS(CANV),o(5,((C,t)=>{CSB(round(5+25*t)),CFL(e,a)})),CSC(_", "),o(5,((C,t)=>{CSB(round(1+8*t)),CFL(e,a)})),CVR()),ctx.clip(e,a", "),CLW(2),CSC(b),CSS(B),n&&CSS('black'),l&&(CFS(V),CFL(e,a),FoE(D", ",(C=>C(e))),CLW(1.5),CSC(b),CSS('black')),CSB(5),CST(e),CSB(0),C", "VR(),l&&(CVS(),r(c),CLW(.25),CSS('black'),CST(e),CVR())})),CVR()", "})(p)})),(()=>{let e=[t,r,n],C=[c,P,E],l=abs(H),a=[u,v,l],X=T(L,", "f,700,[[.2,cH(...a,0)],[1,cH(...a,H>0?1:l/100)]]),s=S((e=>cM(h<0", "?0:255,pow(Clamp(Mapf(e,.6,1.1,0,1),0,1),1.5)*abs(h)))),R=T(L,f,", "PX,s);WALL=cH(t,r/3,min(100,n+.5*(100-n)),1),CANV=cH(...e,1),g(0", ",(()=>{i(CANV),i(R)})),M((e=>i(cH(...C,1)))),g(89,(e=>{H>0&&ADD(", "),i(X)})),o(1,(C=>g(C?79:99,(t=>{return r=C,n=cH(...e,1),l=cM(x,", "1),CLW(1.5),r&&(CSC(n),CSS(CANV),o(10,((e,C)=>{CSB(3*e),d(965,95", "0,.12)}))),CSS(l),d(965,950,.12),void CSB(0);var r,n,l}))))})(..", ".F),W(95,.7,1),W(95,.4,2),((e=0,C=1,t=91)=>{g(t,(()=>{s(L,f,R,e,", "C,1)}))})(1,.7,92),((e=.24,C=200,t=40,r=1,n=30,l=0)=>{g(n,(()=>{", "o(t,((t,n)=>{let c=1-n,a=c*e,o=Lerp(n,-C,C);a*=t%25 2?-1:1,CVS()", ",s(L,f+10,R+o,l+a,3*c*r,0),CVR()}))}))})(.15,150,39,.5,45),g(98,", "(()=>{((e,C,t,r=30,n=1,l=0,c=1,a=1)=>{CXT(C,t),ADD();let i=T(0,0", ",250*n,X(l,c,a));CBP(),o(r,(C=>{let t=V2().circ(e.f(0,TAU)).mul(", "600);CSS(i),CMT(0,-5),CLT(t.x,t.y+500),CLW(.5),CST()}))})(G,L,f,", "20,2,R,1)})),((e=1)=>{g(99,(()=>{((e,C,t,r,n,l)=>{CXT(e,C),ADD()", ";let c=X(r,n,1),a=T(0,0,125,c),o=T(0,0,225,c);ELI(a,0,0,175,175,", "0,0,TAU),ELI(o,0,0,250,250,0,0,TAU)})(L,f,0,R,e)}))})(2),U(600,.", "5,0,G.i(-50,-250)),U(50,1,0,G.i(-50,-250)),((e=20,C=5,t=.6)=>{w(", "cH(c+e,P,1.5*E,t),C,0,-1),w(cH(c-e,P,E/2,t/2),C,0,1)})(20,3,1)})", "(),((...e)=>{o(100,((C,t)=>{(t=y[C])&&FoE(t,(C=>{CVS(),C(...e),C", "VR()}))}))})()};if(f=[],_R<4)C();else{let e=_R/2;CBP(),o(e,((C,t", ")=>{let r=1-(t=C/e);CRE(HX*t,HX*t,PX*r,PX*r),CRE(HX*r,HX*t,PX*t,", "PX*r),CRE(HX*t,HX*r,PX*r,PX*t)})),CSS(cM(255,.1)),CLW(2),CST(),C", "LW(20),CSS(cM(0,.01)),CST(),TXT('black',15,`Print quality - ${_R", "*PX}x${_R*PX}`,HX,285),o(e,((t,r)=>{o(e,((r,n)=>{let l=PX*(r/e),", "c=PX*(t/e),a=PX/e,o=PX/e;f.push((()=>{CVS(),CBP(),CRE(l,c,a,o),c", "tx.clip(),C(),CVR()})),f.push((()=>{CBP(),CRE(l+10,c+10,a-20,o-2", "0),CLW(15),CSS(cM(0,.1)),CST()}))}))}))}})(),e=>(f.length&&f.pop", "()(),0)};function I(){cnv=document.getElementById('tc'),ctx=CTX=", "cnv.getContext('2d');const e=(e,C,r,n,l,c)=>{var a,o,i,S=V2(e,C)", ";return t.push((e=>{o&&c(l)})),(t,l)=>{a=V2(_X,_Y).mul(-1).add(S", "),o=a.len()<1.7*r,i=o?2:5,t&&(ELI(o||l?'white':'grey',e,C,r+i,r+", "i,0,0,TAU),CTA('center'),CFS('black'),FNT(r-3),CFT(n,e,C+6))}};l", "et C={Piece:'10',Name:'Outer Boundary 010',Description:'This art", "work explores interference patterns using the interplay|between ", "strong geometric shapes'.split('|'),Properties:'Persp, Realm 4, ", "Golden Life, 2, Pure, Spectral',Medium:'Fully On-Chain BlockGen.", "Art Canvas',Artist:'Charles Machin - @CM_GenArt',Seed:SEED};var ", "t=[],r=[],n=0,l=[1,2,4,8,16],c=0,a=e=>{n=e,_R=l[e],art=o(_R),cer", "=i(min(_R,4))},o=e=>{c=0;var C,t=DCE('canvas'),r=t.getContext('2", "d'),n=cM(150,1),l=()=>{DEF(),TXT(n,1==e?10:8,TAG,967,993)};retur", "n CWH(t,e*PX),CCX(r),AA(t,1),DEF(),C=uS(new RNG(SEED),r,t,e,l),l", "(),()=>(CCX(r),DEF(),c||(c=C())&&l(),CCX(),t)},i=e=>{let t=DCE('", "canvas'),r=new RNG(SEED),n='black',l=[0,0,PX,PX],c=(e,C)=>For(0,", "e,C);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),...l);let a,o,i=(e,C,t)=>{c(6,((r,n)=>{n=r/6;let l=V2().", "circ(t+n*TAU).mul(C);CMT(l.x+e,l.y),CEL(l.x,l.y,e,e,0,0,TAU),CCP", "()}))},S=(e=n,C=0,t=1)=>{CBP(),((e=0)=>{i(25+e,60,PI/6),i(14+e,1", "00,0),i(12+e,132,PI/6),i(10+e,162,0),i(7+e,180,PI/6)})(C),CSS(e)", ",CLW(t),CST()};var T,X;for(var[T,s]of(CVS(),CXT(HX,200),CXS(.3,.", "3),c(20,((e,C)=>{S(cM(e%25 2?0:255,pow(1-C,3)*(e%25 2?.2:.7)),20", "0*C,3)})),S('white',0,6),CFS(cH(230,60,30,1)),CFL(),CVR(),CVS(),", "CXT(HX,820),CXS(.2,.2),CXR(PI/4),c(7,((e,C)=>{CBP();let t=50+50*", "e,r=12+12*e;CRE(-r,-r,t,t);let l=_RL-1==e;1==_RL&&l&&(CFS(cH(40,", "80,50,1)),CFL()),CLW(l?6:2),CSS(n),CST()})),CVR(),c(50,((e,C)=>{", "c(80,((e,t)=>{CVS(),CXT(PX*C,PX*t),CXR(TAU*r.i(0,6)/3),RECT(cM(1", "55,.05),-100,-2,200,1),RECT(cM(255,.05),-100,-1,200,1),CVR()}))}", ")),CSC(n),CSBr(30*e),CBP(),CRE(...l),CSS(cHx('dbccb8')),CLW(102)", ",CST(),CBP(),CRE(...l),CSS(cHx('9d8c78')),CLW(92),CST(),CSBr(6*e", "),CSS(CANV),CLW(30),CST(),DEF(null,e),TXT(cM(0,.1),18,'CM GEN AR", "T',HX,40),TXT(cM(0,.6),13,TAG,HX,970),a=HX,o=290,Object.entries(", "C)))o+=34,TXT(cM(0,.8),14,T,a,o),o+=24,X=cM(0,.5),Array.isArray(", "s)?FoE(s,(e=>{TXT(X,20,e,a,o),o+=22})):TXT(X,20,s,a,o);return DE", "F(),CCX(),e=>t},S=()=>{setTimeout((e=>{window.requestAnimationFr", "ame(S);var C=0,t=PX;CCX(),T(.97,WALL),CSC(SHDW),CSBr(55),RECT(CA", "NV,0,0,t,t),CSB(0),CVS(),_P&&(CXT(PX,0),CXS(-1,1)),CDI(art(),0,0", ",t,t),CVR(),_P&&CDI(cer(),0,0,t,t),FoE(r,(e=>{e(_P,n==C),C++}))}", "),1e3/FPS)},T=(e,C)=>{var t=window,r=t.innerWidth,n=t.innerHeigh", "t,l=r!=_W||n!=_H,c=min(r,n)*e,a=c/PX,o=min(2,max(devicePixelRati", "o??1,1));l&&(cnv.width=_W=r*o,cnv.height=_H=n*o),CTR(1,0,0,1,0,0", "),BG(C),CXT((r-c)/2,(n-c)/2),CXS(a,a)};AA(ctx,1),(()=>{a(0);var ", "n,c,o=l.length,i='touch',T='mouse',X=e=>{e.preventDefault();var ", "C=e.changedTouches[0];return e.clientX=C.pageX,e.clientY=C.pageY", ",e},s=e=>{var C=cnv.getBoundingClientRect(),t=CGT().invertSelf()", ";c=e.clientX-C.left,y=e.clientY-C.top,_X=c*t.a+y*t.c+t.e,_Y=c*t.", "b+y*t.d+t.f};for(p=e=>{_M=1,s(e),(e=>{e.preventDefault(),e.stopP", "ropagation()})(e),_P=_I(_X,_Y)},u=e=>{_P&&FoE(t,(e=>e())),_M=_P=", "0,s(e)},FoE([[i+'start',e=>{p(X(e))}],[i+'move',e=>{s(X(e))}],[i", "+'end',e=>{u(X(e))}],[T+'down',p],[T+'move',s],[T+'up',u]],(e=>c", "nv.addEventListener(...e))),n=0;n<o;n++)r.push(e(130,c=HX-80*o/2", "+80*(n+.5),22,l[n]+'k',n,a));r.push(e(130,800,25,CHAR(8595),0,(e", "=>{return(t=DCE('a')).download=C.Name,t.href=art().toDataURL(),v", "oid t.click();var t}))),S()})()}_X=_Y=0,_R=1,_P=0,_M=0,_W=0,_H=0", ",_I=e=>1,I();</script></canvas></body></html>" ], "name": "Outer Boundary 010", "mediaType": "text/html" } ], "image": "ipfs://QmbQrganUJPBF3ixxGF5t3Tej4uVn92J1SPvrPhPCXidef", "piece": 10, "artist": "Charles Machin - @CM_GenArt", "medium": "Fully On-Chain BlockGen.Art Canvas", "vendor": "BlockGen.art", "authNFT": "asset1ca3myxgejq8cpw0vvxm6uwae64uprqutqhntj2", "mediaType": "image/png", "properties": { "BG": "Pure", "Mix": "Golden Life", "Type": "Realm 4", "Depth": "Persp", "Prism": "Spectral", "Pattern": "2" }, "description": [ "This artwork explores interference patterns using the interplay", "between strong geometric shapes" ] }