forked from acamposuribe/p5.brush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
p5.brush.min.js
2 lines (2 loc) · 28.5 KB
/
p5.brush.min.js
1
2
/* p5.brush.js v1.0.4 - Alejandro Campos - MIT License */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(1h(m,K){"6I"===3m 4f&&"4g"!==3m 6J?K(4f):"1h"===3m 4h&&4h.6K?4h(["4f"],K):(m=m||5t,K(m.4i={}))})(j,1h(m){1h K(a=!1){X=!0;l=a?a:6L.5t;u.3n();r.5u();Y(l.1A/5v)}1h B(){X||K()}1h Z(a,b,c,d,e=!1){1a h=a.x;a=a.y;1s k=b.x,n=b.y;b=c.x;c=c.y;1s p=d.x,q=d.y;1n(h===k&&a===n||b===p&&c===q)1c!1;d=k-h;k=n-a;n=p-b;q-=c;p=q*d-n*k;1n(0===p)1c!1;n=(n*(a-c)-q*(h-b))/p;b=(d*(a-c)-k*(h-b))/p;1c!e&&(0>b||1<b)?!1:{x:h+n*d,y:a+n*k}}1h Q(a,b,c,d){1c(2j/1k.2s*1k.6M(-(d-b),c-a)%1u+1u)%1u}1h aa(){v.2t.1g=r.1g;v.2t.2k=r.2k;v.1M.1g=g.1g;v.1M.4i=g.2F;v.1M.1O=g.c;v.1M.1Z=g.w;v.1M.3o=g.cr;v.1B.1g=z.1g;v.1B.2n=z.2n;v.1B.2a=z.2a;v.1o.1g=w.1g;v.1o.1O=w.1O;v.1o.2l=w.2l;v.1o.2o=w.2o;v.1o.2G=w.2G;v.1o.2I=w.2I;v.4j.1I=x.2Z}1h ba(){r.1g=v.2t.1g;r.2k=v.2t.2k;g.1g=v.1M.1g;g.2F=v.1M.4i;g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2],!0);c.1N(p,n,d[2],!0);c.1N(h,y===a.1l-3?F:0,e[2],!0);C=t}y==a.1l-3&&c.3p(h,e[2],!0)}2u 0===b&&(e=a[y],p=a[y+1],d=39(e[0],e[1],p[0],p[1]),e=Q(e[0],e[1],p[0],p[1]),c.1N(e,d,1,!0),y==a.1l-2&&c.3p(e,1,!0))}1c c}1h 4s(a,b,c,d){w.2l=4>3a.1l?3>3a.1l?b:1:d;w.1O=3>3a.1l?1O(a):1O(a,b,c);w.1g=!0}1h 4t(a,b="2c"){w.2o=f.2p(a,0,.6);w.5y=b}1h 4u(a=.4,b=.4){w.2G=f.2p(a,0,1);w.2I=f.2p(b,0,1)}1a l,X=!1;2d.2N.3q("4v",()=>B());1y f={2v:()=>1i(),1i(a=0,b=1){1c 1===3a.1l?j.1J(j.2v(),0,1,0,a):j.1J(j.2v(),0,1,a,b)},1E(a,b){1c 1k.1S(j.1i(a,b))},6O(a){1a b,c,d=[];1j(b 6P a)1j(c=0;c<10*a[b];c++)d.1t(b);1c d[1k.1S(j.2v()*d.1l)]},1J(a,b,c,d,e,h=!1){a=d+(a-b)/(c-b)*(e-d);1c h?d<e?j.2p(a,d,e):j.2p(a,e,d):a},2p(a,b,c){1c 1k.1f(1k.1D(a,c),b)},1x(a){1c j.c[1k.1S((a%1u+1u)%1u*4)]},1w(a){1c j.s[1k.1S((a%1u+1u)%1u*4)]},4w:!1,5z(){1n(!j.4w){1s a=2*1k.2s/3D;j.c=1v 4x(3D);j.s=1v 4x(3D);1j(1a b=0;3D>b;b++){1y c=b*a;f.c[b]=1k.1x(c);f.s[b]=1k.1w(c)}j.4w=!0}},6Q:a=>!6R(a),2w:a=>(("4y"===3b()?2j*a/1k.2s:a)%1u+1u)%1u};f.5z();1y v={2t:{},1M:{},1B:{},1o:{},4j:{}},x={2x:[0,0],2Z:0,1I(a=0){x.2Z=f.2w(a)},1z(){1c j.2x=[l.4z.5A.4A[12],l.4z.5A.4A[13]]}};1s V=1;1s 5B=a=>V*=a;1y u={4B:!1,3c:!1,4C:!0,2f:1v 3E(3),3n(){j.1d=4D(l.1A,l.1G);j.1d.3d(l.3d());j.1d.2O();j.1d.5C();j.1d.3b(4E);m.1d=j.1d;u.4B||(j.3F=j.3F.6S(\'#5D "5E.3G"\',j.3G()));j.2y=l.6T(j.5F,j.3F);u.4B=!0;j.1T=4D(l.1A,l.1G);j.1T.3d(l.3d());j.1T.5C();j.1T.2O();j.1T.3b(4E);j.3e=4D(l.1A,l.1G,6U);j.3e.3d(l.3d());j.3e.2O();j.3e.3b(4E)},3H(a){a=a.6V;1a b=1v 3E(3);b[0]=a[0]/1U;b[1]=a[1]/1U;b[2]=a[2]/1U;1c b},4F(){l.1t();l.2P(-x.1z()[0],-x.1z()[1]);l.1K(u.1T,-l.1A/2,-l.1G/2);u.1T.2O();l.2Q()},4G(){aa();g.2b("2R","6W",1);g.2S(-10,-10,-5,-5);ba()},3I:1v 3E(3),3J:1v 3E(3),3K:!1,3L:!1,1H(a=!1,b=!1,c=!1,d=!1){j.3c=c?j.3K:j.3L;j.2f=c?j.3I:j.3J;1n(!j.3c)1n(a)j.2f=j.3H(a),c?(j.3K=!0,j.3I=j.2f):(j.3L=!0,j.3J=j.2f);2u{l.1t();l.2P(-x.1z()[0],-x.1z()[1]);l.1K(j.1T,-l.1A/2,-l.1G/2);j.1T.2O();l.2Q();1c}1n((a?j.3H(a):j.2f).5G()!==j.2f.5G()||b||!j.4C)l.1t(),l.2P(-x.1z()[0],-x.1z()[1]),l.1K(j.1T,-l.1A/2,-l.1G/2),j.1T.2O(),l.2y(j.2y),j.2y.3r("3M",j.2f),j.2y.3r("2v",l.4z),j.2y.3r("4H",d),j.2y.3r("1i",[f.1i(),f.1i(),f.1i()]),d=c?j.3e:j.1d,j.2y.3r("1d",d),l.1o(0,0,0,0),l.3s(),l.3N(-l.1A/2,-l.1G/2,l.1A,l.1G),l.2Q(),d.2O(),b||(j.2f=j.3H(a),c?j.3I=j.2f:j.3J=j.2f);b&&(j.3c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1m z){1c 1L(3Q(s.2T,e.2T,z),5R(s.w,e.w,z));}"}};2d.2N.3q("4v",()=>u.1H(!1,!0));2d.2N.3q("4v",()=>u.1H(!1,!0,!0));2d.2N.3q("5Z",()=>u.1H(!1,!0));2d.2N.3q("5Z",()=>u.1H(!1,!0,!0));1y r={1g:!1,1P:1v 4P,2k:"",60(){1c 1k.1D(l.1A,l.1G)/cV},5u(){j.R=.4M*l.1A;j.61=-1*l.1A;j.62=-1*l.1G;j.2q=1k.2z(2*l.1A/j.R);j.2A=1k.2z(2*l.1G/j.R);j.63()},64(){1c j.1P.2J(j.2k).2t},4k(a=0){j.1P.2J(j.2k).2t=j.1P.2J(j.2k).5w(a,j.66())},66(){1a a=3V(j.2q);1j(1a b=0;b<j.2q;b++)a[b]=1v 4x(j.2A);1c a},63(){L("cW",1h(a,b){1a c=f.1E(-25,-15);0==f.1E(0,4Q)%2&&(c*=-1);1j(1a e=0;e<r.2q;e++)1j(1a h=0;h<r.2A;h++){1s d=67(.3W*e+.3P*a,.3W*h+.3P*a);d=f.1J(d,0,1,-c,c);b[e][h]=3*d}1c b});L("cX",1h(a,b){a=f.1E(-25,-15)+5*f.1w(a);0==f.1E(0,4Q)%2&&(a*=-1);1a c=f.1E(5,10);1j(1a e=0;e<r.2q;e++)1j(1a h=0;h<r.2A;h++){1s d=67(.3W*e,.3W*h);d=1k.2z(f.1J(d,0,1,-a,a)/c)*c;b[e][h]=4*d}1c b});L("cY",1h(a,b){a=f.1E(-30,-15)+1k.4R(44*f.1w(a));0==f.1E(0,4Q)%2&&(a*=-1);1a c=0;1j(1a d=0;d<r.2q;d++){1j(1a e=0;e<r.2A;e++)b[d][e]=c,c+=a,a*=-1;c+=a;a*=-1}1c b});L("cZ",1h(a,b){1a c=f.1E(10,15)+5*f.1w(a);a=f.1E(3,6)+3*f.1x(a);1a d=f.1E(20,35);1j(1a e=0;e<r.2q;e++)1j(1a h=0;h<r.2A;h++){1a k=f.1w(c*e)*d*f.1x(h*a)+f.1E(-3,3);b[e][h]=k}1c b});L("d0",1h(a,b){1a c=f.1i(.4,.8),d=f.1E(18,26);1j(1a h=0;h<r.2q;h++)1j(1a k=0;k<r.2A;k++){1s e=f.1E(15,20);e=d*f.1w(c*k*h+e);b[h][k]=1.1*e*f.1x(a)}1c b})}};3X S{3Y(a,b){j.3Z(a,b);j.1X=0}3Z(a,b){j.x=a;j.y=b;r.1g&&(j.68=j.x-r.61+x.1z()[0],j.69=j.y-r.62+x.1z()[1],j.41=1k.2z(j.68/r.R),j.42=1k.2z(j.69/r.R))}d1(){j.1X=0}43(){1c r.1g?0<=j.41&&0<=j.42&&j.41<r.2q&&j.42<r.2A:j.6a()}6a(){1a a=l.1A,b=l.1G;1c j.x>=-a-x.1z()[0]&&j.x<=a-x.1z()[0]&&j.y>=-b-x.1z()[1]&&j.y<=b-x.1z()[1]}2U(){1c j.43()&&r.1g?r.64()[j.41][j.42]:0}6b(a,b,c=r.60(),d=!0){1n(j.43()){1a h;1n(!d){h=f.1x(-b);1s e=f.1w(-b)}1j(1a k=0;k<a/c;k++){d&&(e=j.2U(),h=f.1x(e-b),e=f.1w(e-b));1a n=c*h,p=c*e;j.1X+=c;j.3Z(j.x+n,j.y+p)}}2u j.1X+=c}4S(a,b,c,d){1n(j.43()){d=1/d;1j(1a h=0;h<b/c;h++){1s e=j.2U();1a k=a.2U(j.1X),n=c*f.1x(e-k);e=c*f.1w(e-k);j.1X+=c*d;j.3Z(j.x+n,j.y+e)}}2u j.1X+=c/3v}}1a da=1;1y g={1g:!0,1P:1v 4P,c:"#d2",w:1,cr:3f,2F:"6c",2V:(a,b)=>{1y c="2R"===b.1q||"2C"===b.1q||"1K"===b.1q;c||"3g"===b.1q||(b.1q="46");"1K"===b.1q&&(T.2V(b.1K.6d),b.3h=()=>g.1d.1K(T.3w.2J(g.p.1K.6d),-g.p.1Z/2,-g.p.1Z/2,g.p.1Z,g.p.1Z));b.1H=c&&!1!==b.1H||b.1H?!0:!1;g.1P.2b(a,{3C:b,d3:[],d4:[]})},2b(a,b,c=1){g.4T(a);g.c=b;g.w=c;g.1g=!0},4T(a){g.2F=a},6e(a,b,c){0<3a.1l&&(g.c=2>3a.1l?a:[a,b,c]);g.1g=!0},6f(a){g.w=a},3o(a){g.cr=a},4U(){g.cr=3f},2S(a,b,c,d){B();1a e=39(a,b,c,d);0!=e&&(g.47(a,b,e,!1,!1),a=Q(a,b,c,d),g.1R(a,!1))},4V(a,b,c,d){B();g.47(a,b,c,!0,!1);g.1R(f.2w(d),!1)},4W(a,b,c,d){B();g.47(b,c,a.1l,!0,a);g.1R(d,!0)},2L(){j.p=j.1P.2J(j.2F).3C;1c"46"===j.p.1q||"3g"===j.p.1q?j.p.2L/j.w:j.p.2L},47(a,b,c,d,e){j.1r=1v S(a,b);j.1l=c;j.4X=d;(j.2W=e)&&e.3i(0)},1R(a,b){b||(j.2r=a);j.4Y();1y c=j.2L(),d=b?1k.2z(j.1l*a/c):1k.2z(j.1l/c);1j(1a e=0;e<d;e++)j.3h(),b?j.1r.4S(j.2W,c,c,a):j.1r.6b(c,a,c,j.4X);j.4Z()},6g(a){j.4Y(!0);j.3h(a);j.4Z(!0)},4Y(a=!1){j.p=j.1P.2J(j.2F).3C;1n(!a){j.a="2C"!==j.p.2h.1q?f.1i(-1,1):0;j.b="2C"!==j.p.2h.1q?f.1i(1,1.5):0;j.cp="2C"!==j.p.2h.1q?f.1i(3,3.5):f.1i(-.2,.2);1y[b,c]=j.p.2h.1Y;j.1D=b;j.1f=c}j.c=l.1O(j.c);j.1d=j.p.1H?"1K"===j.p.1q?u.3e:u.1d:u.1T;x.1z();j.1d.1t();j.1d.3s();"1K"===j.p.1q?j.1d.2P(x.2x[0],x.2x[1]):j.1d.2P(x.2x[0]+l.1A/2,x.2x[1]+l.1G/2);j.1d.1I(-x.2Z);j.1d.3v(V);j.p.1H&&("1K"!==j.p.1q?u.1H(j.c):u.1H(j.c,!1,!0),a||j.50())},4Z(a=!1){j.p.1H&&!a&&j.50();j.1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,e=c?d*f.1i(-1,1):0;c=c?d*f.1i(-1,1):0;j.1d.2P(j.1r.x+e,j.1r.y+c);j.6k(j.w*a,b);j.p.3h(j.1d);j.1d.2Q()},6j(a){1a b=j.w*j.p.2K*(j.p.5d+(1-j.p.5d)*2D()*j.5b(.5,.9,5,.2,1.2)/a);.4<f.1i(0,j.p.5c)&&j.1d.3x(j.1r.x+.7*b*f.1i(-1,1),j.1r.y+b*f.1i(-1,1),a*j.p.1Z*f.1i(.85,1.15))},6k(a,b){j.1d.3v(a);"1K"===j.p.1q&&(j.p.1H?j.1d.6l(1U,0,0,b/2):j.1d.6l(j.1d.d7(j.c),j.1d.d8(j.c),j.1d.d9(j.c),b));"1i"===j.p.1I?j.1d.1I(f.1E(0,1u)):"6m"===j.p.1I&&(a=(j.2W?-j.2W.2U(j.1r.1X):-j.2r)+(j.4X?j.1r.2U():0),j.1d.1I(a))},50(){1n(j.54()){1a b=j.52();1s a=j.53(b);j.1d.1o(1U,0,0,a/1.5);1n("2R"===g.p.1q)1j(a=1;5>a;a++)j.57(b*a/5,!1);2u 1n("2C"===g.p.1q||"1K"===g.p.1q)1j(1a c=1;5>c;c++)j.59(b*c/5,a,!1)}}},T={3w:1v 4P,2V(a){j.3w.2b(a,!1)},6n(a){a.db();1j(1a b=0;b<4*a.1A*a.1G;b+=4){1a c=(a.2X[b]+a.2X[b+1]+a.2X[b+2])/3;a.2X[b]=a.2X[b+1]=a.2X[b+2]=1U;a.2X[b+3]=1U-c}a.dc()},3n(){1j(1a a 1Q j.3w.5e()){1a b=dd(a,()=>T.6n(b));j.3w.2b(a,b)}}},z={1g:!1,2n:[5,45,{}],2a:!1,1B(a){1a b=z.2n[0],c=z.2n[1],d=z.2n[2],e=g.c,h=g.2F,k=g.w,n=g.1g;z.2a&&g.2b(z.2a[0],z.2a[1],z.2a[2]);c=f.2w(c)%2j;1a p=49,q=-49,C=49,y=-49;1s t=G=>{1j(1a D 1Q G.a)p=D[0]<p?D[0]:p,q=D[0]>q?D[0]:q,C=D[1]<C?D[1]:C,y=D[1]>y?D[1]:y};3V.de(a)||(a=[a]);1j(1s F 1Q a)t(F);F=1v M([[p,C],[q,C],[q,y],[p,y]]);1a H=90>=c&&0<=c?C:y;1s A=d.4n?1J(d.4n,0,1,1,1.1,!0):1;t=[];1a U=0,P=b,5f=G=>({3y:{x:p+P*G*f.1x(-c+90),y:H+P*G*f.1w(-c+90)},3z:{x:p+P*G*f.1x(-c+90)+f.1x(-c),y:H+P*G*f.1w(-c+90)+f.1w(-c)}});1j(;0<F.4a(5f(U)).1l;){1a G=[];1j(1s I 1Q a)G.1t(I.4a(5f(U)));t[U]=G.df().dg((D,W)=>D.x===W.x?D.y-W.y:D.x-W.x);P*=A;U++}a=[];1j(1s J 1Q t)"4g"!==3m J[0]&&a.1t(J);J=d.4m?d.4m:0;1j(I=0;I<a.1l;I++)1j(t=a[I],F=0<I&&d.5x,A=0;A<t.1l-1;A+=2)0!==J&&(t[A].x+=J*b*f.1i(-10,10),t[A].y+=J*b*f.1i(-10,10),t[A+1].x+=J*b*f.1i(-10,10),t[A+1].y+=J*b*f.1i(-10,10)),g.2S(t[A].x,t[A].y,t[A+1].x,t[A+1].y),F&&g.2S(a[I-1][1].x,a[I-1][1].y,t[A].x,t[A].y);g.2b(h,e,k);g.1g=n}};3X M{3Y(a,b=!1){j.a=a;j.5g=a.1J(c=>({x:c[0],y:c[1]}));b&&(j.5g=a);j.5h=j.5g.1J((c,d,e)=>[c,e[(d+1)%e.1l]])}4a(a){1a b=`${a.3y.x},${a.3y.y}-${a.3z.x},${a.3z.y}`;1n(j.3j&&j.3j[b])1c j.3j[b];1a c=[];1j(1a d 1Q j.5h){1a e=Z(a.3y,a.3z,d[0],d[1]);!1!==e&&c.1t(e)}j.3j||(j.3j={});1c j.3j[b]=c}1R(a=!1,b,c){1a d=g.1g;a&&g.2b(a,b,c);1n(g.1g){B();1j(1a e 1Q j.5h)g.2S(e[0].x,e[0].y,e[1].x,e[1].y)}g.1g=d}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2s/2j:1;1j(1a y=0;y<h;y++){1s p=j.v[y],q=j.v[(y+1)%h];1a t=.1===a?.1>=w.2o?.25:.75:j.m[y];b&&(t*=-.5);c.1t(p);d.1t(k(t));1a F=2d.4c.dm(p,q,2p(2D(.5,.2),.1,.9));p=2d.4c.5p(q,p);q=p.6s().dn();1a H=j.2r[y];1s C="2c"==w.5y?90:-90;C=(H?C:-C)+45*2D(0,.4);q.1I(C*n);q.do(2D(.5,.2)*1i(.6,1.4)*p.6r()*t);F.2V(q);c.1t(F);d.1t(k(t));e.1t(H,H)}1c 1v 5o(c,d,j.3A,e)}1o(a,b,c){1y d=b/5+c*b/6,e=b/4+c*b/3,h=b/7+c*b/3;b/=5;c*=3;x.1z();u.1H(a,!1,!1,!0);u.1d.1t();u.1d.3s();u.1d.2P(x.2x[0]+l.1A/2,x.2x[1]+l.1G/2);u.1d.1I(x.2Z);u.1d.3v(V);a=j.1F();1a k=a.1F().1F(.9),n=k.1F(.75),p=j.1F(.85);1j(1a q=0;24>q;q++){1n(6===q||12===q||18===q)a=a.1F(),k=k.1F(.75),n=n.1F(.75),p=p.1F(.1,!0);a.1F().3B(q,b);p.1F(.1,!0).1F(.1).3B(q,h,!1);k.1F(.1).1F(.1).3B(q,e,!1);n.1F(.8).1F(.1).3B(q,d,!1);0!==c&&a.4d(c)}u.1d.2Q()}3B(a,b,c=!0){u.1d.1o(1U,0,0,b);c?(u.1d.1M(1U,0,0,.5+1.5*w.2I),u.1d.6t(f.1J(a,0,24,6,.5))):u.1d.3s();u.1d.6u();1j(1a d 1Q j.v)u.1d.6v(d.x,d.y);u.1d.6w(4q)}4d(a){1y b=f.1i(80,6x),c=j.4b/2,d=.dp*j.4b,e=.19*j.4b;u.1d.4d(3.5*a,0);1j(a=0;a<b;a++){1y h=j.3A.x+2D(0,c),k=j.3A.y+2D(0,c),n=f.1i(d,e);u.1d.3x(h,k,n)}u.1d.6y()}}2d.6z.2N.4d=1h(a,b){j.4e||(j.5q=j.6A,j.4e=!0,j.6B("dq-2c"),j.6C=j.5r.3l(),j.5r=[1,1,1,a/1U],j.6D=j.5s.3l(),j.5s=[1,1,1,b/1U])};2d.6z.2N.6y=1h(){1n(j.4e){j.5r=j.6C.3l();j.5s=j.6D.3l();1a a=j.6A;j.6B(j.5q);j.5q=a;j.4e=!1;j.dr()}};1y 6E="1Z 2K 5d 5c 2l 2L 2h 1q 3h 1I".ds(" "),ca=[["dt",[.35,.12,.5,8,du,.3,{1C:[.15,.2],1Y:[1.3,1]}]],["dv",[.2,.5l,1,3,5v,.15,{1C:[.5l,.2],1Y:[1.2,.95]}]],["2B",[.35,.5,.1,8,2j,.2,{1C:[.15,.2],1Y:[1.3,1]}]],["6c",[.3,.5,.4,4,2j,.25,{1C:[.15,.2],1Y:[1.2,.9]}]],["2H",[.2,.4,.3,2,6F,.2,{1C:[.15,.2],1Y:[1.2,.9]}]],["dw",[.4,.6,.8,7,6G,.15,{1C:[.15,.2],1Y:[.95,1.15]}]],["dx",[.5,2,.8,dy,6x,.dz,{1C:[.15,.2],1Y:[1.15,.85]}]],["dA",[.2,.4,.3,2,6F,.15,{1C:[.5,.7],1Y:[1,1.5]}]],["3g",[.3,12,15,40,6G,.65,{1C:[0,.1],1Y:[.15,1.2]},"3g"]],["2R",[2.5,.12,3f,3f,30,.4,{1C:[.35,.25],1Y:[1.35,1]},"2R"]],["dB",[2.5,.12,3f,3f,25,.35,{1C:[.35,.25],1Y:[1.15,.95]},"2C",1h(a){1a b=da;a.3N(-1.5*b,-1.5*b,3*b,3*b);a.3N(1*b,1*b,1*b,1*b)},"6m"]]];1j(1a a 1Q ca){1a b={};1j(1a c=0;c<a[1].1l;c++)b[6E[c]]=a[1][c];g.2V(a[0],b)}m.dC=1h(a={}){a.R&&(f.2v=a.R)};m.3n=K;m.dD=1h(){T.3n()};m.dE=1h(a=!0){u.4C=a};m.dF=Y;m.1t=aa;m.2Q=ba;m.4F=u.4F;m.4G=u.4G;m.1I=x.1I;m.3v=5B;m.dG=L;m.2t=1h(a){B();r.1g=!0;r.2k=a};m.dH=1h(){r.1g=!1};m.dI=1h(a){r.4k(a)};m.dJ=1h(){1c 3V.6H(r.1P.5e())};m.2V=g.2V;m.dK=1h(){1c 3V.6H(g.1P.5e())};m.2b=g.2b;m.dL=g.4T;m.3o=g.3o;m.4U=g.4U;m.dM=1h(a,b,c){B();g.1r=1v S(a,b);g.6g(c)};m.1M=g.6e;m.6t=g.6f;m.3s=1h(){g.1g=!1};m.1o=4s;m.dN=4t;m.dO=4u;m.dP=1h(){w.1g=!1};m.dQ=1h(a){w.5m=a};m.2S=g.2S;m.4V=g.4V;m.2W=g.4W;m.3N=1h(a,b,c,d,e=dR){e==dS&&(a-=c/2,b-=d/2);r.1g?(4o(0),O(a,b),O(a+c,b),O(a+c,b+d),O(a,b+d),4p(4q)):(a=1v M([[a,b],[a+c,b],[a+c,b+d],[a,b+d]]),a.1o(),a.1B(),a.1R())};m.3x=1h(a,b,c,d=!1){1a e=1v R("1C");1s h=1k.2s*c/2;1a k=1i(0,1u);e.1N(0+k+(d?f.1i(-1,1):0),h+(d?f.1i(-1,1):0),1,!0);e.1N(-90+k+(d?f.1i(-1,1):0),h+(d?f.1i(-1,1):0),1,!0);e.1N(-2j+k+(d?f.1i(-1,1):0),h+(d?f.1i(-1,1):0),1,!0);e.1N(-dT+k+(d?f.1i(-1,1):0),h+(d?f.1i(-1,1):0),1,!0);h=d?f.1E(-5,5):0;d&&e.1N(0+k,1k.2s/2j*h*c,!0);e.3p(h+k,1,!0);e.1o(a-c*f.1w(k),b-c*f.1x(-k),1);e.1B(a-c*f.1w(k),b-c*f.1x(-k),1);e.1R(a-c*f.1w(k),b-c*f.1x(-k),1)};m.5n=1h(a){a=1v M(a);a.1o();a.1B();a.1R()};m.dU=1h(a,b=.5){4r(a,b).1R()};m.6u=4o;m.6v=O;m.6w=4p;m.dV=1h(a,b,c){N=[b,c];E=1v R(a)};m.dW=1h(a,b,c){E.1N(a,b,c)};m.dX=1h(a,b){E.3p(a,b);E.1R(N[0],N[1],1);E=!1};m.dY=z.1B;m.1B=4l;m.dZ=1h(a,b="e0",c=1){z.2a=[a,b,c]};m.e1=1h(){z.1g=!1;z.2a=!1};m.e2=M;m.e3=R;m.e4=S});',62,873,'|||||||||||||||||||this|||||||||||||||||||||||||||||||||||||||||||||||||||||let|vec3|return|mask||max|isActive|function|random|for|Math|length|float|if|fill|vec2|type|position|var|push|360|new|sin|cos|const|trans|width|hatch|curve|min|randInt|grow|height|blend|rotate|map|image|vec4|stroke|addSegment|color|list|of|draw|floor|noBlend|255|vVertTexCoord|dot|plotted|min_max|weight|||||||||||hatchingBrush|set|out|p5||currentColor|pow|pressure|angles|180|current|opacity|origin|hatchingParams|bleed_strength|constrain|num_columns|dir|PI|field|else|source|toDegrees|translation|shader|round|num_rows||custom|randomGaussian|pol|name|texture_strength||border_strength|get|vibration|spacing|segments|prototype|clear|translate|pop|marker|line|xyz|angle|add|plot|pixels|index|rotation||||||||||dist|arguments|angleMode|isBlending|pixelDensity|mask2|null|spray|tip|calcIndex|_intersectionCache|pres|slice|typeof|load|clip|endPlot|registerMethod|setUniform|noStroke|uniform|mod|scale|tips|circle|point1|point2|midP|layer|param|1440|Float32Array|frag|glsl|getPigment|color1|color2|blending1|blending2|addColor|rect|void|03|spectral_mix|spectral_uncompand|055|spectral_compand|spectral_reflectance_to_xyz|Array|02|class|constructor|update||column_index|row_index|isIn|||default|initializeDrawingState|case|Infinity|intersect|size|Vector|erase|_isErasing|exports|undefined|define|brush|others|refresh|ea|rand|gradient|fa|ha|CLOSE|ia|ja|ka|la|afterSetup|isPrecalculationDone|Float64Array|radians|_renderer|mat4|loaded|isCaching|createGraphics|DEGREES|reDraw|reBlend|active|289|9898|233|5453|01|spectral_srgb_to_linear|spectral_linear_to_reflectance|Map|100|abs|plotTo|setBrush|noClip|flowLine|flowShape|flow|pushState|popState|markerTip||calculatePressure|calculateAlpha|isInsideClippingArea||break|drawMarker||drawCustomOrImage|simPressure|gauss|quality|definition|keys|ma|vertices|sides|curving|suma|genPol|05|isAnimated|polygon|na|sub|_cachedBlendMode|curFillColor|curStrokeColor|self|create|250|gen|continuous|direction|preCalculation|uMVMatrix|oa|noSmooth|include|spectral|vert|toString|precision|highp|attribute|aPosition|aTexCoord|uModelViewMatrix|uProjectionMatrix|varying|main|fract|mix|texture2D|spectral_linear_to_srgb|spectral_upsampling|spectral_xyz_to_srgb|spectral_linear_to_concentration|int|sqrt|post|step_length|left_x|top_y|addStandard|flow_field||genField|noise|x_offset|y_offset|isInCanvas|moveTo|HB|src|setColor|setWeight|drawTip|applyColor|drawSpray|drawDefault|adjustSizeAndRotation|tint|natural|imageToWhite|splice|createVector|calcCenter|mag|copy|strokeWeight|beginShape|vertex|endShape|110|noErase|RendererGL|curBlendMode|blendMode|_cachedFillStyle|_cachedStrokeStyle|pa|150|120|from|object|module|amd|window|atan2|asin|weightedRand|in|isNumber|isNaN|replace|createShader|WEBGL|levels|white|gl_Position|sampler2D|bool|step|any|greaterThan|07482|299||587|114||43358|43213|33358|gl_FragColor|04045|0031308|clamp|inout|96853629|51567122|02055257|03147571|49108579|97901834|96855103|5401552|02059936|03146636|46944057|97901649|96859338|62645502|02062723|03140624|4016578|97901118|96877345|75595012|02073387|03119611|2449042|97892146|96942204|92826996|02114202|03053888|0682688|97858555|97143709|97223624|02233154|02856855|02732883|97743705|97541862|98616174|02556857|02459485|013606|97428075|98074186|98955255|03330189||0192952|01000187|96663223|98580992||98676237|05185294|01423112|01284127|94822893|98971194|97312575|10087639|01033111|02636635|89937713|99238027|91944277|24000413|00765876|07058713|76070164|99409844|32564851|53589066|00593693|70421692|4642044|995172|13820628|79874659|00485616|85473994|20123039|99576545|05015143|91186529|00426186|95081565|08808402|99593552|02912336|95399623|00409039|9717037|04592894|99564041|02421691|97137099|00438375|97651888|02860373|99464769|02660696|97939505|00537525|97429245|02060067|99229579|03407586|98345207||00772962||97012917|01656701||98638762|04835936|98553736|0136612|9425863|01451549|96829712|0001172|98648905|03181352|99989207|01357964|89228016|554e|98674535|10791525|99989891|01331243|53740239|85267882|98657555|46249516|13823139|01347661|15360445|93188793|98611877|84604333|06968113|01387181|05705719|94810268|98559942|94275572|05628787|01435472|03126539|94200977|98507063|96860996|06111561|01479836|02205445|91478045|98460039|97783966|08987709|0151525|01802271|87065445|98425301|98187757|13656016|01540513|0161346|78827548|98403909|98377315|22169624|01557233|01520947|65738359|98388535|98470202|32176956|0156571||01475977|59909403|98376116|98515481|36157329|01571025|01454263|56817268|98368246|98537114|4836192|01571916|01444459|54031997|98365023|98546685|46488579|01572133|01439897|52110241|98361309|98550011|47440306|01572502|0143762|51041094|98357259|98551031|4857699|01571717|01436343|50526577|98353856|98550741|49267971|01571905|01435687|5025508|98351247|98551323|49625685|01571059|0143537|50126452|98350101|98551563|49807754|01569728|01435408|50083021|98350852|98551547|49889859|0157002|mat3|24306333|53837619|49893282|96896309|87542451|04154303||05568392|20417438|05799454|469e|84e|00030502|00021941|21e|00103681|00112057|101e|00531314|00376661|00010475|01795439|01188055|00035364|05707758|02328644|00095147|11365162|03455942|00228226|17335873|03722379|00420733|19620658|03241838|0066888|18608237|02123321|0098884|13995048|01049099|01524945|08917453|00329584|02141831|04789621|00050704|03342293|02814563|00094867|05131001|01613766|00627372|07040208|0077591|01686462|08783871|00429615|02868965|09424905|00200551|04267481|09795667|00086147|05625475|09415219|00036904|0694704||08678102|00019143|08305315|07885653|00014956|0861261|0635267|231e|09046614|05374142|813e|08500387|04264606|883e||07090667||03161735|577e|05062889|02088521|94e|03547396|01386011|58e|02146821|00810264|01251646|0046301|00680458|00249138|00346457|0012593|00149761|00054165|0007697|00027795|00040737|00014711|00016901|103e|522e|439e|903e|771e|22e|1E3|curved|truncated|zigzag|waves|seabed|reset|000000|colors|buffers|switch|setAlpha|red|green|blue||loadPixels|updatePixels|loadImage|isArray|flat|sort|reduce|9999|002185|07|155|lerp|normalize|mult|025|destination|_applyBlendMode|split|pen|200|rotring|cpencil|charcoal|300|06|hatch_brush|marker2|config|preload|colorCache|scaleBrushes|addField|noField|refreshField|listFields|box|pick|point|bleed|fillTexture|noFill|fillAnimatedMode|CORNER|CENTER|270|spline|beginStroke|segment|endStroke|hatchArray|setHatch|black|noHatch|Polygon|Plot|Position'.split('|'),0,{}))