memoscan
← all memos

Memo 0xd362cda7…616deb on Ethereum

[0,()=>{console.log("Artist 45. Licia He -- platform 0");function e(t){let[e,n,r,o]=[[0,8],[8,8],[16,8],[24,8]].map((e=>parseInt(t.substr(e[0],e[1]),16)));return function(){e>>>=0,n>>>=0,r>>>=0,o>>>=0;let t=e+n|0;return e=n^n>>>9,n=r+(r<<3)|0,r=r<<21|r>>>11,o=o+1|0,t=t+o|0,r=r+t|0,(t>>>0)/4294967296}}function n(){let t=Y(["R0","useA"]);return j(["R0","useA"],!t),t?Y(["R0","prngA"])():Y(["R0","prngB"])()}function r(t,e){if(e>t.length)return t;let r,o,c=t.slice(0),l=t.length,i=l-e;for(;l-- >i;)o=Math.floor((l+1)*n()),r=c[o],c[o]=c[l],c[l]=r;return c.slice(i)}function o(t){return t[Math.floor(n()*t.length)]}function c(t){let e,r,o;for(o=t.length-1;o>0;o--)e=Math.floor(n()*(o+1)),r=t[o],t[o]=t[e],t[e]=r;return t}function l(t){return i(n(),{max:1,min:0},{max:t[1],min:t[0]})}function i(t,e,n){return t-e.min==0?n.min:(t-e.min)/(e.max-e.min)*(n.max-n.min)+n.min}function a(t){return l(Y(t))}function u(t){return t*Math.PI/180}function s(t,e=0){return[...Array(t).keys()].map((t=>t+e))}function f(t,e,n,r){if(t.length<1)return[];let o=[],c=t.map((t=>e(t))),l=function(t){let e=Infinity,n=-Infinity;for(let r=0;r<t.length;r++){let o=t[r];o>n&&(n=o),o<e&&(e=o)}return[e,n]}(c),a={min:l[0],max:l[1]},u={min:0,max:1};for(let s=0;s<c.length;s++){let t=i(c[s],a,u);o.push((r-n)*t+n)}return o}function h(t,e,n){let r,o,c,l;return[r,o]=t,[c,l]=e,[r+Math.cos(n)*(c-r)-Math.sin(n)*(l-o),o+Math.sin(n)*(c-r)+Math.cos(n)*(l-o)]}function p(t,e,n){return e.map((e=>h(t,e,n)))}function _(t,e,n){return t.map(((r,o)=>r+n*[e[0]-t[0],e[1]-t[1]][o]))}function d(t,e){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function g(t){let[e,n,r,o]=[Infinity,-Infinity,Infinity,-Infinity];for(let c=0;c<t.length;c++){let[l,i]=t[c];e=e<l?e:l,r=r<i?r:i,n=n>l?n:l,o=o>i?o:i}return[e,n,r,o]}function b(t){return[t[0]+(t[1]-t[0])/2,t[2]+(t[3]-t[2])/2]}function m(t,e){let n,r,o,c,l;if(n=d(t[0],t[1]),n<e)return[t];r=Math.ceil(n/e),o=e/n,c=t[0],l=[c];for(let i=0;i<r;i++){let e=_(...t,Math.min(1,o*(i+1)));l.push(e),c=e}return l}function v(t,e){return t.forEach((t=>t.forEach(((n,r)=>t[r]+=l(e))))),t}function w(t,e,n,r,o,c){return function(){return Array.prototype.slice.call(arguments).reduce((function(t,e){let n=[];return t.forEach((function(t){e.forEach((function(e){n.push(t.concat(e))}))})),n}),[[]])}(...[[o,n/(o+1),t],[c,r/(c+1),e]].map((t=>s(t[0]).map((e=>(e+1)*t[1]+t[2])))))}function C(t,e,n,r,o){let c=function(t,e,n,r,o){const c=p(t[1],t,-u(n));return[[...t[0]],_(...p(t[0],t,u(e)),r),_(c[1],c[0],o),[...t[1]]]}(t,e,n,r,o);return function(t,e){let n=function(t){let[e,n,r,o]=t,c=0;return[[e,n],[r,n],[o,r]].forEach((t=>c+=d(...t))),(c+d(o,e))/2}(t);if(n>e){let r=e/n,o=r,[c,l]=t[0],[i,a]=t[1],[u,s]=t[2],[f,h]=t[3];const p=[t[0]];for(;o<1;)p.push([(1-o)**3*c+3*o*(1-o)**2*i+3*o**2*(1-o)*u+o**3*f,(1-o)**3*l+3*o*(1-o)**2*a+3*o**2*(1-o)*s+o**3*h]),o+=r;return p.push(t[3]),p}return[t[0],t[3]]}(c,Y(["G","curve_approx_length"]))}function P(t,e,n,r,o){let c=[[t,e],[t+n,e],[t+n,e+r],[t,e+r]];return o&&c.push([t,e]),c}function x(t,e){let n=[];for(let r=0;r<t.length-2;r++)m([t[r],t[r+1]],e).forEach((t=>n.push(t)));return n}function R(t,e,n,r){const o=s(r).map((o=>[t+n*Math.cos(2*Math.PI*o/r),e+n*Math.sin(2*Math.PI*o/r)]));return o.push([...o[0]]),o}function E(t,e){let n=t.map(((t,n)=>[n,d(t,e)]));return n.sort(((t,e)=>e[1]-t[1])),t[n.pop()[0]]}function O(t,e,n){let r,o,c,l,i,a;return[r,o]=t,[c,l]=e,[i,a]=n,r*(l-a)+c*(a-o)+i*(o-l)==0}function M(){let[t,e]=Y(["C0","shape"]);const n=new Array(t);let r=Y(["C0","bg_c"]);for(let o=0;o<t;o++){n[o]=new Array(e);for(let t=0;t<e;t++)n[o][t]=r}return n}function S(t,e){const n=t[0],r=t[1];let o=0;for(let c=0,l=e.length-1;c<e.length;l=c++){const t=e[c][0],i=e[c][1],a=e[l][0],u=e[l][1];i>r!=u>r&&n<(a-t)*(r-i)/(u-i)+t&&(o=!o)}return o}function A(t){t.forEach((t=>t.forEach(((e,n)=>t[n]=Math.floor(t[n]/Y(["C0","scale_factor"]))))));let[e,n]=Y(["C0","shape"]),[r,o,c,l]=function(t,e,n){let[r,o,c,l]=n;return r=Math.max(0,r),c=Math.max(0,c),o=Math.min(o,e),l=Math.min(l,t),[r,o,c,l]}(e,n,g(t));const i=[];for(let a=r;a<=o;a++)for(let e=c;e<=l;e++){const n=[a,e];S(n,t)&&i.push(n)}return i}function y(t,e,n){if(t.length<3)return[];let r=A(t);return r.forEach((function(t){let[r,o]=t;(function(t,e,n){return n[t]!==undefined&&n[t][e]!==undefined})(o,r,e)&&(e[o][r]=n)})),r}function T(t,e,n,r,o,c,i,a,u){if(d(t,e)<a)return 0;u&&(r=l([r,r*u]));let s=_(f=t,p=e,r/d(f,p));var f,p;let g=h(n,s,o),b=h(n,s,-o);return c.push(g),i.push(b),1}function F(t,e,n,r){if(n=n||Y(["C0","split_length"]),r=r!==undefined?r:Y(["C0","dist_eps"])[0],!e)return[t,n,r];var o;let c;return c=function(t,e){if(t.length<1)return[];let n=[];for(let r=1;r<t.length;r++){let o=t[r-1],c=t[r],l=[o,c];n=n.concat(d(o,c)>e?m(l,e):l.slice(1))}return n.push([...n[n.length-1]]),n}((o=t,JSON.parse(JSON.stringify(o))),n),[c,n,r]}function k(t,e,n,r,o){let c=function(t,e,n,r,o,c){if(t.length<2)return[];let l,i,a,u,s,f,h,p,g,b,m,v,w;for([l,r,o]=F(t,n,r,o),i=[],a=[],u=.5*Math.PI,s=l[0],f=l[1],T(f,s,s,d(s,f)+e,-u,i,a,o,c),h=0,p=1,g=-1;p<l.length-1;)s=l[h],f=l[p],p+=1,d(s,f)<o||(b=_(s,f,.5),T(b,s,b,e,-1*u,i,a,o,c)&&(h=p-1));return w=l.length,m=l[w-2],v=l[w-1],T(m,v,v,d(v,m)+e,u,i,a,o,c),a.reverse(),[i,a]}(t,e,n,r,o);if(2!==c.length)return[];let[l,i]=c;return l.length>0&&i.push([...l[0]]),[...l,...i]}function B(t,e){let n,r,o;return n=0,r=Y(["C0","split_length"]),o=Y(["C0","dist_eps"])[0],k(t,e,0,r,o)}function I(t,e){let n,r,o;return n=1,r=Y(["C0","split_length"]),o=Y(["C0","dist_eps"])[0],k(t,e,1,r,o)}function L(t,e){Object.keys(e).map((n=>t.style[n]=e[n]))}function H(){L(Y(["H","mat_container"]),{width:`${Y(["G","w"])}px`,height:`${Y(["G","h"])}px`}),L(Y(["H","c1"]),{height:`${window.innerHeight}px`})}function D(){let t,e,n,r,o,c,l,i,a,u,s,f,h,p,_,d;var g,b;t=window.innerWidth,e=window.innerHeight,n=Y("w"),r=Y("h"),o=n/t,c=r/e,l=o>c?o:c,i=Math.ceil(n/l),a=Math.ceil(r/l),q({w:i,h:a},["G"]),u=Y(["R1","r"]),s=u*window.devicePixelRatio,f=i*s,h=a*s,p=1/l*window.devicePixelRatio,j(["R1","p0"],p),_=Y(["H","canvas"]),g=_,b={width:f,height:h,viewBox:`0 0 ${f} ${h}`},Object.keys(b).map((t=>g.setAttribute(t,b[t]))),_.style["max-width"]="100%",_.style["max-height"]="100%",d=Y(["R1","gl"]),d&&$()}function N(t,e,n){const r=t.createShader(e);return t.shaderSource(r,n),t.compileShader(r),r}function $(){let t=""+Y(["R1","p0"])*Y(["R1","d"]);t=t.includes(".")?t.slice(0,t.indexOf(".")+2):t+".0";let e=`\nattribute vec4 aVertexPosition;\nattribute vec4 aVertexColor;\nvarying lowp vec4 vColor;\n\nvoid main() {\ngl_Position = aVertexPosition;\nvColor = aVertexColor;\ngl_PointSize = ${t};\n}\n`,n="\nvarying lowp vec4 vColor;\n\nvoid main(void) {\ngl_FragColor=vColor;\n}\n",r=function(t,e){let n=Y(["R1","gl"]);const r=n.createProgram();return n.attachShader(r,N(n,n.VERTEX_SHADER,t)),n.attachShader(r,N(n,n.FRAGMENT_SHADER,e)),n.linkProgram(r),r}(e,n),o=Y(["R1","gl"]);o.viewport(0,0,o.canvas.width,o.canvas.height),q({vs:e,fs:n,p1:{program:r,attribLocations:{vertexPosition:o.getAttribLocation(r,"aVertexPosition"),vertexColor:o.getAttribLocation(r,"aVertexColor")}}},["R1"]),function(){let t=Y(["R1","gl"]);t.enable(t.BLEND);let[e,n,r,o]=Y(["DF","b","m"]);t.blendFuncSeparate(t[e],t[n],t[r],t[o])}()}function U(t){let e=Y("w")/2,n=Y("h")/2;return[(t[0]-e)/e,-(t[1]-n)/n]}function G(t,e,n){let r=function(t){let e,n,r;for(e=[],n=0,r=t.length-1;n+1<r;){let o=[n,n+1,r].map((e=>t[e])),c=[r,r-1,n+1].map((e=>t[e]));O(...o)||e.push(o),O(...c)||e.push(c),n+=1,r-=1}return e}(t);for(let o=0;o<r.length;o++){let t=r[o].map((t=>U(t)));t.forEach((t=>t.forEach((t=>n.wgl.push(t))))),t.forEach((()=>n.rgba.push(e)))}}let V=1600;function Y(t){return function(t,e){let n=e;if("string"==typeof t)return e[t];for(let o=0;o<t.length;o++)try{n=n[t[o]]}catch(r){return undefined}return n}(t,window.SETTING)}function j(t,e){return function(t,e,n){let r=e;for(let o=0;o<t.length-1;o++)r=r[t[o]];r[t[t.length-1]]=n}(t,window.SETTING,e)}function a(t){return l(Y(t))}function q(t,e){Object.keys(t).forEach((n=>j([...e,n],t[n])))}function W(){return Y(["C1","R3",Y(["OP","static","c_rule"])])}function z(t,e,n){n/=100;const r=e*Math.min(n,1-n)/100,o=e=>{const o=(e+t/30)%12,c=n-r*Math.max(Math.min(o-3,9-o,1),-1);return Math.round(255*c).toString(16).padStart(2,"0")};return`#${o(0)}${o(8)}${o(4)}`}function J(t){return function(t){let e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}(t).map((t=>t/255))}function X(t){let e=J(t);return e.push(1),e}function K(t,e,n,r){let o=t.r,c=t.rgbas,i=t.hsls,a=Y(["C1","picks",e]),u=function(t,e){let n=[];for(let r=0;r<e;r++){let e=[l(t.h0),l(t.s0),l(t.l0)];n.push(e)}return n}(o[e],a);i[e]=u,r[e]=[];let s=[];u.forEach((t=>s.push(X(z(t[0],t[1],t[2]))))),c[e]=s,t.ct[e]=s.length,s.forEach((function(t){n.push(t),r[e].push(n.length-1)}))}function Q(){let t=W();t.ct={},t.hsls={},t.rgbas={};let e=[];j(["OP","C1","full_rgbas"],e);let n={};j(["OP","C1","rule_to_fr_id"],n),Object.keys(t.r).forEach((r=>K(t,r,e,n))),function(){let t=W().rgbas,e=o(s(t[0].ct));q({bg_rgba:t[0][e],bg_rgba_id:e},["OP","C1"])}()}function Z(t,e){let n=Y(["lambda","hsl_checker"]);return t.map((function(t,r){let o=[...e,["h","s","l"][r]];return t+=a(o),n[r](t)}))}function tt(t){return X(z(...t))}function et(t,e){let n,r,o;n=Y(["R1","gl"]),r=Y(["R1","p1"]),o=function(t,e,n){const r=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,r),t.bufferData(t.ARRAY_BUFFER,new Float32Array(e),t.STATIC_DRAW);const o=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,o),t.bufferData(t.ARRAY_BUFFER,new Float32Array(n.flat()),t.STATIC_DRAW),{position:r,color:o}}(n,t.wgl,t.rgba),function(t,e,n){{const r=2,o=e.FLOAT,c=0,l=0,i=0;e.bindBuffer(e.ARRAY_BUFFER,t.position),e.vertexAttribPointer(n.attribLocations.vertexPosition,r,o,c,l,i),e.enableVertexAttribArray(n.attribLocations.vertexPosition)}{const r=4,o=e.FLOAT,c=0,l=0,i=0;e.bindBuffer(e.ARRAY_BUFFER,t.color),e.vertexAttribPointer(n.attribLocations.vertexColor,r,o,c,l,i),e.enableVertexAttribArray(n.attribLocations.vertexColor)}}(o,n,r),function(t,e){e.bindBuffer(e.ARRAY_BUFFER,t.color),e.bindBuffer(e.ARRAY_BUFFER,t.position)}(o,n),n.drawArrays(n[e],0,t.wgl.length/2)}function nt(){!function(){let t,e;t=Y(["R1","gl"]),e=Y(["R1","p1"]),t.useProgram(e.program);let n=Y(["OP","C1","bg_rgba"]);t.clearColor(...n),t.clearDepth(1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}(),et(Y(["OP","CL","polygons"]),"TRIANGLES")}function rt(){j(["R1","c"],1),$(),function(){let t=Y(["OP","CL","polygons"]),e=Y(["OP","C1","full_rgbas"]);for(let n=0;n<t.raw.length;n++)G(t.raw[n],e[t.c0[n]],t)}()}function ot(t,e,n,r){let o=[t[e][n],t[e][n+1],t[e+1][n+1],t[e+1][n]];o=o.map((t=>t===r?1:0));let c=8*o[0]+4*o[1]+2*o[2]+o[3];return Number.isInteger(c)&&c>=0&&c<=15||(c=0),c}function ct(t,e,n,r){let o,c,l,i,[a,u]=Y(["C0","shape"]),s=[];n?([o,l,c,i]=n,o=Math.max(Math.floor(o),0),c=Math.max(Math.floor(c),0),l=Math.min(l,u-1),i=Math.min(i,a-1)):(o=0,c=0,l=u-1,i=a-1);for(let h=c;h<i;h++)for(let n=o;n<l;n++){let r=ot(t,h,n,e);0!==r&&15!==r&&lt(n,h,r,s)}let f=function(t,e){const n=[],r=new Set;function o(e,n,o){for(const c in t){if(r.has(c)||c===n)continue;const l=t[c];if(it(e,l[0],o))return r.add(c),l[1];if(it(e,l[1],o))return r.add(c),l[0]}return null}for(const c in t)if(!r.has(c)){const l=[t[c][0],t[c][1]];r.add(c);let i=o(l[l.length-1],c,e);for(;i;)l.push(i),i=o(l[l.length-1],c,e);l.length>0&&l.push([...l[0]]),n.push(l)}return n}(s,r);return f.map((t=>{return(e=t).forEach((t=>t.forEach(((e,n)=>t[n]=Math.floor(t[n]*=Y(["C0","scale_factor"])))))),e;var e}))}function lt(t,e,n,r){let o=[t+.5,e],c=[t+1,e+.5],l=[t+.5,e+1],i=[t,e+.5];switch(n){case 1:case 14:r.push([l,i]);break;case 2:case 13:r.push([c,l]);break;case 3:case 12:r.push([c,i]);break;case 4:case 11:r.push([o,c]);break;case 5:r.push([o,i]),r.push([c,l]);break;case 6:case 9:r.push([o,l]);break;case 7:case 8:r.push([o,i]);break;case 10:r.push([o,c]),r.push([l,i]);break;default:r.push([t,e])}}function it(t,e,n){return d(t,e)<n}function at(e,r,o,c,l,i){let a=ut,[u,s,f,h,p]=function(t){let e=Y(["OP","C1","full_rgbas"]),n=Y(["OP","C1","rule_to_fr_id"]),r=Y(["C1","m1",t]),o=W(),c=Y(["C1","m0",t]);return[e,n,r,o,c]}(c);for(let _=0;_<r.length;_++){let d=i[_];(!d||n()<p)&&([d,t]=bt(f,h,s));let g=d[2];a(null,null,_,r[_],g,u,s,f,h,p,o,c,l,e)}}function ut(t,e,r,o,c,l,i,u,s,f,h,p,d,g){let b=function(t,e,n){let r=E(t,n),o=Array(e).fill([]),c=1/(e+1);for(let l=0;l<e;l++){let e=1-(l+1)*c;o[l]=t.map((t=>_(t,r,e)))}return o}(o,Math.floor(a(["T",p,"sc"])),g),m=Y(["T",p,"offset_rate"]),w=Y(["T",p,"noise_rg"]);for(let _=0;_<b.length;_++){if(n()>Y(["T",p,"kr"]))continue;let t;if(n()<f){let[e,n]=bt(u,s,i);t=e[2]}else t=c;let e=tt(Z(t,["T",p,"cvar"]));e[3]=a(["T",p,"cvar","o"]);let r=b[_];v(r,w),n()<m&&(r=B(r,a(["T",p,"os"]))),h.push(r),l.push(e),d.push(l.length-1)}}function st(t,e){let n=["T","ds"],r=Y("w"),o=a([...n,"dot_r"]),c=0,l=Math.floor(a([...n,"side_ct"])),i=Math.floor(a([...n,"layer_ct"]));e.push(R(...t,o,Math.floor(a([...n,"dot_side"]))));for(let u=0;u<i;u++){let i=Math.floor(a([...n,"dot_side"]));o*=a([...n,"radius_dec"]),c+=a([...n,"radius_side_inc"])*r,R(...t,c,l).forEach((t=>e.push(R(...t,o,i))))}}function ft(){let t=Y(["OP","g","focus"]),e={pts:[],vector:[]},r={vector:[R(...t,a(["S","focal_r"]),20)]},o=Y("w"),c=Y("w"),i=c*Y(["S","lg_perc"]),u=s(Math.floor(a(["S","pt_init_ct"]))).map((t=>function(t,e,n){return[l([-n,t+n]),l([-n,e+n])]}(o,c,i))),h=Y(["S","pt_dist_weight"]),p=f(u,(e=>d(e,t)),h[0],h[1]),_=u.filter(((t,e)=>n()<p[e]));_.forEach((t=>e.pts.push(t))),_.forEach((t=>e.vector.push(R(...t,a(["S","pt_r"]),20)))),q({p0:e,c:r},["OP","g"])}function ht(t,e,n,r,o){let c=[-r,0],i=[e,n+r],u=e*a(["S","turn_rg_perc"]);o.curves=t.map((t=>function(t,e,n,r){let o,c,i,u,s,f,h,[p,_]=t;return o=[l(e),_],i=[l(n),_],c=[l([t[0]-r,t[0]+r]),_],u=a(["S","curve_deg"]),s=a(["S","curve_deg"]),f=-s,h=-a(["S","curve_deg"]),[...C([o,c],u,s,a(["S","curve_dist"]),a(["S","curve_dist"])),...C([c,i],f,h,a(["S","curve_dist"]),a(["S","curve_dist"]))]}(t,c,i,u)))}function pt(t,e,n,r,o){s(Math.floor(a(["S","spread_rep_ct"]))).map((t=>Math.floor(a(["S","spread_line_ct"])))).forEach((n=>function(t,e,n,r,o){let[c,l]=o,i=[[c,l],[c+1.5*e,l]],f=a(["S","sp_init_rot"]),h=360/t;return s(t).map((t=>p(o,i,u(f+h*t))))}(n,e,0,0,t).forEach((t=>o.spreads.push(t)))))}function _t(t,e,n){let o=Y(["OP","temp","bm_0"]),c=Math.floor(a(["S","base_rep_ct"])),l=[0,e,0,n],i=[];for(let u=0;u<c;u++){let c=[...r(t.lines,Math.floor(a(["S","line_base_perc"])*t.lines.length)),...r(t.curves,Math.floor(a(["S","curve_base_perc"])*t.curves.length))].map((t=>I(t,a(["S","base_offset"])))),u=[[[e,0],[e,n]],[[0,n],[e,n]]];[[[0,0],[0,n]],[[0,0],[e,0]]].forEach((t=>c.push(I(t,25)))),u.forEach((t=>c.push(I(t,5)))),c.forEach((t=>y(t,o,"b"))),ct(o,Y(["C0","bg_c"]),l,Y(["C0","extract_factor_base"])).forEach((t=>i.push(t)))}return function(t,e){let n=Y(["C0","shape"]);for(let r=0;r<n[0];r++)for(let o=0;o<n[1];o++)t[r][o]=e}(o,Y(["C0","bg_c"])),i}function dt(){let t=Y(["OP","g","focus"]),e=Y(["OP","g","p0"]).pts,n=Y("w"),o=Y("h"),c=Y(["S","lg_perc"])*o,l={lines:[],curves:[],spreads:[]},i={vector:[]};j(["OP","g","o1"],i),function(t,e,n,o,c){let l=[t=>[[...t],[t[0],n+o]],t=>[[...t],[t[0],-o]],t=>[[...t],[e+o,t[1]]],t=>[[...t],[-o,t[1]]]];c.lines=[],t.forEach((t=>r(l,2).forEach((e=>c.lines.push(e(t))))))}(e,n,o,c,l),ht(e,n,o,c,l),pt(t,n,0,0,l),i.vector=[...r(l.lines,Math.floor(a(["S","line_outline_perc"])*l.lines.length)),...r(l.curves,Math.floor(a(["S","curve_outline_perc"])*l.curves.length)),...r(l.spreads,Math.floor(a(["S","spreads_outline_perc"])*l.spreads.length))],j(["OP","g","bs"],{vector:_t(l,n,o)})}function gt(){let t={vector:[]},e=Y(["OP","g","focus"]);j(["OP","g","p"],t);let o=Y(["OP","g","bs"]).vector,l=Y(["S","base_overlay_noise"]),i=Y(["S","pattern_weight"]),u=f(o,(t=>d(e,t[0])),i[0],i[1]);for(let r=0;r<o.length;r++)if(n()<u[r]){let e=o[r].map((t=>[...t]));v(e,l),c(e),t.vector.push(x(e,a(["T","p","split_len"])))}!function(t){let e={vector:[]},o=Y(["OP","g","focus"]);st(o,e.vector);let c=Y(["S","base_rotating_dot_weight"]),l=f(t,(t=>d(t[0],o)),c[0],c[1]);for(let r=0;r<t.length;r++)n()<l[r]&&st(E(t[r],o),e.vector);j(["OP","g","ds"],e),j(["OP","g","do"],{vector:r(e.vector,a(["S","dots_outline_rate"])*e.vector.length)})}(o)}function bt(t,e,n){let r=o(t),c=e.hsls[r],l=o(s(e.ct[r])),i=n[r][l];return[[r,l,c[l]],i]}function mt(t,e){let r=o(Y(["C1","ck",e])),c=t.hsls[r],l=t.ct[r],i=Y(["C1","m0",e]),u=Y(["C1","m1",e]),[f,h,p]=function(t){return[Y(["OP","g",t,"vector"]),Y(["OP","C1","mapping",t]),Y(["OP","C1","rule_to_fr_id"])]}(e),_=Y(["OP","C1","full_rgbas"]);for(let d=0;d<f.length;d++){let f,d,g,b;if(n()<i){let[e,n]=bt(u,t,p);f=e[2],b=tt(f),d=e,g=n}else{let t=o(s(l));d=[r,t,c[t]],g=p[r][t]}b=[..._[g]],b[3]=a(["T",e,"o"]),_.push(b),h.ref.push(d),h.c0.push(_.length-1)}}function vt(t,e,n){let r=Y(["OP","g",t]);r.T=[];let o=r.vector,c=r.T,l=Y(["OP","C1","mapping",t]),i=l.ref;l.texture_cid=[],at(e,o,c,n,l.texture_cid,i)}function wt(t,e,n,r,o){let c=t[e];if(!t)return;let i=n[e];if(r){let t=B(c,l(r));o.raw.push(t),o.c0.push(i)}else o.raw.push(c),o.c0.push(i)}function Ct(t,e,n,r){for(let o=0;o<t.length;o++)wt(t,o,e,n,r)}function Pt(){j(["OP","g","focus"],o(Y(["OP","g","focal_pts"]))),q({bm_0:M()},["OP","temp"]),window.start=Date.now(),function(){let t={vector:[]},e=Y(["OP","g","focus"]),n=a(["S","bg_circle_r_addition"]),r=Y(["h"]),o=Y(["S","bg_circle_r_addition"]);for(;n<r;){let r=R(e[0],e[1],n,80);t.vector.push(r),o[1]+=a(["S","bg_circle_growth_rate"]),n+=l(o)}j(["OP","g","bt"],t)}(),ft(),dt(),gt(),function(){let t=W(),e=["p0","o1","bs","p","c","bt","ds","do"],n={};e.forEach((t=>{n[t]={ref:[],c0:[]}})),q(n,["OP","C1","mapping"]),e.forEach((e=>mt(t,e)))}(),vt("bs",Y(["OP","g","focus"]),"bt2"),vt("c",Y(["OP","g","focus"]),"ct"),vt("p0",Y(["OP","g","focus"]),"ct"),function(){let t=["OP","g"],e=["OP","C1","mapping"],n=[[...t,"bt","vector"],[...e,"bt","c0"],["T","bt","or"]],r=[[...t,"p0","vector"],[...e,"p0","c0"],undefined],o=[[...t,"o1","vector"],[...e,"o1","c0"],["T","o1","or"]],c=[[...t,"bs","vector"],[...e,"bs","c0"],undefined],l=[[...t,"bs","T"],[...e,"bs","texture_cid"],undefined],i=[[...t,"p","vector"],[...e,"p","c0"],["T","p","or"]],a=[[...t,"c","vector"],[...e,"c","c0"],undefined],u=[[...t,"c","T"],[...e,"c","texture_cid"],undefined],s=[[...t,"p0","T"],[...e,"p0","texture_cid"],undefined],f=[n,l,i,c,[[...t,"ds","vector"],[...e,"ds","c0"],undefined],[[...t,"do","vector"],[...e,"do","c0"],["T","do","or"]],o,r,s,u,a],h=Y(["OP","CL","polygons"]);for(let p=0;p<f.length;p++){let[t,e,n]=f[p],r=undefined;n&&(r=Y(n)),Ct(Y(t),Y(e),r,h)}}()}window.SETTING={w:900,h:V,R0:{},R1:{c:0,r:1.25,p0:null,e:null,gl:null,vs:null,fs:null,p1:null,d:1},B:{},H:{canvas:null,c1:null,mat_container:null},C0:{bg_c:0,blob_c:1,gap_c:2,scale_factor:12,shape:[],extract_factor_base:.5,dist_eps:[1,10],split_length:15,max_line_gap:5,min_border_px_ct:50},G:{curve_approx_length:5,u:10,w:null,h:null},T:{p0:{o:[.68,.99]},o1:{o:[.1,.25],or:[1,8]},bt:{o:[.05,.75],or:[.5,2]},bs:{o:[.15,.25]},bt2:{sc:[10,45],kr:.65,offset_rate:.5,cvar:{h:[-30,30],s:[-5,5],l:[-5,5],o:[.35,.48]},os:[2,15],noise_rg:[-12,12]},p:{o:[.01,.26],simplify_eps:3.5,smooth_alpha:.3,or:[.8,2.3],split_len:[3,6]},c:{o:[.15,.26]},ct:{sc:[15,35],kr:.95,offset_rate:.5,cvar:{h:[-30,30],s:[-5,5],l:[-5,5],o:[.25,.418]},os:[2,15],noise_rg:[-12,12]},ds:{o:[.05,.13],dot_r:[10,20],side_ct:[4,15],dot_side:[4,15],layer_ct:[4,7],radius_dec:[.65,.95],radius_side_inc:[.014,.025]},"do":{o:[.15,.23],or:[.1,1]}},C1:{ck:{p0:["5","6","7"],o1:["5","6","7","8"],bs:["1","2"],c:["8"],p:["1","2","3","4"],bt:["1","2","3","4"],ds:["0","1","2","3","4"],"do":["3","4","5","6","7"]},m0:{p0:.45,o1:.8,bs:.25,c:0,p:.45,bt:.25,ds:.25,"do":.5},m1:{p0:["5","6","7"],o1:["4","5","7"],bs:["3","4"],c:["8"],p:["5","6","7"],bt:["5","6","7"],ds:["5","6","7"],"do":["0","1","2","3","4","5","6","7"]},R3:{0:{r:{0:{h0:[0,15],s0:[65,80],l0:[65,80]},1:{h0:[30,40],s0:[70,95],l0:[80,95]},2:{h0:[15,45],s0:[60,80],l0:[73,95]},3:{h0:[120,160],s0:[25,35],l0:[40,60]},4:{h0:[180,220],s0:[45,60],l0:[65,85]},5:{h0:[200,230],s0:[25,45],l0:[55,70]},6:{h0:[40,60],s0:[80,90],l0:[80,95]},7:{h0:[25,45],s0:[75,85],l0:[65,85]},8:{h0:[200,230],s0:[90,100],l0:[45,65]}}},1:{r:{0:{h0:[200,245],s0:[85,90],l0:[60,80]},1:{h0:[30,40],s0:[70,95],l0:[75,95]},2:{h0:[0,30],s0:[60,80],l0:[75,95]},3:{h0:[200,220],s0:[70,95],l0:[40,60]},4:{h0:[200,250],s0:[45,60],l0:[65,85]},5:{h0:[300,330],s0:[25,45],l0:[55,70]},6:{h0:[0,30],s0:[80,90],l0:[85,95]},7:{h0:[45,60],s0:[75,85],l0:[65,85]},8:{h0:[0,15],s0:[85,100],l0:[50,70]}}},2:{r:{0:{h0:[99,140],s0:[35,50],l0:[45,55]},1:{h0:[30,40],s0:[70,95],l0:[75,95]},2:{h0:[0,30],s0:[60,80],l0:[75,95]},3:{h0:[80,150],s0:[35,45],l0:[25,40]},4:{h0:[180,200],s0:[45,60],l0:[65,85]},5:{h0:[200,230],s0:[25,45],l0:[55,70]},6:{h0:[300,330],s0:[80,90],l0:[85,95]},7:{h0:[45,60],s0:[75,85],l0:[65,85]},8:{h0:[0,15],s0:[85,100],l0:[50,70]}}}},picks:{0:10,1:10,2:10,3:10,4:10,5:5,6:5,7:4,8:4}},DF:{b:{m:["SRC_ALPHA","ONE_MINUS_SRC_ALPHA","ONE","ONE_MINUS_SRC_ALPHA"]},border:{perc:.035,size:96*.7}},S:{lg_perc:.25,pt_init_ct:[55,75],pt_dist_weight:[.75,.3],focal_r:[45,70],pt_r:[7,20],turn_rg_perc:[.25,.4],curve_deg:[30,60],curve_dist:[.35,.69],spread_rep_ct:[1,3],spread_line_ct:[16,35],sp_init_rot:[-180,180],line_outline_perc:[.35,.55],curve_outline_perc:[.6,.85],spreads_outline_perc:[.2,.35],line_base_perc:[.25,.48],curve_base_perc:[.4,.6],base_offset:[5,20],base_rep_ct:[2,3],base_overlay_noise:[-35,35],pattern_weight:[.6,.1],bg_circle_r_addition:[5,25],bg_circle_growth_rate:[.01,.35],base_rotating_dot_weight:[.7,.2],dots_outline_rate:[.15,.4]},p:{},"static":{bg_patterns:["grid","frame","center_box","ladder"],fg_patterns:["grid","center_box","pond","corner","field","flip"]},lambda:{scale:null,color_spec:{c:{s:{max:539200**.5,min:0},p:(t,e)=>d(b(g(t)),e)},h:{s:{max:V,min:0},p:(t,e)=>t[0][1]},v:{s:{max:900,min:0},p:(t,e)=>t[0][0]}},dd:(t,e)=>d(b(g(t)),e),hsl_checker:[t=>Math.min(Math.max(0,t),359),t=>Math.min(Math.max(0,t),100),t=>Math.min(Math.max(0,t),100)]},link:{},OP:{C1:{mapping:{}},g:{},CL:{},"static":{},temp:{}}},function(t){q({prngA:new e(t.hash.substr(2,32)),prngB:new e(t.hash.substr(34,32)),useA:0},["R0"])}(tokenData),function(){L(document.body,{width:"100%",height:"100%",margin:"0",padding:"0","overflow-y":"hidden","overflow-x":"hidden","-ms-overflow-style":"none","scrollbar-width":"none","image-rendering":"high-quality","background-color":"#FFFFFF"});let t=document.createElement("canvas");j(["H","canvas"],t),D();let[e,n]=function(){let t=document.createElement("div");L(t,{display:"flex","align-items":"center","align-content":"center","justify-content":"center",width:"100%",height:`${window.innerHeight}px`,margin:"0px",padding:"0px"});let e=document.createElement("div");return q({c1:t,mat_container:e},["H"]),L(e,{width:`${Y(["g","w"])}px`,height:`${Y(["g","h"])}px`,display:"flex","flex-direction":"row","align-items":"center","align-content":"center","justify-content":"center","flex-wrap":"nowrap"}),t.appendChild(e),[t,e]}();n.appendChild(t),document.body.appendChild(e),D(),H()}();let xt=Y(["H","canvas"]).getContext("webgl");if(q({e:null!==xt,gl:xt},["R1"]),xt){q({c_rule:o(Object.keys(Y(["C1","R3"])))},["OP","static"]),Q(),function(){let t,e,n,r,o;t=Y(["w"]),e=Y("h");let c=Y(["C0","scale_factor"]);j(["C0","shape"],[Math.floor(e/c),Math.floor(t/c)]),n=w(0,0,t,e,2,2),n.push([t/2,e/2]),j(["OP","g","focal_pts"],n),j(["OP","g","rect"],P(0,0,t,e)),r=Y(["DF","S","lg_perc"]),o=P(-r*t,-r*e,t*(1+2*r),e*(1+2*r)),j(["OP","g","lg_rect"],o)}(),q({lines:{raw:[],c0:[],rgba:[],wgl:[]},polygons:{raw:[],c0:[],rgba:[],wgl:[]},p0:{raw:[],c0:[],rgba:[],wgl:[]}},["OP","CL"]),Pt(),rt(),requestAnimationFrame(Rt);let Et=function(){D(),H(),setTimeout(requestAnimationFrame(Rt))};function Rt(){Y(["R1","e"])&&Y(["R1","c"])&&nt()}window.addEventListener("resize",Et),document.addEventListener("orientationchange",Et)}else{let Ot=Y(["H","canvas"]);document.body.removeChild(Ot.parentElement.parentElement);let Mt=document.createElement("h1");Mt.innerText="Please switch to a WebGL-enabled browser and refresh.",document.body.appendChild(Mt)} }],