memoscan
← all memos

Memo 0x9c68a9cc…bc5c02 on Ethereum

i=new T:void 0,n=this._clip(e);if(null===n||!n.length)return;i.moveTo(n[0],n[1]);let l=n.length;for(;n[0]===n[l-2]&&n[1]===n[l-1]&&l>1;)l-=2;for(let e=2;e<l;e+=2)n[e]===n[e-2]&&n[e+1]===n[e-1]||i.lineTo(n[e],n[e+1]);return i.closePath(),o&&o.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let i=0,o=e.length/2;i<o;++i){const e=this.cellPolygon(i);e&&(e.index=i,yield e)}}cellPolygon(e){const i=new M;return this.renderCell(e,i),i.value()}_renderSegment(e,i,o,n,l){let t;const r=this._regioncode(e,i),w=this._regioncode(o,n);0===r&&0===w?(l.moveTo(e,i),l.lineTo(o,n)):(t=this._clipSegment(e,i,o,n,r,w))&&(l.moveTo(t[0],t[1]),l.lineTo(t[2],t[3]))}contains(e,i,o){return(i=+i)==i&&(o=+o)==o&&this.delaunay._step(e,i,o)===e}*neighbors(e){const i=this._clip(e);if(i)for(const o of this.delaunay.neighbors(e)){const e=this._clip(o);if(e)e:for(let n=0,l=i.length;n<l;n+=2)for(let t=0,r=e.length;t<r;t+=2)if(i[n]===e[t]&&i[n+1]===e[t+1]&&i[(n+2)%l]===e[(t+r-2)%r]&&i[(n+3)%l]===e[(t+r-1)%r]){yield o;break e}}}_cell(e){const{circumcenters:i,delaunay:{inedges:o,halfedges:n,triangles:l}}=this,t=o[e];if(-1===t)return null;const r=[];let w=t;do{const o=Math.floor(w/3);if(r.push(i[2*o],i[2*o+1]),w=w%3==2?w-2:w+1,l[w]!==e)break;w=n[w]}while(w!==t&&-1!==w);return r}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const i=this._cell(e);if(null===i)return null;const{vectors:o}=this,n=4*e;return this._simplify(o[n]||o[n+1]?this._clipInfinite(e,i,o[n],o[n+1],o[n+2],o[n+3]):this._clipFinite(e,i))}_clipFinite(e,i){const o=i.length;let n,l,t,r,w=null,s=i[o-2],a=i[o-1],d=this._regioncode(s,a),h=0;for(let c=0;c<o;c+=2)if(n=s,l=a,s=i[c],a=i[c+1],t=d,d=this._regioncode(s,a),0===t&&0===d)r=h,h=0,w?w.push(s,a):w=[s,a];else{let i,o,c,g,$;if(0===t){if(null===(i=this._clipSegment(n,l,s,a,t,d)))continue;[o,c,g,$]=i}else{if(null===(i=this._clipSegment(s,a,n,l,d,t)))continue;[g,$,o,c]=i,r=h,h=this._edgecode(o,c),r&&h&&this._edge(e,r,h,w,w.length),w?w.push(o,c):w=[o,c]}r=h,h=this._edgecode(g,$),r&&h&&this._edge(e,r,h,w,w.length),w?w.push(g,$):w=[g,$]}if(w)r=h,h=this._edgecode(w[0],w[1]),r&&h&&this._edge(e,r,h,w,w.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return w}_clipSegment(e,i,o,n,l,t){const r=l<t;for(r&&([e,i,o,n,l,t]=[o,n,e,i,t,l]);;){if(0===l&&0===t)return r?[o,n,e,i]:[e,i,o,n];if(l&t)return null;let w,s,a=l||t;8&a?(w=e+(o-e)*(this.ymax-i)/(n-i),s=this.ymax):4&a?(w=e+(o-e)*(this.ymin-i)/(n-i),s=this.ymin):2&a?(s=i+(n-i)*(this.xmax-e)/(o-e),w=this.xmax):(s=i+(n-i)*(this.xmin-e)/(o-e),w=this.xmin),l?(e=w,i=s,l=this._regioncode(e,i)):(o=w,n=s,t=this._regioncode(o,n))}}_clipInfinite(e,i,o,n,l,t){let r,w=Array.from(i);if((r=this._project(w[0],w[1],o,n))&&w.unshift(r[0],r[1]),(r=this._project(w[w.length-2],w[w.length-1],l,t))&&w.push(r[0],r[1]),w=this._clipFinite(e,w))for(let i,o=0,n=w.length,l=this._edgecode(w[n-2],w[n-1]);o<n;o+=2)i=l,l=this._edgecode(w[o],w[o+1]),i&&l&&(o=this._edge(e,i,l,w,o),n=w.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(w=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return w}_edge(e,i,o,n,l){for(;i!==o;){let o,t;switch(i){case 5:i=4;continue;case 4:i=6,o=this.xmax,t=this.ymin;break;case 6:i=2;continue;case 2:i=10,o=this.xmax,t=this.ymax;break;case 10:i=8;continue;case 8:i=9,o=this.xmin,t=this.ymax;break;case 9:i=1;continue;case 1:i=5,o=this.xmin,t=this.ymin}n[l]===o&&n[l+1]===t||!this.contains(e,o,t)||(n.splice(l,0,o,t),l+=2)}return l}_project(e,i,o,n){let l,t,r,w=1/0;if(n<0){if(i<=this.ymin)return null;(l=(this.ymin-i)/n)<w&&(r=this.ymin,t=e+(w=l)*o)}else if(n>0){if(i>=this.ymax)return null;(l=(this.ymax-i)/n)<w&&(r=this.ymax,t=e+(w=l)*o)}if(o>0){if(e>=this.xmax)return null;(l=(this.xmax-e)/o)<w&&(t=this.xmax,r=i+(w=l)*n)}else if(o<0){if(e<=this.xmin)return null;(l=(this.xmin-e)/o)<w&&(t=this.xmin,r=i+(w=l)*n)}return[t,r]}_edgecode(e,i){return(e===this.xmin?1:e===this.xmax?2:0)|(i===this.ymin?4:i===this.ymax?8:0)}_regioncode(e,i){return(e<this.xmin?1:e>this.xmax?2:0)|(i<this.ymin?4:i>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let i=0;i<e.length;i+=2){const o=(i+2)%e.length,n=(i+4)%e.length;(e[i]===e[o]&&e[o]===e[n]||e[i+1]===e[o+1]&&e[o+1]===e[n+1])&&(e.splice(o,2),i-=2)}e.length||(e=null)}return e}}const H=2*Math.PI,v=Math.pow;function L(e){return e[0]}function _(e){return e[1]}function A(e,i,o){return[e+Math.sin(e+i)*o,i+Math.cos(e-i)*o]}class R{static from(e,i=L,o=_,n){return new R("length"in e?function(e,i,o,n){const l=e.length,t=new Float64Array(2*l);for(let r=0;r<l;++r){const l=e[r];t[2*r]=i.call(n,l,r,e),t[2*r+1]=o.call(n,l,r,e)}return t}(e,i,o,n):Float64Array.from(function*(e,i,o,n){let l=0;for(const t of e)yield i.call(n,t,l,e),yield o.call(n,t,l,e),++l}(e,i,o,n)))}constructor(e){this._delaunator=new p(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,i=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:i,coords:o}=e;for(let e=0;e<i.length;e+=3){const n=2*i[e],l=2*i[e+1],t=2*i[e+2];if((o[t]-o[n])*(o[l+1]-o[n+1])-(o[l]-o[n])*(o[t+1]-o[n+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:i.length/2},((e,i)=>i)).sort(((e,o)=>i[2*e]-i[2*o]||i[2*e+1]-i[2*o+1]));const e=this.collinear[0],o=this.collinear[this.collinear.length-1],n=[i[2*e],i[2*e+1],i[2*o],i[2*o+1]],l=1e-8*Math.hypot(n[3]-n[1],n[2]-n[0]);for(let e=0,o=i.length/2;e<o;++e){const o=A(i[2*e],i[2*e+1],l);i[2*e]=o[0],i[2*e+1]=o[1]}this._delaunator=new p(i)}else delete this.collinear;const o=this.halfedges=this._delaunator.halfedges,n=this.hull=this._delaunator.hull,l=this.triangles=this._delaunator.triangles,t=this.inedges.fill(-1),r=this._hullIndex.fill(-1);for(let e=0,i=o.length;e<i;++e){const i=l[e%3==2?e-2:e+1];-1!==o[e]&&-1!==t[i]||(t[i]=e)}for(let e=0,i=n.length;e<i;++e)r[n[e]]=e;n.length<=2&&n.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=n[0],t[n[0]]=1,2===n.length&&(t[n[1]]=0,this.triangles[1]=n[1],this.triangles[2]=n[1]))}voronoi(e){return new G(this,e)}*neighbors(e){const{inedges:i,hull:o,_hullIndex:n,halfedges:l,triangles:t,collinear:r}=this;if(r){const i=r.indexOf(e);return i>0&&(yield r[i-1]),void(i<r.length-1&&(yield r[i+1]))}const w=i[e];if(-1===w)return;let s=w,a=-1;do{if(yield a=t[s],s=s%3==2?s-2:s+1,t[s]!==e)return;if(s=l[s],-1===s){const i=o[(n[e]+1)%o.length];return void(i!==a&&(yield i))}}while(s!==w)}find(e,i,o=0){if((e=+e)!=e||(i=+i)!=i)return-1;const n=o;let l;for(;(l=this._step(o,e,i))>=0&&l!==o&&l!==n;)o=l;return l}_step(e,i,o){const{inedges:n,hull:l,_hullIndex:t,halfedges:r,triangles:w,points:s}=this;if(-1===n[e]||!s.length)return(e+1)%(s.length>>1);let a=e,d=v(i-s[2*e],2)+v(o-s[2*e+1],2);const h=n[e];let c=h;do{let n=w[c];const h=v(i-s[2*n],2)+v(o-s[2*n+1],2);if(h<d&&(d=h,a=n),c=c%3==2?c-2:c+1,w[c]!==e)break;if(c=r[c],-1===c){if(c=l[(t[e]+1)%l.length],c!==n&&v(i-s[2*c],2)+v(o-s[2*c+1],2)<d)return c;break}}while(c!==h);return a}render(e){const i=null==e?e=new T:void 0,{points:o,halfedges:n,triangles:l}=this;for(let i=0,t=n.length;i<t;++i){const t=n[i];if(t<i)continue;const r=2*l[i],w=2*l[t];e.moveTo(o[r],o[r+1]),e.lineTo(o[w],o[w+1])}return this.renderHull(e),i&&i.value()}renderPoints(e,i){void 0!==i||e&&"function"==typeof e.moveTo||(i=e,e=null),i=null==i?2:+i;const o=null==e?e=new T:void 0,{points:n}=this;for(let o=0,l=n.length;o<l;o+=2){const l=n[o],t=n[o+1];e.moveTo(l+i,t),e.arc(l,t,i,0,H)}return o&&o.value()}renderHull(e){const i=null==e?e=new T:void 0,{hull:o,points:n}=this,l=2*o[0],t=o.length;e.moveTo(n[l],n[l+1]);for(let i=1;i<t;++i){const l=2*o[i];e.lineTo(n[l],n[l+1])}return e.closePath(),i&&i.value()}hullPolygon(){const e=new M;return this.renderHull(e),e.value()}renderTriangle(e,i){const o=null==i?i=new T:void 0,{points:n,triangles:l}=this,t=2*l[e*=3],r=2*l[e+1],w=2*l[e+2];return i.moveTo(n[t],n[t+1]),i.lineTo(n[r],n[r+1]),i.lineTo(n[w],n[w+1]),i.closePath(),o&&o.value()}*trianglePolygons(){const{triangles:e}=this;for(let i=0,o=e.length/3;i<o;++i)yield this.trianglePolygon(i)}trianglePolygon(e){const i=new M;return this.renderTriangle(e,i),i.value()}}var b=o(187),O=o.n(b);const z=JSON.parse('{"0":[{"Mode":"Light","Palette":"Bloom"},{"Mode":"Light","Palette":"Bloom"}],"1":[{"Mode":"Light","Palette":"Crayon"},{"Mode":"Dark","Palette":"Sketch"}],"2":[{"Mode":"Dark","Palette":"Marine"},{"Mode":"Dark","Palette":"RGB"}],"3":[{"Mode":"Dark","Palette":"Riptide"},{"Mode":"Dark","Palette":"Riptide"}],"4":[{"Mode":"Light","Palette":"Phoenix"},{"Mode":"Dark","Palette":"Phoenix"}],"5":[{"Mode":"Dark","Palette":"RGB"},{"Mode":"Dark","Palette":"RGB"}],"6":[{"Mode":"Light","Palette":"Crayon"},{"Mode":"Dark","Palette":"Crayon"}],"7":[{"Mode":"Dark","Palette":"Mint"},{"Mode":"Dark","Palette":"RGB"}],"8":[{"Mode":"Light","Palette":"Carnival"},{"Mode":"Dark","Palette":"Carnival"}],"9":[{"Mode":"Light","Palette":"Sketch"},{"Mode":"Light","Palette":"Sketch"}]}'),P=JSON.parse('{"Paper":"#fff5eb","Cardboard":"#eee5d8","White":"#fff","Black":"#000","Teal":"#60cab6","Yellow":"#fabf0f","Yellow2":"#EEC61F","Blue":"#1a3966","Red":"#bf2640","Carnival1":"#f0c54a","Carnival2":"#e590a2","Carnival3":"#4d9cd0","Carnival4":"#dd5b44","Carnival5":"#61b8a3","Carnival6":"#221f20","Riptide1":"#d52c52","Riptide2":"#342720","Riptide3":"#0a202c","Riptide4":"#37709d","Riptide5":"#aea09d","Riptide6":"#233a3d"}'),W=JSON.parse('{"Monochrome":["Paper","White","Black"],"Crayon":["Paper","White","Black","Teal","Yellow","Blue","Red"],"Carnival":["Carnival1","Carnival2","Carnival3","Carnival4","Carnival5","Carnival6"],"Red":["Red","White","Black"],"Riptide":["Riptide1","Riptide2","Riptide3","Riptide4","Riptide5","Riptide6"]}');function U(){const e=window.$.isHyper?[P.Black]:random([[P.Red],[P.Yellow],[P.Blue],[P.Teal,P.Blue],[P.Blue,P.Teal],[P.Teal,P.Black],[P.Red,P.Black]]);return{FixEdge:!0,FlowOrientation:window.$.isHyper&&window.$.isMirage?Math.floor(7*random()):0,CellsOnTop:window.$.isHyper||window.$.isMirage,FadeCellFillFn:4,FadeCellStrokeFn:0,Pad:random([.05,.1,.2]),AreaWeight:0,AreaCurve:1.75,FlowBatches:64,TwistBkgSize:1,TwistBkgCurve:0,CellDivideCount:2,Travel:random(500,2500),TwistBkg:0,TwistFlow:0,FlowWarp:1,BkgWarp:1,BkgFadeAmt:0,BkgFadeFn:0,CrayonTheme:"Crayon",UseBkgCrayons:!1,UseBkgCrayonsMulti:!0,UseFlowCrayons:!1,UseCellBkgCrayons:!0,UseCellLineCrayons:!0,CellShakeScale:window.$.isMirage?.25:0,CellShakeStrength:window.$.isMirage?.5:0,BkgShakeScale:.025,BkgShakeStrength:.8,FlowShakeScale:0,NoiseTypeBkg:"Radial",NoiseTypeFlow:"Radial",CellHatchThresh:null,CellThreshDir:window.$.isMirage?1:-1,CellLineRender:!0,LineVariance:"Random",BkgRender:!0,CellOutlineWeight:.001,DimChance:.5,DimRange:[.2,.8],CellOptimize:!0,GlobalOffsetFlow:0,GlobalOffsetBkg:0,GlobalOffsetCell:0,BaseSize:256,LineThickness:random(5e-4,.05),Spacing:random(.002,.002),BkgColor:color(window.$.isHyper?random([P.Riptide1,P.Riptide4]):random([P.Paper,P.Cardboard])),BkgGradient:!1,GradientBand:0,GradientBandOffset:0,ColorSweep:color(e[0]),ColorSweepAlt:color(e[1%e.length]),ColorSweepAccent:color(e[0]),ColorSweepAccentAlt:color(e[0]),ColorBkgThinLine:color(0),ColorBkgThinLineColorThresh:1,ColorBkgLineFill:color(0),ColorCellLines:color(340,100,40),ColorCellBkg:color(0),ColorCellOutline:window.$.isHyper?color(0):color(100),FlowBatchSize:20,CellZoom:2,CellRamp:1,CellLineThickness:1,CellLineSpacing:.002,CellThresh:25e-5,CellHatch:random([!0,!1]),BkgLineFillThresh:.005,NoiseScale:7,NoiseStrength:3,FlowScale:.25,FlowStrength:8,FlowZ:1e-7,FlowCells:64,FlowGradient:!1,FlowGradientBand:null,FlowGradientOffset:0,FlowGradientFn:"constant",FlowSpeed:.001,FlowWeight:.001,FlowRender:!0,CellRender:!0,BkgLineRamp:0,BkgCellHatchThresh:0,CellHasGradient:!0,CellGradientFillA:color(180,10,100),CellGradientFillB:color(200,10,100),CellGradientStrokeA:color(180,100,100),CellGradientStrokeB:color(200,100,100),SweepAccentRatio:.33}}let D,N,Z,I,V,E;window.$={},window.$f={},window.$styles={};let q=0,K=0,j=0;const Y=new t;function J(e,i,o,n,l){const t=dist(e,i,0,0),r=constrain(t/o,0,1);return t*n*Math.pow(r,l)}D=~~(1e9*Y.random_dec());const Q=e=>{for(let i=e.length-1;i>0;i--){const o=Math.floor(random()*(i+1)),n=e[i];e[i]=e[o],e[o]=n}},X=(e,i=10)=>{const o=color(e?window.$.Palette[e%window.$.Palette.length]:random(window.$.Palette));return"RGB"===window.$.CrayonTheme?color(360*random(),100,100):color(hue(o),saturation(o),brightness(o)+random(-i,i))};function ee(e){let i=0,o=0;const n=e.length;for(let l=0;l<n;l++)i+=e[l][0],o+=e[l][1];return[i/n,o/n]}function ie(e){let i=0,o=e.length-1;for(let n=0;n<e.length;n++)i+=(e[o][0]+e[n][0])*(e[o][1]-e[n][1]),o=n;return Math.abs(i/2)}function oe(e){const i=e.length;let o=0,n=0;for(let l=0,t=i-1;l<i;t=l++){const i=dist(e[l][0],e[l][1],e[t][0],e[t][1]);i>o&&(o=i,n=atan2(e[t][1]-e[l][1],e[t][0]-e[l][0]))}return n}const ne=(e,i,o,n=0,l=0)=>{noStroke(),fill(color((hue(i)+l)%360,saturation(i),brightness(i)));const t=window.$.FlowGradientFn??random(["lighten","darken","constant"]),r=e.length,w=window.$.BaseSize,s=width/w*w,a=height/w*w;for(let i=0;i<r;i++){const[w,d]=e[i];if(n){const e=i/r;fill(color((360*e*n+l)%360,100,"lighten"===t?100*(1-e):"darken"===t?100*e:100))}circle(w*s,d*a,o*s)}},le=()=>{randomSeed(D),noiseSeed(D)},te=()=>~~(1*window.$.BaseSize),re=()=>{I=Array(te()).fill().map((()=>Array(te()).fill(0)))};function we(e,i){const o=e[0],n=1-o,l=e[1],t=1-l,r=o*l,w=n*t;switch("fill"===i?window.$.FadeCellFillFn:window.$.FadeCellStrokeFn){case 0:return o;case 1:return l;case 2:return n;case 3:return t;case 4:return r;case 5:return w}return r}window.setup=()=>{le(),N=function(o=Math.random){const l=function(e){const i=new Uint8Array(512);for(let e=0;e<256;e++)i[e]=e;for(let o=0;o<255;o++){const n=o+~~(e()*(256-o)),l=i[o];i[o]=i[n],i[n]=l}for(let e=256;e<512;e++)i[e]=i[e-256];return i}(o),t=new Float64Array(l).map((e=>n[e%12*3])),r=new Float64Array(l).map((e=>n[e%12*3+1])),w=new Float64Array(l).map((e=>n[e%12*3+2]));return function(o,n,s){let a,d,h,c;const g=.3333333333333333*(o+n+s),$=i(o+g),C=i(n+g),y=i(s+g),p=($+C+y)*e,u=o-($-p),f=n-(C-p),S=s-(y-p);let k,F,m,B,x,T;u>=f?f>=S?(k=1,F=0,m=0,B=1,x=1,T=0):u>=S?(k=1,F=0,m=0,B=1,x=0,T=1):(k=0,F=0,m=1,B=1,x=0,T=1):f<S?(k=0,F=0,m=1,B=0,x=1,T=1):u<S?(k=0,F=1,m=0,B=0,x=1,T=1):(k=0,F=1,m=0,B=1,x=1,T=0);const M=u-k+e,G=f-F+e,H=S-m+e,v=u-B+2*e,L=f-x+2*e,_=S-T+2*e,A=u-1+.5,R=f-1+.5,b=S-1+.5,O=255&$,z=255&C,P=255&y;let W=.6-u*u-f*f-S*S;if(W<0)a=0;else{const e=O+l[z+l[P]];W*=W,a=W*W*(t[e]*u+r[e]*f+w[e]*S)}let U=.6-M*M-G*G-H*H;if(U<0)d=0;else{const e=O+k+l[z+F+l[P+m]];U*=U,d=U*U*(t[e]*M+r[e]*G+w[e]*H)}let D=.6-v*v-L*L-_*_;if(D<0)h=0;else{const e=O+B+l[z+x+l[P+T]];D*=D,h=D*D*(t[e]*v+r[e]*L+w[e]*_)}let N=.6-A*A-R*R-b*b;if(N<0)c=0;else{const e=O+1+l[z+1+l[P+1]];N*=N,c=N*N*(t[e]*A+r[e]*R+w[e]*b)}return 32*(a+d+h+c)}}(random);const[o,l]=pe(1,windowWidth,windowHeight);createCanvas(o,l),pixelDensity(2),re(),window.$f=(()=>{const e=new t;window.$={},window.$.Seed=D,window.$.Style=e.random_int(0,9),window.$.isHyper=e.random_bool(.4),window.$.isMirage=e.random_bool(.3),window.$.Shift=random(-15,15),window.$.ShiftLargest=random([60,165,260,340]);const i=z[window.$.Style][Number(window.$.isHyper)];return 0===window.$.Style&&!window.$.isHyper&&window.$.isMirage&&(i.Mode="Dark"),2===window.$.Style&&!window.$.isHyper&&window.$.isMirage&&(i.Palette="Dragon"),9===window.$.Style&&window.$.isMirage&&!window.$.isHyper&&(i.Mode="Dark"),window.$.isHyper&&window.$.isMirage?i.Type="HyperMirage":window.$.isHyper?i.Type="Hyper":window.$.isMirage?i.Type="Mirage":i.Type="Elemental",i})(),window.$styles=(colorMode(HSB,360,100,100,100),{0:{FlowOrientation:0,FadeCellFillFn:4,FadeCellStrokeFn:0,Pad:random([.05,.1]),AreaWeight:0,AreaCurve:1.75,FlowBatches:64,TwistBkgSize:1,TwistBkgCurve:0,Travel:250,TwistBkg:0,TwistFlow:0,FlowWarp:random([.5,1,2]),BkgWarp:random([.5,1,2]),BkgFadeAmt:0,Vignette:window.$.isMirage,BkgFadeFn:0,CrayonTheme:null,UseBkgCrayons:!1,UseBkgCrayonsMulti:!1,UseFlowCrayons:!1,UseCellBkgCrayons:!1,UseCellLineCrayons:!1,CellShakeScale:0,BkgShakeScale:0,FlowShakeScale:0,NoiseTypeBkg:window.$.isMirage?"Radial":random(["Linear","Radial"]),NoiseTypeFlow:"Radial",CellHatchThresh:null,CellThreshDir:1,CellLineRender:!0,LineVariance:"Random",BkgRender:!0,CellOutlineWeight:5e-4,DimChance:random(.5,1),DimRange:[random(.1,.2),random(.4,1)],CellOptimize:!0,GlobalOffsetFlow:0,GlobalOffsetBkg:0,GlobalOffsetCell:0,BaseSize:window.$.isHyper?500:random(256,320),LineThickness:window.$.isHyper?4e-4:.001,Spacing:window.$.isHyper||window.$.isMirage?.001:random(.0025,.005),BkgColor:window.$.isMirage?color(190+random(0,10),random(50,90),random(87,95)):color(window.$.isHyper?P.Cardboard:P.Paper),BkgGradient:window.$.isHyper&&window.$.isMirage,GradientBand:window.$.isMirage&&window.$.isHyper?random([180,360,540,720]):0,GradientBandOffset:window.$.isMirage&&window.$.isHyper?360:null,ColorSweep:window.$.isMirage&&!window.$.isHyper?color(0):color((200+window.$.Shift)%360,100,100),ColorSweepAlt:color(0),ColorSweepAccent:color((180+window.$.Shift)%360,80,80),ColorSweepAccentAlt:color((180+window.$.Shift)%360,80,80),ColorBkgThinLine:color(16),ColorBkgThinLineColorThresh:1,ColorBkgLineFill:color(16),ColorCellLines:color((340+window.$.Shift)%360,100,40),ColorCellBkg:color(0),ColorCellOutline:color((0+window.$.Shift)%360,100,100),FlowBatchSize:64,CellZoom:random(1,3),CellRamp:random(1,2),CellLineThickness:1,CellLineSpacing:.002,CellThresh:window.$.isHyper?1e-4:25e-5,CellHatch:random([!1,!0]),BkgLineFillThresh:.0125,NoiseScale:random([.25,.5,.75]),NoiseStrength:random([2,3,4]),FlowScale:.25,FlowStrength:6,FlowZ:2e-7,FlowCells:64,FlowGradient:!1,FlowGradientBand:null,FlowGradientOffset:0,FlowGradientFn:"constant",FlowSpeed:4e-4,FlowWeight:8e-4,FlowRender:!0,CellRender:!0,BkgLineRamp:0,BkgCellHatchThresh:0,CellHasGradient:!0,CellGradientFillA:color((0+window.$.Shift)%360,45,90),CellGradientFillB:color((280+window.$.Shift)%360,90,90),CellGradientStrokeA:color((300+window.$.Shift)%360,100,100),CellGradientStrokeB:color((340+window.$.Shift)%360,100,80),SweepAccentRatio:.33,BkgGradientShift:0},1:{FixEdge:!0,FlowOrientation:Math.floor(7*random()),CellsOnTop:!0,FadeCellFillFn:4,FadeCellStrokeFn:0,CellDivideCount:2,Pad:random([.05,.1,.2]),AreaWeight:window.$.isHyper?window.$.isHyper&&window.$.isMirage:0,AreaCurve:1.75,FlowBatches:16,TwistBkgSize:1,TwistBkgCurve:0,Travel:1e3,TwistBkg:0,TwistFlow:0,FlowWarp:random([.5,1,2]),BkgWarp:random([.5,1,2]),BkgFadeAmt:0,Vignette:!0,BkgFadeFn:1,CrayonTheme:window.$.isHyper?"Monochrome":"Crayon",UseBkgCrayons:!0,UseBkgCrayonsMulti:window.$.isMirage,UseFlowCrayons:!(window.$.isHyper&&window.$.isMirage),UseCellBkgCrayons:window.$.isMirage&&!window.$.isHyper,UseCellLineCrayons:!0,CellShakeScale:.1,BkgShakeScale:random(8,12),BkgShakeStrength:window.$.isHyper?random([0,10,50]):null,FlowShakeScale:0,NoiseTypeBkg:random(["Linear","Radial"]),NoiseTypeFlow:"Radial",CellHatchThresh:0,CellThreshDir:1,CellLineRender:!0,LineVariance:"Random",BkgRender:!(window.$.isHyper&&window.$.isMirage),CellOutlineWeight:(window.$.isHyper,.001),DimChance:random(.5,1),DimRange:[random(.1,.2),random(.4,1)],CellOptimize:!0,GlobalOffsetFlow:0,GlobalOffsetBkg:0,GlobalOffsetCell:0,BaseSize:~~random(500,1500),LineThickness:random(.001,.002)*random([10,15,20]),Spacing:.005,BkgColor:color(window.$.isHyper?window.$.isMirage?color(0):color(20,4,90):window.$.isMirage?random([P.Yellow,P.Red,P.Teal]):random([P.Cardboard,P.Paper])),BkgGradient:!1,GradientBand:0,GradientBandOffset:0,ColorSweep:color(window.$.isHyper&&window.$.isMirage?32:P.Blue),ColorSweepAlt:color(color(window.$.isHyper&&window.$.isMirage?64:0)),ColorSweepAccent:color(window.$.isHyper&&window.$.isMirage?50:P.Blue),ColorSweepAccentAlt:color(0),ColorBkgThinLine:color(0),ColorBkgThinLineColorThresh:1,ColorBkgLineFill:color(0),ColorCellLines:color((340+window.$.Shift)%360,100,40),ColorCellBkg:color(window.$.isHyper||window.$.isMirage?0:P.Cardboard),ColorCellOutline:window.$.isHyper?window.$.isMirage?color(100):color(P.Cardboard):color(P.Blue),FlowBatchSize:window.$.isHyper?32:64,CellZoom:random(1,3),CellRamp:random(1,2),CellLineThickness:1.5,CellLineSpacing:.00