memoscan
← all memos

Memo 0x78277618…5e9de0 on Ethereum

*I,B+1.12*I),j.closePath()})(A,B,I),j.fillStyle=M[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];Y.push(new e(1.1*I,4*I)),Y.push(new e(1.1*I,1.5*I)),Y.push(new e(2.1*I,1.5*I)),Y.push(new e(2.1*I,4*I)),j.beginPath();for(let I=0;I<2;I++){let Q=0==I?1:-1;for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Q*Y[I].x,B+Y[I].y):j.lineTo(A+Q*Y[I].x,B+Y[I].y)}})(A,B,I),j.fillStyle=Y[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];0===Q&&(Y.push(new e(2*I,.8*I)),Y.push(new e(2.2*I,.85*I)),Y.push(new e(2.35*I,1.05*I)),Y.push(new e(2.4*I,1.8*I)),Y.push(new e(2.1*I,1.95*I)),Y.push(new e(2.1*I,1.1*I))),j.beginPath();for(let I=0;I<2;I++){let Q=0==I?1:-1;for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Q*Y[I].x,B+Y[I].y):j.lineTo(A+Q*Y[I].x,B+Y[I].y)}})(A,B,I,c),j.fillStyle=F[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(1.15*I,1.15*I)),Y.push(new e(1.25*I,.8*I)),Y.push(new e(2*I,.8*I)),Y.push(new e(2.1*I,1.1*I)),Y.push(new e(2.1*I,1.95*I)),Y.push(new e(1.1*I,1.9*I));break;case 1:for(let A=0;A<12;A++){const B=Math.PI*A/24,Q=(2.9-2*Math.cos(B))*I,F=(1.5-.8*Math.sin(B))*I;Y.push(new e(Q,F))}Y.push(new e(2.2*I,1.9*I)),Y.push(new e(2.1*I,2*I)),Y.push(new e(.9*I,2*I))}j.beginPath();for(let I=0;I<2;I++){let Q=0==I?1:-1;for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Q*Y[I].x,B+Y[I].y):j.lineTo(A+Q*Y[I].x,B+Y[I].y)}})(A,B,I,c),j.fillStyle=Y[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(0,1.8*I)),Y.push(new e(1.3*I,1.6*I)),Y.push(new e(1.25*I,2.5*I)),Y.push(new e(-1.25*I,2.5*I)),Y.push(new e(-1.3*I,1.6*I));break;case 1:Y.push(new e(-1.3*I,1.8*I)),Y.push(new e(-.6*I,1.6*I)),Y.push(new e(.6*I,1.6*I)),Y.push(new e(1.3*I,1.8*I)),Y.push(new e(1.3*I,2.5*I)),Y.push(new e(-1.3*I,2.5*I))}j.beginPath();for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Y[I].x,B+Y[I].y):j.lineTo(A+Y[I].x,B+Y[I].y);j.closePath()})(A,B,I,h),j.fillStyle=F[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(0*I,1.3*I)),Y.push(new e(.7*I,1*I)),Y.push(new e(1.2*I,1.1*I)),Y.push(new e(1.3*I,1.6*I)),Y.push(new e(0*I,1.8*I)),Y.push(new e(-1.3*I,1.6*I)),Y.push(new e(-1.2*I,1.1*I)),Y.push(new e(-.7*I,1*I));break;case 1:Y.push(new e(.5*I,1.2*I)),Y.push(new e(.7*I,1*I)),Y.push(new e(1.15*I,1.1*I)),Y.push(new e(1.3*I,1.8*I)),Y.push(new e(.6*I,1.6*I)),Y.push(new e(-.6*I,1.6*I)),Y.push(new e(-1.3*I,1.8*I)),Y.push(new e(-1.15*I,1.1*I)),Y.push(new e(-.7*I,1*I)),Y.push(new e(-.5*I,1.2*I))}j.beginPath();for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Y[I].x,B+Y[I].y):j.lineTo(A+Y[I].x,B+Y[I].y);j.closePath()})(A,B,I,h),j.fillStyle=Y[g],j.fill(),j.strokeStyle="#000000",j.stroke(),j.fillStyle="#000000",j.fillRect(A-.9*I,B-.4*I,1.8*I,.8*I),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(.15*I,.1*I)),Y.push(new e(.25*I,-.05*I)),Y.push(new e(.55*I,-.1*I)),Y.push(new e(.7*I,0*I)),Y.push(new e(.6*I,.15*I)),Y.push(new e(.3*I,.2*I));break;case 1:for(let A=0;A<12;A++){const B=(A+6)/18*Math.PI;Y.push(new e(I*(.5+.3*Math.cos(B)),I*(.2-.3*Math.sin(B))))}for(let A=0;A<12;A++){const B=((A+6)/18+1)*Math.PI;Y.push(new e(I*(.35+.3*Math.cos(B)),I*(.2-.3*(.5*Math.sqrt(3)+Math.sin(B)))))}}j.beginPath();for(let I=0;I<2;I++){let Q=0==I?1:-1;for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Q*Y[I].x,B+Y[I].y):j.lineTo(A+Q*Y[I].x,B+Y[I].y)}})(A,B,I,i),j.fillStyle=E[C],j.fill(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(0,.2*I)),Y.push(new e(.3*I,.28*I)),Y.push(new e(.9*I,.3*I)),Y.push(new e(.9*I,.9*I)),Y.push(new e(0*I,1.1*I)),Y.push(new e(-.9*I,.9*I)),Y.push(new e(-.9*I,.3*I)),Y.push(new e(-.3*I,.28*I));break;case 1:Y.push(new e(0,.3*I)),Y.push(new e(.5*I,.25*I)),Y.push(new e(.9*I,0*I)),Y.push(new e(.9*I,.9*I)),Y.push(new e(0*I,1.1*I)),Y.push(new e(-.9*I,.9*I)),Y.push(new e(-.9*I,0*I)),Y.push(new e(-.5*I,.25*I))}j.beginPath();for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Y[I].x,B+Y[I].y):j.lineTo(A+Y[I].x,B+Y[I].y);j.closePath()})(A,B,I,w),j.fillStyle=Y[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(-.5*I,1.05*I)),Y.push(new e(-.5*I,.4*I)),Y.push(new e(-.75*I,.2*I)),Y.push(new e(-.75*I,-.2*I)),Y.push(new e(0*I,-0*I)),Y.push(new e(.75*I,-.2*I)),Y.push(new e(.75*I,.2*I)),Y.push(new e(.5*I,.4*I)),Y.push(new e(.5*I,1.05*I)),Y.push(new e(.43*I,1*I)),Y.push(new e(.43*I,.38*I)),Y.push(new e(.67*I,.18*I)),Y.push(new e(.67*I,-.2*I)),Y.push(new e(0*I,0*I)),Y.push(new e(-.67*I,-.2*I)),Y.push(new e(-.67*I,.18*I)),Y.push(new e(-.43*I,.38*I)),Y.push(new e(-.43*I,1*I));break;case 1:Y.push(new e(-.4*I,1.1*I));for(let A=0;A<=54;A++){const B=(-(A-27)/40+1)*Math.PI,Q=.65*I*(.9*Math.sin(B)+.04*Math.sin(2*B)-.26*Math.sin(3*B)-.01*Math.sin(4*B)),F=.45*I*(1*Math.cos(B)-.1+.3*Math.cos(2*B)-.2*Math.cos(3*B)+.01*Math.cos(4*B));Y.push(new e(Q,F+.25*I))}Y.push(new e(.4*I,1.1*I)),Y.push(new e(.32*I,1.05*I));for(let A=54;A>=0;A--){const B=(-(A-27)/40+1)*Math.PI,Q=.58*I*(.9*Math.sin(B)+.04*Math.sin(2*B)-.26*Math.sin(3*B)-.01*Math.sin(4*B)),F=.45*I*(1*Math.cos(B)-.1+.3*Math.cos(2*B)-.2*Math.cos(3*B)+.01*Math.cos(4*B));Y.push(new e(Q,F+.23*I))}Y.push(new e(-.32*I,1.05*I))}j.beginPath();for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Y[I].x,B+Y[I].y):j.lineTo(A+Y[I].x,B+Y[I].y);j.closePath()})(A,B,I,J),j.fillStyle=F[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:for(let A=0;A<=24;A++){const B=A/24*Math.PI;Y.push(new e(I*Math.cos(B),-I*(.1+.9*Math.sin(B))))}Y.push(new e(-1*I,.9*I)),Y.push(new e(-.5*I,1.05*I)),Y.push(new e(-.5*I,.4*I)),Y.push(new e(-.75*I,.2*I)),Y.push(new e(-.75*I,-.2*I)),Y.push(new e(0*I,-0*I)),Y.push(new e(.75*I,-.2*I)),Y.push(new e(.75*I,.2*I)),Y.push(new e(.5*I,.4*I)),Y.push(new e(.5*I,1.05*I)),Y.push(new e(1*I,.9*I));break;case 1:for(let A=0;A<=24;A++){const B=A/24*Math.PI;Y.push(new e(I*Math.cos(B),-I*(.1+.9*Math.sin(B))))}Y.push(new e(-1*I,.9*I)),Y.push(new e(-.4*I,1.1*I));for(let A=0;A<=54;A++){const B=(-(A-27)/40+1)*Math.PI,Q=.65*I*(.9*Math.sin(B)+.04*Math.sin(2*B)-.26*Math.sin(3*B)-.01*Math.sin(4*B)),F=.45*I*(1*Math.cos(B)-.1+.3*Math.cos(2*B)-.2*Math.cos(3*B)+.01*Math.cos(4*B));Y.push(new e(Q,F+.25*I))}Y.push(new e(.4*I,1.1*I)),Y.push(new e(1*I,.9*I))}j.beginPath();for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Y[I].x,B+Y[I].y):j.lineTo(A+Y[I].x,B+Y[I].y);j.closePath()})(A,B,I,J),j.fillStyle=Y[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(.15*I,-1.2*I)),Y.push(new e(.3*I,-.95*I)),Y.push(new e(.2*I,-.2*I)),Y.push(new e(.1*I,-.15*I)),Y.push(new e(-.1*I,-.15*I)),Y.push(new e(-.2*I,-.2*I)),Y.push(new e(-.3*I,-.95*I)),Y.push(new e(-.15*I,-1.2*I));break;case 1:case 3:default:break;case 2:Y.push(new e(.3*I,-1.1*I)),Y.push(new e(.5*I,-.88*I)),Y.push(new e(.28*I,-.25*I)),Y.push(new e(.2*I,-.2*I)),Y.push(new e(-.2*I,-.2*I)),Y.push(new e(-.28*I,-.25*I)),Y.push(new e(-.5*I,-.88*I)),Y.push(new e(-.3*I,-1.1*I))}j.beginPath();for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Y[I].x,B+Y[I].y):j.lineTo(A+Y[I].x,B+Y[I].y);j.closePath()})(A,B,I,U),j.fillStyle=F[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(.15*I,-1.2*I)),Y.push(new e(.2*I,-1*I)),Y.push(new e(.1*I,-.15*I)),Y.push(new e(-.1*I,-.15*I)),Y.push(new e(-.2*I,-1*I)),Y.push(new e(-.15*I,-1.2*I));break;case 1:for(let A=0;A<=12;A++){const B=(A+3)/18*Math.PI;Y.push(new e(.8*I*Math.cos(B),-I*(.35+.8*Math.sin(B))))}for(let A=0;A<=12;A++){const B=((A+3)/18+1)*Math.PI;Y.push(new e(.4*I*Math.cos(B),-I*(.45+.4*Math.sin(B))))}break;case 2:Y.push(new e(.3*I,-1.1*I)),Y.push(new e(.32*I,-.92*I)),Y.push(new e(.2*I,-.2*I)),Y.push(new e(-.2*I,-.2*I)),Y.push(new e(-.32*I,-.92*I)),Y.push(new e(-.3*I,-1.1*I))}j.beginPath();for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Y[I].x,B+Y[I].y):j.lineTo(A+Y[I].x,B+Y[I].y);j.closePath()})(A,B,I,U),j.fillStyle=Y[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(1.2*I,-.5*I));for(let A=0;A<=12;A++){const B=(A+6)/12*Math.PI,Q=I*(1+.1*Math.cos(B)),F=I*(.5-.4*Math.sin(B));Y.push(new e(Q,F))}for(let A=12;A>=0;A--){const B=(A+6)/12*Math.PI,Q=I*(.92+.105*Math.cos(B)),F=I*(.5-.42*Math.sin(B));Y.push(new e(Q,F))}Y.push(new e(1.15*I,-.5*I)),Y.push(new e(1.2*I,-.5*I));break;case 1:Y.push(new e(1.2*I,-.8*I));for(let A=0;A<=12;A++){const B=(A+6)/12*Math.PI,Q=I*(1.05+.05*Math.cos(B)),F=I*(.2-.3*Math.sin(B));Y.push(new e(Q,F))}for(let A=12;A>=0;A--){const B=(A+6)/12*Math.PI,Q=I*(.98+.055*Math.cos(B)),F=I*(.2-.32*Math.sin(B));Y.push(new e(Q,F))}Y.push(new e(1.18*I,-.8*I)),Y.push(new e(1.2*I,-.8*I));break;case 2:for(let A=0;A<=12;A++){const B=(A+6)/12*Math.PI,Q=I*(1.05+.1*Math.cos(B)),F=I*(.45-.4*Math.sin(B));Y.push(new e(Q,F))}for(let A=12;A>=0;A--){const B=(A+6)/12*Math.PI,Q=I*(.97+.11*Math.cos(B)),F=I*(.45-.44*Math.sin(B));Y.push(new e(Q,F))}Y.push(new e(1.05*I,.05*I));break;case 3:for(let A=0;A<=12;A++){const B=(A+6)/12*Math.PI,Q=I*(1.05+.06*Math.cos(B)),F=I*(.2-.3*Math.sin(B));Y.push(new e(Q,F))}for(let A=12;A>=0;A--){const B=(A+6)/12*Math.PI,Q=I*(.98+.07*Math.cos(B)),F=I*(.2-.35*Math.sin(B));Y.push(new e(Q,F))}Y.push(new e(1.05*I,-.1*I))}j.beginPath();for(let I=0;I<2;I++){let Q=0==I?1:-1;for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Q*Y[I].x,B+Y[I].y):j.lineTo(A+Q*Y[I].x,B+Y[I].y)}})(A,B,I,y),j.fillStyle=F[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new e(1.2*I,-.5*I));for(let A=0;A<20;A++){const B=(A+6)/12*Math.PI,Q=I*(1+.1*Math.cos(B)),F=I*(.5-.4*Math.sin(B));Y.push(new e(Q,F))}Y.push(new e(1.2*I,-.5*I));break;case 1:Y.push(new e(1.2*I,-.8*I));for(let A=0;A<20;A++){const B=(A+6)/12*Math.PI,Q=I*(1.05+.05*Math.cos(B)),F=I*(.2-.3*Math.sin(B));Y.push(new e(Q,F))}Y.push(new e(1.2*I,-.8*I));break;case 2:for(let A=0;A<=24;A++){const B=(A+6)/12*Math.PI,Q=I*(1.05+.1*Math.cos(B)),F=I*(.45-.4*Math.sin(B));Y.push(new e(Q,F))}break;case 3:for(let A=0;A<24;A++){const B=(A+6)/12*Math.PI,Q=I*(1.05+.06*Math.cos(B)),F=I*(.2-.3*Math.sin(B));Y.push(new e(Q,F))}}j.beginPath();for(let I=0;I<2;I++){let Q=0==I?1:-1;for(let I=0;I<Y.length;I++)0==I?j.moveTo(A+Q*Y[I].x,B+Y[I].y):j.lineTo(A+Q*Y[I].x,B+Y[I].y)}})(A,B,I,y),j.fillStyle=Y[g],j.fill(),j.strokeStyle="#000000",j.stroke(),((A,B,I)=>{let Q=[];switch(N){case 0:Q.push(new e(0,-.3*I)),Q.push(new e(.9*I,-.6*I)),Q.push(new e(0,-0*I)),Q.push(new e(-.9*I,-.6*I));break;case 1:for(let A=0;A<24;A++){const B=A/24*Math.PI;Q.push(new e(.8*I*Math.cos(B),I*(.6*Math.sin(B)-.7)))}for(let A=24;A>0;A--){const B=A/24*Math.PI;Q.push(new e(.8*I*Math.cos(B),I*(.4*Math.sin(B)-.7)))}break;case 2:Q.push(new e(-.14*I,-.3*I)),Q.push(new e(0,-.8*I)),Q.push(new e(.14*I,-.3*I)),Q.push(new e(.7*I,-.4*I)),Q.push(new e(0,-0*I)),Q.push(new e(-.7*I,-.4*I))}j.beginPath();for(let I=0;I<Q.length;I++)0==I?j.moveTo(A+Q[I].x,B+Q[I].y):j.lineTo(A+Q[I].x,B+Q[I].y);j.closePath()})(A,B,I),j.fillStyle=M[g],j.fill(),j.strokeStyle="#000000",j.stroke()};let n;switch(Q){case 0:s(),n=I.rand(220,360),G(A/2,B/2,n);break;case 1:s(),j.scale(1,-1),n=I.rand(220,360),G(A/2,-B/2,n);break;case 2:s(),n=I.rand(200,240),G(A/4,B/2+1*n,.8*n),G(15*A/32,B/2+.5*n,n),G(3*A/4,B/2,1.25*n);break;case 3:s(),n=I.rand(200,280),j.translate(A/2,B/2),j.rotate(Math.PI/2),G(0,1.2*n,n),s(),j.scale(1,-1),G(0,1.2*n,n);break;case 4:s(),n=I.rand(240,300),G(.05*A,B/2,n),s(),G(.95*A,B/2,n)}}}class T{constructor(B){this.canvas=document.createElement("canvas"),this.canvas.width=1600,this.canvas.height=1200,this.draw(1600,1200,B),this.texture=new A.CanvasTexture(this.canvas),this.texture.needsUpdate=!1}draw(A,B,I){const Q=["#f0e4e7","#b1cc87","#a7cfc7","#a1cfe6","#ede0b2","#8d83a3","#f0d8c2","#9eaaba","#f2cedc","#d3bee6"],Y=["#ded3dd","#97b071","#8db3ab","#8cb9cf","#cfc297","#6e6580","#c7b19d","#8591a1","#d9b8c5","#b8a5c9"],F=["#ba186a","#567a1d","#278c78","#e8e899","#f0d3ec","#c3b0e8","#d69151","#21477a","#d46a94","#a075c7"],M=["#bf9f9d","#949fd1","#98c6d4","#ad9665","#97ad86","#a888b5"];let E,g,c,h,C,i,w,J,U,y,N;const s=document.createElement("canvas"),R=this.canvas.getContext("2d"),j=s.getContext("2d");s.width=A,s.height=B,R.lineWidth=2.2,j.lineWidth=2.2;class D{constructor(A=0,B=0){this.x=A,this.y=B}add(A){this.x+=A.x,this.y+=A.y}sub(A){this.x-=A.x,this.y-=A.y}subVec(A){return new D(this.x-A.x,this.y-A.y)}mul(A){this.x*=A,this.y*=A}normalize(){const A=Math.sqrt(this.x*this.x+this.y*this.y);this.x/=A,this.y/=A}dist(A){const B=this.x-A.x,I=this.y-A.y;return Math.sqrt(B*B+I*I)}lerp(A,B){return new D(this.x*(1-B)+A.x*B,this.y*(1-B)+A.y*B)}}const e=(A,B)=>{let I=[];for(let Q=B?0:1;Q<A.length;Q++){const Y=A[B?(Q-2+A.length)%A.length:Math.max(0,Q-2)],F=A[(Q-1+A.length)%A.length],M=A[Q],E=A[B?(Q+1+A.length)%A.length:Math.min(A.length-1,Q+1)];for(let A=0;A<1;A+=.1){const B=new D(.5*(2*F.x+(-Y.x+M.x)*A+(2*Y.x-5*F.x+4*M.x-E.x)*A*A+(-Y.x+3*F.x-3*M.x+E.x)*A*A*A),.5*(2*F.y+(-Y.y+M.y)*A+(2*Y.y-5*F.y+4*M.y-E.y)*A*A+(-Y.y+3*F.y-3*M.y+E.y)*A*A*A));I.push(B)}}return I},G=(A,B,I=!0)=>{B.beginPath();for(let Q=I?2:1;Q<(I?A.length-1:A.length);Q++){const I=A[Math.max(0,Q-2)],Y=A[Q-1],F=A[Q],M=A[Math.min(A.length-1,Q+1)];for(let A=0;A<1;A+=.1){const E=new D(.5*(2*Y.x+(-I.x+F.x)*A+(2*I.x-5*Y.x+4*F.x-M.x)*A*A+(-I.x+3*Y.x-3*F.x+M.x)*A*A*A),.5*(2*Y.y+(-I.y+F.y)*A+(2*I.y-5*Y.y+4*F.y-M.y)*A*A+(-I.y+3*Y.y-3*F.y+M.y)*A*A*A));1==Q&&0==A?B.moveTo(E.x,E.y):B.lineTo(E.x,E.y)}}I&&B.closePath()},n=(I,F=!0,M=.1)=>{j.save(),G(I,j,F),j.clip(),j.fillStyle=Y[E],j.fillRect(0,0,A,B),j.translate(0,-o*M),j.fillStyle=Q[E],G(I,j,F),j.fill(),R.drawImage(s,0,0),j.restore(),j.clearRect(0,0,A,B),G(I,R,F),R.stroke()},z=(A,B,I,Q)=>{let Y=[];switch(Q){case 0:Y.push(new D(A+0*I,B-.2*I)),Y.push(new D(A+.8*I,B-.2*I)),Y.push(new D(A+1.1*I,B-.4*I)),Y.push(new D(A+1.05*I,B-.8*I)),Y.push(new D(A+1.2*I,B-1*I)),Y.push(new D(A+1.36*I,B-1*I)),Y.push(new D(A+1.4*I,B-.87*I)),Y.push(new D(A+1.25*I,B-.7*I)),Y.push(new D(A+1.3*I,B-.3*I)),Y.push(new D(A+1*I,B-.05*I)),Y.push(new D(A+.5*I,B-0*I)),Y.push(new D(A+0*I,B-0*I)),n(Y,!1);break;case 1:Y.push(new D(A+.3*I,B-0*I)),Y.push(new D(A+.5*I,B-.25*I)),Y.push(new D(A+.8*I,B-.25*I)),Y.push(new D(A+1.05*I,B-.15*I)),Y.push(new D(A+1.3*I,B-.2*I)),Y.push(new D(A+1.3*I,B-.15*I)),Y.push(new D(A+1.1*I,B+.1*I)),Y.push(new D(A+.9*I,B+.2*I)),Y.push(new D(A+.6*I,B+.2*I)),Y.push(new D(A+.3*I,B-0*I)),n(Y,!1);break;case 2:for(let Q=0;Q<=16;Q++){let F=Math.PI*Q/8;Y.push(new D(A+.6*I+.3*I*Math.cos(F),B+.3*I*Math.sin(F)))}n(Y,!1);break;case 3:Y.push(new D(A+0*I,B-.1*I)),Y.push(new D(A+.4*I,B-0*I)),Y.push(new D(A+.8*I,B-.1*I)),Y.push(new D(A+1*I,B-.3*I)),Y.push(new D(A+1*I,B-.5*I)),Y.push(new D(A+1.05*I,B-.5*I)),Y.push(new D(A+1.1*I,B-.35*I)),Y.push(new D(A+.88*I,B-.05*I)),Y.push(new D(A+.4*I,B+.1*I)),Y.push(new D(A+0*I,B-0*I)),n(Y,!1),Y=[];for(let Q=0;Q<=32;Q++){let F=Math.PI*Q/16,M=.14*I*Math.pow(Math.abs(Math.pow(Math.cos(5*F/4),4))+Math.abs(Math.pow(Math.sin(5*F/4),4)),-.6);Y.push(new D(A+1.05*I+M*Math.cos(F+.4),B-.5*I+M*Math.sin(F+.4)))}n(Y,!1)}};let o;o=I.rand(150,240),E=Math.floor(I.rand(0,10)),g=Math.floor(I.rand(0,3)),c=Math.floor(I.rand(0,5)),h=Math.floor(I.rand(0,6)),C=Math.floor(I.rand(0,3)),i=Math.floor(I.rand(0,3)),w=Math.floor(I.rand(0,5)),J=Math.floor(I.rand(0,3)),U=Math.floor(I.rand(0,3)),y=Math.floor(I.rand(0,3)),N=Math.floor(I.rand(0,4)),((I,o,H)=>{((A,B,I,Q)=>{let Y=[];switch(Q){case 0:z(A,B+.9*I,I,N),Y.push(new D(A+.35*I,B-.15*I)),Y.push(new D(A+.6*I,B+0*I)),Y.push(new D(A+.85*I,B+.3*I)),Y.push(new D(A+1*I,B+.5*I)),Y.push(new D(A+.95*I,B+.6*I)),Y.push(new D(A+.7*I,B+.55*I)),Y.push(new D(A+.5*I,B+.4*I)),n(Y,!1),Y=[],Y.push(new D(A-.35*I,B-.15*I)),Y.push(new D(A-.6*I,B+0*I)),Y.push(new D(A-.85*I,B+.3*I)),Y.push(new D(A-1*I,B+.5*I)),Y.push(new D(A-.95*I,B+.6*I)),Y.push(new D(A-.7*I,B+.55*I)),Y.push(new D(A-.5*I,B+.4*I)),n(Y,!1),Y=[],Y.push(new D(A+.4*I,B-.1*I)),Y.push(new D(A+.55*I,B+.2*I)),Y.push(new D(A+.62*I,B+.7*I)),Y.push(new D(A+.52*I,B+1.1*I)),Y.push(new D(A+.32*I,B+1.45*I)),Y.push(new D(A+.15*I,B+1.45*I)),Y.push(new D(A+.1*I,B+1.2*I)),Y.push(new D(A+.1*I,B+1.2*I)),Y.push(new D(A+0*I,B+1.22*I)),Y.push(new D(A-.1*I,B+1.2*I)),Y.push(new D(A-.1*I,B+1.2*I)),Y.push(new D(A-.15*I,B+1.45*I)),Y.push(new D(A-.32*I,B+1.45*I)),Y.push(new D(A-.52*I,B+1.1*I)),Y.push(new D(A-.62*I,B+.7*I)),Y.push(new D(A-.55*I,B+.2*I)),Y.push(new D(A-.4*I,B-.1*I)),n(Y,!1);break;case 1:z(A,B+1.3*I,1.2*I,N),Y.push(new D(A+.6*I,B+1.25*I)),Y.push(new D(A+.9*I,B+1.35*I)),Y.push(new D(A+1.15*I,B+1.55*I)),Y.push(new D(A+1.1*I,B+1.8*I)),Y.push(new D(A+.25*I,B+1.75*I)),Y.push(new D(A+.15*I,B+1.4*I)),n(Y,!1),Y=[],Y.push(new D(A-.6*I,B+1.25*I)),Y.push(new D(A-.9*I,B+1.35*I)),Y.push(new D(A-1.15*I,B+1.55*I)),Y.push(new D(A-1.1*I,B+1.8*I)),Y.push(new D(A-.25*I,B+1.75*I)),Y.push(new D(A-.15*I,B+1.4*I)),n(Y,!1),Y=[],Y.push(new D(A+.5*I,B-.2*I)),Y.push(new D(A+.88*I,B+.2*I)),Y.push(new D(A+1.15*I,B+.75*I)),Y.push(new D(A+1*I,B+1.1*I)),Y.push(new D(A+.6*I,B+1.05*I)),n(Y,!1),Y=[],Y.push(new D(A-.5*I,B-.2*I)),Y.push(new D(A-.88*I,B+.2*I)),Y.push(new D(A-1.15*I,B+.75*I)),Y.push(new D(A-1*I,B+1.1*I)),Y.push(new D(A-.6*I,B+1.05*I)),n(Y,!1),Y=[],Y.push(new D(A+.5*I,B-.1*I)),Y.push(new D(A+.68*I,B+.2*I)),Y.push(new D(A+.85*I,B+.8*I)),Y.push(new D(A+.65*I,B+1.4*I)),Y.push(new D(A+0*I,B+1.6*I)),Y.push(new D(A-.65*I,B+1.4*I)),Y.push(new D(A-.85*I,B+.8*I)),Y.push(new D(A-.68*I,B+.2*I)),Y.push(new D(A-.5*I,B-.1*I)),n(Y,!1);break;case 2:z(A,B+.8*I,.9*I,N),Y=[],Y.push(new D(A+.3*I,B-0*I)),Y.push(new D(A+.5*I,B-.05*I)),Y.push(new D(A+.8*I,B-.15*I)),Y.push(new D(A+.85*I,B-.05*I)),Y.push(new D(A+.7*I,B+.1*I)),Y.push(new D(A+.4*I,B+.25*I)),n(Y,!1),Y=[],Y.push(new D(A-.3*I,B-0*I)),Y.push(new D(A-.5*I,B-.05*I)),Y.push(new D(A-.8*I,B-.15*I)),Y.push(new D(A-.85*I,B-.05*I)),Y.push(new D(A-.7*I,B+.1*I)),Y.push(new D(A-.4*I,B+.25*I)),n(Y,!1),Y=[],Y.push(new D(A+.4*I,B-.1*I)),Y.push(new D(A+.5*I,B+.1*I)),Y.push(new D(A+.6*I,B+.55*I)),Y.push(new D(A+.45*I,B+.9*I)),Y.push(new D(A+0*I,B+1.02*I)),Y.push(new D(A-.45*I,B+.9*I)),Y.push(new D(A-.6*I,B+.55*I)),Y.push(new D(A-.5*I,B+.1*I)),Y.push(new D(A-.4*I,B-.1*I)),n(Y,!1),Y=[],Y.push(new D(A+.3*I,B+.7*I)),Y.push(new D(A+.65*I,B+.55*I)),Y.push(new D(A+.55*I,B+.95*I)),Y.push(new D(A+.3*I,B+1.1*I)),Y.push(new D(A+.15*I,B+.95*I)),Y.push(new D(A+.3*I,B+.7*I)),Y.push(new D(A+.65*I,B+.55*I)),Y.push(new D(A+.55*I,B+.95*I)),n(Y),Y=[],Y.push(new D(A-.3*I,B+.7*I)),Y.push(new D(A-.65*I,B+.55*I)),Y.push(new D(A-.55*I,B+.95*I)),Y.push(new D(A-.3*I,B+1.1*I)),Y.push(new D(A-.15*I,B+.95*I)),Y.push(new D(A-.3*I,B+.7*I)),Y.push(new D(A-.65*I,B+.55*I)),Y.push(new D(A-.55*I,B+.95*I)),n(Y)}})(I,o+.4*H,H,y),((I,g,y,N)=>{let z=[];switch(N){case 0:j.save(),j.beginPath(),j.ellipse(I,g+.05*y,.96*y,.86*y,0,0,2*Math.PI),j.clip(),j.fillStyle=Y[E],j.fillRect(0,0,A,B),j.fillStyle=Q[E],j.beginPath(),j.ellipse(I,g-.08*y,.96*y,.86*y,0,0,2*Math.PI),j.fill(),R.drawImage(s,0,0),j.restore(),j.clearRect(0,0,A,B),R.beginPath(),R.ellipse(I,g+.05*y,.96*y,.86*y,0,0,2*Math.PI),R.stroke();break;case 1:z.push(new D(I-.65*y,g-.7*y)),z.push(new D(I+0*y,g-.9*y)),z.push(new D(I+.65*y,g-.7*y)),z.push(new D(I+.9*y,g-.1*y)),z.push(new D(I+1*y,g+.35*y)),z.push(new D(I+.8*y,g+.65*y)),z.push(new D(I+.3*y,g+.8*y)),z.push(new D(I-.3*y,g+.8*y)),z.push(new D(I-.8*y,g+.65*y)),z.push(new D(I-1*y,g+.35*y)),z.push(new D(I-.9*y,g-.1*y)),z.push(new D(I-.65*y,g-.7*y)),z.push(new D(I+0*y,g-.9*y)),z.push(new D(I+.65*y,g-.7*y)),n(z);break;case 2:z.push(new D(I-.45*y,g-.75*y)),z.push(new D(I+0*y,g-.9*y)),z.push(new D(I+.45*y,g-.75*y)),z.push(new D(I+.85*y,g-.3*y)),z.push(new D(I+1*y,g+.2*y)),z.push(new D(I+.8*y,g+.6*y)),z.push(new D(I+.3*y,g+.8*y)),z.push(new D(I-.3*y,g+.8*y)),z.push(new D(I-.8*y,g+.6*y)),z.push(new D(I-1*y,g+.2*y)),z.push(new D(I-.85*y,g-.3*y)),z.push(new D(I-.45*y,g-.75*y)),z.push(new D(I+0*y,g-.9*y)),z.push(new D(I+.45*y,g-.75*y)),n(z)}((A,B,I,Q)=>{switch(Q){case 0:R.fillStyle="#000000",R.beginPath(),R.moveTo(A-.08*I,B+.3*I),R.lineTo(A,B+.35*I),R.lineTo(A+.08*I,B+.3*I),R.closePath(),R.fill();break;case 1:R.strokeStyle="#000000",R.beginPath(),R.ellipse(A,B+.3*I,.08*I,.04*I,0,0,2*Math.PI),R.stroke()}})(I,g,y,i),((A,B,I,Q)=>{let Y=[];switch(Q){case 0:R.strokeStyle="#000000",R.fillStyle="#ebc0f0",R.beginPath(),R.moveTo(A-.1*I,B+.45*I),R.lineTo(A+0*I,B+.55*I),R.lineTo(A+.1*I,B+.45*I),R.closePath(),R.fill(),R.stroke();break;case 1:R.strokeStyle="#000000",R.fillStyle="#ebc0f0",R.beginPath(),R.moveTo(A-.1*I,B+.6*I),R.lineTo(A+0*I,B+.5*I),R.lineTo(A+.1*I,B+.6*I),R.closePath(),R.fill(),R.stroke();break;case 2:R.strokeStyle="#000000",Y.push(new D(A-.2*I,B+.4*I)),Y.push(new D(A-.18*I,B+.45*I)),Y.push(new D(A-.1*I,B+.48*I)),Y.push(new D(A-.03*I,B+.45*I)),Y.push(new D(A+0*I,B+.4*I)),Y.push(new D(A+0*I,B+.4*I)),Y.push(new D(A+.03*I,B+.45*I)),Y.push(new D(A+.1*I,B+.48*I)),Y.push(new D(A+.18*I,B+.45*I)),Y.push(new D(A+.2*I,B+.4*I)),G(Y,R,!1),R.stroke();break;case 3:R.strokeStyle="#000000",R.fillStyle="#ebc0f0",Y.push(new D(A+0*I,B+.4*I)),Y.push(new D(A+0*I,B+.4*I)),Y.push(new D(A+.02*I,B+.42*I)),Y.push(new D(A+.07*I,B+.44*I)),Y.push(new D(A+.12*I,B+.42*I)),Y.push(new D(A+.12*I,B+.42*I)),Y.push(new D(A+.06*I,B+.58*I)),Y.push(new D(A+0*I,B+.62*I)),Y.push(new D(A-.06*I,B+.58*I)),Y.push(new D(A-.12*I,B+.42*I)),Y.push(new D(A-.12*I,B+.42*I)),Y.push(new D(A-.07*I,B+.44*I)),Y.push(new D(A-.02*I,B+.42*I)),Y.push(new D(A-0*I,B+.4*I)),Y.push(new D(A-0*I,B+.4*I)),G(Y,R),R.fill(),R.stroke();break;case 4:R.strokeStyle="#000000",R.fillStyle="#ebc0f0",Y.push(new D(A-.04*I,B+.45*I)),Y.push(new D(A+.04*I,B+.45*I)),Y.push(new D(A+.15*I,B+.43*I)),Y.push(new D(A+.18*I,B+.49*I)),Y.push(new D(A+.09*I,B+.57*I)),Y.push(new D(A-.09*I,B+.57*I)),Y.push(new D(A-.18*I,B+.49*I)),Y.push(new D(A-.15*I,B+.43*I)),Y.push(new D(A-.04*I,B+.45*I)),Y.push(new D(A+.04*I,B+.45*I)),Y.push(new D(A+.15*I,B+.43*I)),G(Y,R),R.fill(),R.stroke()}})(I,g,y,w),((A,B,I,Q)=>{switch(Q){case 0:R.fillStyle="#deb8c6cc",R.beginPath(),R.ellipse(A+.6*I,B+.35*I,.12*I,.06*I,0,0,2*Math.PI),R.ellipse(A-.6*I,B+.35*I,.12*I,.06*I,0,0,2*Math.PI),R.fill();break;case 1:R.fillStyle="#deb8c6cc",R.beginPath(),R.ellipse(A+.65*I,B+.4*I,.14*I,.14*I,0,0,2*Math.PI),R.ellipse(A-.65*I,B+.4*I,.14*I,.14*I,0,0,2*Math.PI),R.fill();break;case 2:R.beginPath(),R.moveTo(A+.54*I,B+.3*I),R.lineTo(A+.58*I,B+.38*I),R.moveTo(A+.6*I,B+.3*I),R.lineTo(A+.64*I,B+.38*I),R.moveTo(A+.66*I,B+.3*I),R.lineTo(A+.7*I,B+.38*I),R.moveTo(A-.54*I,B+.38*I),R.lineTo(A-.58*I,B+.3*I),R.moveTo(A-.6*I,B+.38*I),R.lineTo(A-.64*I,B+.3*I),R.moveTo(A-.66*I,B+.38*I),R.lineTo(A-.7*I,B+.3*I),R.stroke()}})(I,g,y,J),((I,Q,Y,F)=>{switch(F){case 0:R.fillStyle="#000000",R.beginPath(),R.arc(I+.48*Y,Q+.14*Y,.1*Y,0,2*Math.PI),R.fill(),R.beginPath(),R.arc(I-.48*Y,Q+.14*Y,.1*Y,0,2*Math.PI),R.fill();break;case 1:R.lineWidth=5,R.strokeStyle="#000000",R.beginPath(),R.ellipse(I+.48*Y,Q+.2*Y,.18*Y,.16*Y,-.1,Math.PI+.2,2*Math.PI-.2),R.stroke(),R.beginPath(),R.ellipse(I-.48*Y,Q+.2*Y,.18*Y,.16*Y,.1,Math.PI+.2,2*Math.PI-.2),R.stroke(),R.lineWidth=2.2;break;case 2:j.save(),j.beginPath(),j.ellipse(I+.45*Y,Q+.04*Y,.22*Y,.24*Y,0,-.1,Math.PI+.1),j.ellipse(I-.45*Y,Q+.04*Y,.22*Y,.24*Y,0,-.1,Math.PI+.1),j.closePath(),j.clip(),j.fillStyle="#ffffff",j.beginPath(),j.fillRect(0,0,A,B),j.fillStyle="#000000",j.beginPath(),j.ellipse(I+.45*Y,Q+.05*Y,.1*Y,.12*Y,0,0,2*Math.PI),j.ellipse(I-.45*Y,Q+.05*Y,.1*Y,.12*Y,0,0,2*Math.PI),j.fill(),R.drawImage(s,0,0),j.restore(),j.clearRect(0,0,A,B),R.strokeStyle="#000000",R.beginPath(),R.ellipse(I+.45*Y,Q+.04*Y,.22*Y,.24*Y,0,-.1,Math.PI+.1),R.closePath(),R.stroke(),R.beginPath(),R.ellipse(I-.45*Y,Q+.04*Y,.22*Y,.24*Y,0,-.1,Math.PI+.1),R.closePath(),R.stroke();break;case 3:j.save(),j.beginPath(),j.ellipse(I+.48*Y,Q+.1*Y,.18*Y,.22*Y,0,0,2*Math.PI),j.ellipse(I-.48*Y,Q+.1*Y,.18*Y,.22*Y,0,0,2*Math.PI),j.closePath(),j.clip(),j.fillStyle="#ffffff",j.beginPath(),j.fillRect(0,0,A,B),j.fillStyle="#000000",j.beginPath(),j.ellipse(I+.45*Y,Q+.1*Y,.15*Y,.18*Y,0,0,2*Math.PI),j.ellipse(I-.45*Y,Q+.1*Y,.15*Y,.18*Y,0,0,2*Math.PI),j.fill(),j.fillStyle="#ffffff",j.beginPath(),j.ellipse(I+.4*Y,Q+.05*Y,.082*Y,.1*Y,0,0,2*Math.PI),j.ellipse(I-.44*Y,Q+.05*Y,.082*Y,.1*Y,0,0