0x0d34aa9b…27b3sent to0xe18f2247…ce9e·#19,927,954·view on Etherscan
function meatBackDraw(){if(meatOn){background(255),fill(9,72,100,.3),rect(width/2,height/2,width,height);let e=!(ranCurve<50);for(let o=0;o<meat1.length;o++)purpleOn&&meat1[o].drawStriations(1,!1),meat2[o].draw(e,0,0,0,0,0,0,0,0),meat1[o].draw(e,0,0,0,0,0,0,0,0),interactionOn&&(collapseMeatOn&&(meat2[o].collapse(),meat1[o].collapse()),mapMeatOn&&(meat1[o].mapMeat(),meat2[o].mapMeat()))}}class Colleagues{constructor(e,o,t,i,l,a,s,n,r){this.pos=createVector(e,o),this.w=t,this.h=i,this.xoff=0,this.yoff=1e3,this.noiseScale=a,this.noiseAmp=s,this.noiseSpeed=n,this.skip=r,this.stroke=255,this.strokeWeight=l,this.offset=R.random_num(0,4*globeScale),this.someValue;let c=!1;R.random_num(0,1)>=.8&&(c=!0),this.someValue=c?R.random_num(50,100):R.random_num(0,50)}frame(){let e=this.w/2,o=this.h/2;strokeWeight(this.strokeWeight),stroke(this.stroke),noFill(),beginShape();for(let t=this.pos.x-e;t<=this.pos.x+e;t+=this.skip){let e=this.pos.y-o+noise(t*this.noiseScale+this.xoff)*this.noiseAmp;vertex(t,e)}for(let t=this.pos.y-o;t<=this.pos.y+o;t+=this.skip){let o=this.pos.x+e+noise(t*this.noiseScale+this.yoff)*this.noiseAmp;vertex(o,t)}for(let t=this.pos.x+e;t>=this.pos.x-e;t-=this.skip){let e=this.pos.y+o+noise(t*this.noiseScale+this.xoff)*this.noiseAmp;vertex(t,e)}for(let t=this.pos.y+o;t>=this.pos.y-o;t-=this.skip){let o=this.pos.x-e+noise(t*this.noiseScale+this.yoff)*this.noiseAmp;vertex(o,t)}endShape(CLOSE)}bodyL(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:375,y:657},{x:400,y:466},{x:481,y:453},{x:508,y:536},{x:540,y:552},{x:578,y:538},{x:574,y:478},{x:677,y:471},{x:684,y:528},{x:726,y:550},{x:763,y:520},{x:780,y:462},{x:854,y:468},{x:914,y:526},{x:930,y:661}];for(let[e,o]of t.entries())o.x+=e*this.offset%this.someValue,o.y+=e*this.offset%this.someValue;let i=min(t.map((e=>e.x))),l=max(t.map((e=>e.x))),a=min(t.map((e=>e.y))),s=max(t.map((e=>e.y)));push(),translate(this.pos.x,this.pos.y),scale(.5);let n=o/2,r=e/2,c=.55*o;beginShape();for(let e of t){let o=map(e.x,i,l,-r,r)+noise(e.x*this.noiseScale+this.xoff)*this.noiseAmp,t=map(e.y,a,s,-n,n)+noise(e.y*this.noiseScale+this.yoff)*this.noiseAmp;curveVertex(o,t+c)}endShape(CLOSE),pop()}headL(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:375,y:657},{x:400,y:466},{x:481,y:453},{x:457,y:435},{x:447,y:440},{x:440,y:432},{x:442,y:445},{x:436,y:388},{x:454,y:344},{x:464,y:348},{x:464,y:336},{x:497,y:344},{x:497,y:364},{x:478,y:389},{x:483,y:352},{x:464,y:352},{x:522,y:251},{x:581,y:219},{x:666,y:211},{x:752,y:207},{x:785,y:247},{x:796,y:381},{x:795,y:350},{x:843,y:360},{x:846,y:407},{x:821,y:431},{x:788,y:375},{x:781,y:380},{x:706,y:352},{x:677,y:379},{x:696,y:428},{x:740,y:428},{x:773,y:378},{x:768,y:423},{x:744,y:452},{x:708,y:455},{x:676,y:432},{x:671,y:403},{x:668,y:371},{x:661,y:417},{x:672,y:431},{x:663,y:438},{x:653,y:441},{x:648,y:429},{x:660,y:433},{x:660,y:439},{x:648,y:428},{x:628,y:434},{x:612,y:423},{x:598,y:442},{x:591,y:430},{x:607,y:425},{x:597,y:443},{x:572,y:380},{x:564,y:416},{x:548,y:430},{x:528,y:436},{x:490,y:431},{x:481,y:404},{x:480,y:380},{x:527,y:348},{x:574,y:374},{x:575,y:430},{x:549,y:451},{x:521,y:459},{x:490,y:427},{x:496,y:445},{x:538,y:474},{x:564,y:424},{x:573,y:404},{x:564,y:476},{x:536,y:501},{x:507,y:478},{x:488,y:437},{x:476,y:416},{x:500,y:515},{x:538,y:553},{x:576,y:534},{x:574,y:483},{x:579,y:396},{x:573,y:476},{x:596,y:464},{x:651,y:453},{x:675,y:464},{x:676,y:411},{x:697,y:456},{x:738,y:455},{x:762,y:440},{x:770,y:378},{x:748,y:489},{x:721,y:500},{x:695,y:474},{x:674,y:435},{x:678,y:492},{x:696,y:540},{x:740,y:544},{x:766,y:509},{x:778,y:472},{x:772,y:375}];for(let[e,o]of t.entries())o.x+=e*this.offset%this.someValue,o.y+=e*this.offset%this.someValue;let i=min(t.map((e=>e.x))),l=max(t.map((e=>e.x))),a=min(t.map((e=>e.y))),s=max(t.map((e=>e.y)));push(),translate(this.pos.x,this.pos.y),scale(.7),beginShape();for(let n of t){let t=map(n.x,i,l,-e/2,e/2)+noise(n.x*this.noiseScale+this.xoff)*this.noiseAmp,r=map(n.y,a,s,-o/2,o/2)+noise(n.y*this.noiseScale+this.yoff)*this.noiseAmp;curveVertex(t,r)}endShape(),pop()}headM(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:407,y:360},{x:500,y:380},{x:511,y:383},{x:505,y:360},{x:505,y:395},{x:526,y:398},{x:534,y:379},{x:522,y:380},{x:504,y:360},{x:524,y:376},{x:540,y:368},{x:556,y:344},{x:544,y:296},{x:517,y:249},{x:493,y:252},{x:481,y:309},{x:505,y:344},{x:539,y:345},{x:546,y:270},{x:536,y:261},{x:535,y:274},{x:546,y:213},{x:620,y:164},{x:692,y:149},{x:737,y:166},{x:781,y:228},{x:772,y:279},{x:787,y:314},{x:803,y:321},{x:814,y:280},{x:808,y:258},{x:788,y:241},{x:776,y:262},{x:784,y:293},{x:787,y:308},{x:810,y:297},{x:807,y:313},{x:798,y:322},{x:778,y:293},{x:786,y:324},{x:806,y:332},{x:811,y:302},{x:814,y:327},{x:802,y:336},{x:788,y:328},{x:781,y:318},{x:772,y:316},{x:777,y:328},{x:787,y:325},{x:764,y:334},{x:712,y:326},{x:711,y:312},{x:722,y:316},{x:722,y:327},{x:712,y:332},{x:709,y:318},{x:707,y:296},{x:696,y:256},{x:712,y:288},{x:699,y:337},{x:660,y:360},{x:631,y:347},{x:623,y:304},{x:628,y:352},{x:665,y:375},{x:694,y:360},{x:694,y:314},{x:701,y:290},{x:688,y:248},{x:648,y:244},{x:617,y:264},{x:620,y:313},{x:666,y:325},{x:697,y:313},{x:705,y:288},{x:709,y:317},{x:713,y:330},{x:709,y:380},{x:684,y:416},{x:654,y:419},{x:614,y:376},{x:584,y:311},{x:600,y:345},{x:667,y:404},{x:700,y:373},{x:712,y:329},{x:732,y:329},{x:738,y:376},{x:756,y:455},{x:778,y:465},{x:796,y:456},{x:786,y:347},{x:770,y:332},{x:743,y:347},{x:755,y:444},{x:787,y:445},{x:780,y:351},{x:764,y:343},{x:750,y:438},{x:728,y:461},{x:694,y:468},{x:679,y:463},{x:660,y:439},{x:641,y:434},{x:569,y:438},{x:554,y:380},{x:542,y:365}];for(let[e,o]of t.entries())o.x+=e*this.offset%this.someValue,o.y+=e*this.offset%this.someValue;let i=min(t.map((e=>e.x))),l=max(t.map((e=>e.x))),a=min(t.map((e=>e.y))),s=max(t.map((e=>e.y)));push(),translate(this.pos.x,this.pos.y),scale(.6),beginShape();for(let n of t){let t=map(n.x,i,l,-e/2,e/2)+noise(n.x*this.noiseScale+this.xoff)*this.noiseAmp,r=map(n.y,a,s,-o/2,o/2)+noise(n.y*this.noiseScale+this.yoff)*this.noiseAmp;curveVertex(t,r)}endShape(),pop()}bodyM(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:366,y:663},{x:388,y:588},{x:388,y:553},{x:400,y:479},{x:392,y:416},{x:451,y:408},{x:522,y:410},{x:581,y:430},{x:597,y:485},{x:697,y:480},{x:723,y:514},{x:798,y:496},{x:816,y:387},{x:846,y:371},{x:890,y:403},{x:939,y:412},{x:973,y:412},{x:972,y:480},{x:958,y:555},{x:964,y:627},{x:960,y:657}];for(let[e,o]of t.entries())o.x+=e*this.offset%this.someValue,o.y+=e*this.offset%this.someValue;let i=min(t.map((e=>e.x))),l=max(t.map((e=>e.x))),a=min(t.map((e=>e.y))),s=max(t.map((e=>e.y)));push(),translate(this.pos.x,this.pos.y),scale(.7),beginShape();for(let n of t){let t=map(n.x,i,l,-e/2,e/2)+noise(n.x*this.noiseScale+this.xoff)*this.noiseAmp,r=map(n.y,a,s,-o/2,o/2)+noise(n.y*this.noiseScale+this.yoff)*this.noiseAmp;curveVertex(t,r+.4*o)}endShape(),pop()}headR(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:881,y:680},{x:456,y:380},{x:479,y:441},{x:512,y:492},{x:582,y:518},{x:638,y:525},{x:681,y:490},{x:697,y:488},{x:716,y:437},{x:713,y:405},{x:722,y:383},{x:708,y:373},{x:703,y:354},{x:699,y:362},{x:699,y:381},{x:724,y:386},{x:740,y:373},{x:738,y:325},{x:737,y:298},{x:713,y:286},{x:704,y:320},{x:723,y:307},{x:737,y:325},{x:731,y:293},{x:715,y:260},{x:716,y:193},{x:681,y:167},{x:608,y:161},{x:536,y:177},{x:488,y:215},{x:468,y:268},{x:473,y:277},{x:475,y:269},{x:459,y:277},{x:458,y:309},{x:478,y:312},{x:494,y:301},{x:497,y:270},{x:460,y:273},{x:457,y:325},{x:482,y:327},{x:493,y:304},{x:484,y:323},{x:463,y:327},{x:452,y:317},{x:458,y:333},{x:479,y:337},{x:489,y:321},{x:497,y:340},{x:480,y:331},{x:488,y:325},{x:508,y:333},{x:532,y:325},{x:523,y:324},{x:524,y:336},{x:539,y:332},{x:535,y:325},{x:529,y:336},{x:552,y:322},{x:548,y:287},{x:562,y:264},{x:567,y:303},{x:576,y:321},{x:626,y:335},{x:644,y:330},{x:644,y:321},{x:650,y:309},{x:624,y:264},{x:598,y:256},{x:564,y:266},{x:564,y:321},{x:589,y:368},{x:615,y:368},{x:632,y:352},{x:642,y:317},{x:644,y:367},{x:630,y:389},{x:598,y:392},{x:583,y:371},{x:551,y:316},{x:577,y:377},{x:619,y:451},{x:664,y:481},{x:681,y:461},{x:694,y:432},{x:678,y:381},{x:656,y:435},{x:629,y:417},{x:658,y:392},{x:677,y:419},{x:686,y:445},{x:664,y:482},{x:591,y:400},{x:584,y:377},{x:540,y:365},{x:479,y:383},{x:476,y:414},{x:503,y:434},{x:552,y:426},{x:600,y:400},{x:574,y:397},{x:513,y:416},{x:480,y:410},{x:467,y:417},{x:484,y:413},{x:511,y:420},{x:566,y:404},{x:589,y:397},{x:556,y:355},{x:531,y:345},{x:505,y:359},{x:490,y:372},{x:460,y:400},{x:448,y:347},{x:465,y:280},{x:456,y:307},{x:478,y:317},{x:496,y:301},{x:496,y:273},{x:464,y:273},{x:455,y:321},{x:469,y:327},{x:486,y:325},{x:495,y:305},{x:484,y:338},{x:463,y:338},{x:452,y:320},{x:457,y:381}];for(let[e,o]of t.entries())o.x+=e*this.offset%this.someValue,o.y+=e*this.offset%this.someValue;let i=min(t.map((e=>e.x))),l=max(t.map((e=>e.x))),a=min(t.map((e=>e.y))),s=max(t.map((e=>e.y)));push(),translate(this.pos.x,this.pos.y),scale(.6),beginShape();for(let n of t){let t=map(n.x,i,l,-e/2,e/2)+noise(n.x*this.noiseScale+this.xoff)*this.noiseAmp,r=map(n.y,a,s,-o/2,o/2)+noise(n.y*this.noiseScale+this.yoff)*this.noiseAmp;curveVertex(t+.02*globeScale,r)}endShape(),pop()}bodyR(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:368,y:683},{x:374,y:692},{x:356,y:522},{x:360,y:391},{x:384,y:378},{x:466,y:377},{x:459,y:385},{x:459,y:406},{x:480,y:438},{x:508,y:491},{x:571,y:515},{x:641,y:528},{x:680,y:491},{x:699,y:484},{x:716,y:432},{x:712,y:398},{x:728,y:383},{x:763,y:379},{x:816,y:377},{x:833,y:376},{x:844,y:367},{x:841,y:375},{x:811,y:365},{x:832,y:383},{x:856,y:380},{x:867,y:366},{x:882,y:543},{x:889,y:684},{x:866,y:541},{x:888,y:665},{x:882,y:555},{x:881,y:680}];for(let[e,o]of t.entries())o.x+=e*this.offset%this.someValue,o.y+=e*this.offset%this.someValue;let i=min(t.map((e=>e.x))),l=max(t.map((e=>e.x))),a=min(t.map((e=>e.y))),s=max(t.map((e=>e.y)));push(),translate(this.pos.x,this.pos.y),scale(.6),beginShape();for(let n of t){let t=map(n.x,i,l,-e/2,e/2)+noise(n.x*this.noiseScale+this.xoff)*this.noiseAmp,r=map(n.y,a,s,-o/2,o/2)+noise(n.y*this.noiseScale+this.yoff)*this.noiseAmp;curveVertex(t,r+.4*o)}endShape(),pop()}animate(){endItTriggered||(this.xoff+=this.noiseSpeed,this.yoff+=this.noiseSpeed,endItOn&&interactionOn&&(mouseX>=buttonX-2*buttonS&&mouseX<=buttonX&&mouseY>=buttonY-4*buttonS&&mouseY<=width/aspectRatio?this.noiseAmp=(map(mouseX,buttonX-2*buttonS,buttonX,originalNoise,targetNoise)+map(mouseY,buttonY-4*buttonS,width/aspectRatio,originalNoise,targetNoise))/2:mouseX>=buttonX&&mouseY>=buttonY-4*buttonS&&mouseY<=width/aspectRatio?this.noiseAmp=map(mouseX,buttonX,width,targetNoise,originalNoise)+map(mouseY,width/aspectRatio,buttonY-4*buttonS,targetNoise,originalNoise):this.noiseAmp=.02*globeScale,this.noiseAmp>=.06*globeScale&&(this.xoff=0,this.yoff=1e3)))}}function colleagueF(){let e=.24*globeScale,o=.09*globeScale,t=R.random_num(.001*globeScale,.004*globeScale),i=.02*globeScale,l=.001*globeScale,a=.02*globeScale,s=R.random_num(0,1);colleagueL=new Colleagues(.36*globeScale,.09*globeScale,e,o,t,l,i,s/2,a),colleagueM=new Colleagues(.63*globeScale,.09*globeScale,e,o,t,l,i,-s,a),colleagueR=new Colleagues(.9*globeScale,.09*globeScale,e,o,t,l,i,s/3,a)}