memoscan
← all memos

Memo 0x82b140da…99dd8d on Ethereum

function showAllSilsDraw(){showSils&&(showRatSil&&(push(),translate(ratSilX,ratSilY),scale(-1,1),ratSil1.silRat(),pop()),showSils5&&(ranReflect?(push(),translate(width/1.32,0),scale(-1,1),sils5.silFour(),pop()):sils5.silFour()),showSils4&&sils4.silThree(),showSils3&&(push(),translate(silsX2,silsY2),rotate(radians(-20)),sils3.silTwo(),pop()),showSils1&&sils1.silOne(),showSils2&&(push(),translate(width/1.32,0),scale(-1,1),sils2.silOne(),pop()),silsAnimOn&&!collapseMeatOn&&(sils1.animate(),sils2.animate(),sils3.animate(),sils4.animate(),sils5.animate(),ratSil1.animate()))}function silsF(){let e=R.random_num(0,1),o=R.random_num(0,1),t=R.random_num(0,1),i=R.random_num(0,1),l=R.random_num(0,1),a=R.random_num(0,1);if(e>.5&&(showSils1=!0),o>.5&&(showSils2=!0),t>.5&&(showSils3=!0),i>.5&&(showSils4=!0),l>.5&&(showSils5=!0),a>.5&&(showRatSil=!0),showSils5){R.random_num(0,1)>=.5?(ranReflect=!0,showSils1=!1,showSils4=!1):(ranReflect=!1,showSils2=!1,showSils3=!1)}R.random_num(0,100)<10&&(showSils=!1),silsW=.4*globeScale,silsH=.8*globeScale,silsX=0+silsW/4.5,silsY=R.random_num(.25*globeScale,.4*globeScale),silStrokeW=R.random_num(9e-4*globeScale,.015*globeScale),silsX2=1.15*globeScale,silsY2=R.random_num(.1*globeScale,.4*globeScale),silsW2=.6*globeScale,silsH2=1.5*silsW2,showSils2&&(silsY2=silsY-silsH/1.5),silsW3=.4*globeScale,silsH3=3*silsW3,silsX3=.04*width,silsY3=.2*globeScale,showSils1&&(silsY3-=silsH/1.5),silsW4=.6*globeScale,silsH4=2*silsW4,silsX4=1.14*globeScale,silsY4=.005*globeScale,ratSilW=.55*globeScale,ratSilH=2*ratSilW,ratSilX=1.2*globeScale,ratSilY=.35*globeScale,(showSils2||showSils3)&&(ratSilX=1.085*globeScale),showSils5&&!ranReflect&&(showRatSil=!1);let s=.019*globeScale,n=9e-4*globeScale,r=.02*globeScale,c=2e-4*globeScale;sils1=new Sils(silsX,silsY,silsW,silsH,silStrokeW,n,s,c,r),sils2=new Sils(silsX,silsY,silsW,silsH,silStrokeW,n,s,c,r),sils3=new Sils(0,0,silsW2,silsH2,silStrokeW,n,s,c,r),sils4=new Sils(silsX3,silsY3,silsW3,silsH3,silStrokeW,n,s,c,r),sils5=new Sils(silsX4,silsY4,silsW4,silsH4,silStrokeW,n,s,c,r),ratSil1=new Sils(0,0,ratSilW,ratSilH,silStrokeW,n,s,c,r)}class Sils{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.scaleFactor=R.random_num(.5,.8),this.offset=R.random_num(0,400),this.someValue=R.random_num(0,200),this.someValue2=R.random_num(0,20)}silOne(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:4,y:1512},{x:168,y:1480},{x:304,y:1592},{x:516,y:1636},{x:664,y:1884},{x:668,y:2048},{x:676,y:2136},{x:628,y:2192},{x:524,y:2096},{x:564,y:2192},{x:632,y:2232},{x:688,y:2220},{x:688,y:2160},{x:652,y:2116},{x:648,y:2008},{x:584,y:1984},{x:524,y:2052},{x:540,y:2128},{x:612,y:2132},{x:676,y:2124},{x:644,y:2276},{x:584,y:2248},{x:536,y:2108},{x:564,y:2280},{x:548,y:2244},{x:576,y:2268},{x:508,y:2288},{x:452,y:2264},{x:360,y:2332},{x:360,y:2280},{x:404,y:2300},{x:376,y:2320},{x:276,y:2084},{x:116,y:2012},{x:0,y:2136},{x:140,y:2264},{x:244,y:2200},{x:228,y:2132},{x:248,y:2340},{x:140,y:2424},{x:28,y:2292},{x:12,y:2204},{x:164,y:2340},{x:232,y:2232},{x:120,y:2320},{x:12,y:2204},{x:156,y:2260},{x:236,y:2196},{x:276,y:2116},{x:372,y:2324},{x:308,y:2492},{x:232,y:2504},{x:364,y:2436},{x:468,y:2388},{x:668,y:2592},{x:660,y:2344},{x:684,y:2176},{x:644,y:2552},{x:576,y:2476},{x:276,y:2500},{x:188,y:2580},{x:220,y:2420},{x:240,y:2588},{x:480,y:2696},{x:636,y:2536},{x:608,y:2724},{x:444,y:2788},{x:252,y:2668},{x:208,y:2588},{x:212,y:2792},{x:164,y:2900},{x:0,y:2812},{x:372,y:3036},{x:536,y:2912},{x:648,y:2536},{x:668,y:2048},{x:664,y:1884},{x:516,y:1636},{x:304,y:1592},{x:168,y:1480},{x:4,y:1512}];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(this.scaleFactor),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+.55*o)}endShape(CLOSE),pop()}silTwo(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill(),this.scale=.6;let e=this.w,o=this.h,t=[{x:699,y:303},{x:660,y:296},{x:602,y:340},{x:579,y:342},{x:577,y:335},{x:568,y:340},{x:564,y:359},{x:576,y:374},{x:582,y:368},{x:572,y:354},{x:562,y:365},{x:559,y:376},{x:545,y:388},{x:555,y:388},{x:563,y:396},{x:563,y:414},{x:503,y:469},{x:496,y:464},{x:502,y:460},{x:498,y:445},{x:541,y:401},{x:544,y:394},{x:560,y:418},{x:507,y:456},{x:499,y:448},{x:527,y:432},{x:543,y:396},{x:545,y:389},{x:563,y:395},{x:572,y:408},{x:592,y:423},{x:631,y:400},{x:641,y:356},{x:618,y:348},{x:596,y:363},{x:573,y:406},{x:595,y:424},{x:612,y:410},{x:583,y:408},{x:588,y:379},{x:612,y:350},{x:599,y:387},{x:612,y:407},{x:632,y:399},{x:609,y:388},{x:608,y:362},{x:622,y:348},{x:607,y:352},{x:583,y:380},{x:579,y:372},{x:572,y:372},{x:566,y:361},{x:562,y:364},{x:563,y:376},{x:545,y:388},{x:543,y:400},{x:496,y:448},{x:485,y:483},{x:585,y:502},{x:700,y:303},{x:660,y:296},{x:602,y:340},{x:579,y:342},{x:577,y:335},{x:568,y:340}];for(let[e,o]of t.entries())o.x+=e*this.offset%this.someValue2,o.y+=e*this.offset%this.someValue2;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(this.scaleFactor),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+.55*o)}endShape(),pop()}silThree(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:0,y:1576},{x:76,y:1676},{x:108,y:1884},{x:344,y:1988},{x:412,y:2068},{x:400,y:2136},{x:536,y:2288},{x:763,y:2324},{x:832,y:2316},{x:924,y:2044},{x:916,y:1928},{x:940,y:1952},{x:776,y:2104},{x:584,y:1960},{x:436,y:1676},{x:540,y:1380},{x:852,y:1272},{x:984,y:1388},{x:940,y:1628},{x:976,y:1856},{x:784,y:2036},{x:704,y:1976},{x:540,y:1924},{x:432,y:1668},{x:784,y:2036},{x:704,y:1976},{x:540,y:1924},{x:432,y:1668},{x:580,y:1360},{x:660,y:1236},{x:612,y:1104},{x:568,y:1060},{x:548,y:952},{x:392,y:876},{x:236,y:884},{x:184,y:980},{x:272,y:1100},{x:408,y:1136},{x:524,y:1052},{x:520,y:992},{x:440,y:1068},{x:348,y:1068},{x:196,y:1008},{x:196,y:1068},{x:248,y:1164},{x:376,y:1224},{x:456,y:1200},{x:500,y:1168},{x:348,y:1184},{x:260,y:1144},{x:196,y:1048},{x:332,y:1164},{x:428,y:1188},{x:504,y:1164},{x:536,y:1032},{x:552,y:1076},{x:616,y:1064},{x:612,y:1168},{x:712,y:1188},{x:808,y:1188},{x:848,y:1136},{x:816,y:1120},{x:776,y:1092},{x:680,y:1132},{x:680,y:1184},{x:848,y:1208},{x:872,y:1224},{x:916,y:1188},{x:872,y:1160},{x:884,y:1236},{x:912,y:1232},{x:884,y:1172},{x:928,y:1108},{x:924,y:1056},{x:836,y:1016},{x:820,y:1024},{x:848,y:1036},{x:904,y:988},{x:824,y:944},{x:808,y:1004},{x:848,y:1028},{x:856,y:948},{x:792,y:868},{x:784,y:788},{x:508,y:588},{x:172,y:500},{x:0,y:600}];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(this.scaleFactor),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+.55*o)}endShape(),pop()}silFour(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:2924,y:360},{x:2860,y:616},{x:2880,y:956},{x:2876,y:1044},{x:2928,y:1080},{x:2996,y:1092},{x:3120,y:964},{x:3140,y:796},{x:3084,y:756},{x:2968,y:832},{x:2872,y:928},{x:2884,y:1044},{x:2956,y:1120},{x:3056,y:1112},{x:3092,y:1092},{x:3100,y:1004},{x:3092,y:952},{x:3088,y:1072},{x:3064,y:1140},{x:2984,y:1160},{x:2888,y:1048},{x:2916,y:1120},{x:2960,y:1180},{x:3036,y:1184},{x:3076,y:1120},{x:3080,y:1040},{x:3088,y:1184},{x:3096,y:1256},{x:3076,y:1248},{x:3076,y:1204},{x:3120,y:1232},{x:3292,y:1172},{x:3308,y:1116},{x:3348,y:1136},{x:3420,y:1084},{x:3436,y:1068},{x:3392,y:1032},{x:3372,y:1064},{x:3392,y:1084},{x:3440,y:1068},{x:3416,y:1044},{x:3436,y:1108},{x:3480,y:1076},{x:3504,y:988},{x:3580,y:900},{x:3592,y:792},{x:3668,y:616},{x:3716,y:584},{x:3740,y:640},{x:3764,y:720},{x:3940,y:784},{x:4004,y:756},{x:4068,y:752},{x:4088,y:692},{x:4060,y:676},{x:4024,y:768},{x:3924,y:744},{x:3832,y:748},{x:3760,y:688},{x:3728,y:572},{x:3816,y:684},{x:3960,y:744},{x:4036,y:728},{x:4056,y:656},{x:4052,y:568},{x:4036,y:660},{x:3928,y:692},{x:3820,y:656},{x:3760,y:660},{x:3724,y:596},{x:3688,y:600},{x:3640,y:640},{x:3584,y:812},{x:3580,y:900},{x:3500,y:1012},{x:3428,y:1096},{x:3384,y:1076},{x:3324,y:1120},{x:3300,y:1160},{x:3152,y:1228},{x:3100,y:1216},{x:3204,y:1324},{x:3208,y:1460},{x:3248,y:1488},{x:3248,y:1456},{x:3336,y:1404},{x:3352,y:1348},{x:3404,y:1368},{x:3440,y:1328},{x:3488,y:1328},{x:3704,y:1256},{x:3764,y:1228},{x:3804,y:1264},{x:4016,y:1264},{x:3960,y:1284},{x:3960,y:1324},{x:3916,y:1356},{x:3908,y:1388},{x:3892,y:1296},{x:3864,y:1276},{x:3892,y:1324},{x:3868,y:1388},{x:3824,y:1392},{x:3788,y:1276},{x:3820,y:1420},{x:3804,y:1464},{x:3780,y:1452},{x:3736,y:1300},{x:3780,y:1432},{x:3724,y:1472},{x:3664,y:1296},{x:3692,y:1408},{x:3672,y:1456},{x:3632,y:1436},{x:3596,y:1308},{x:3632,y:1444},{x:3604,y:1468},{x:3568,y:1452},{x:3516,y:1316},{x:3564,y:1480},{x:3532,y:1520},{x:3512,y:1516},{x:3444,y:1352},{x:3508,y:1508},{x:3492,y:1544},{x:3436,y:1548},{x:3380,y:1388},{x:3400,y:1488},{x:3428,y:1552},{x:3380,y:1568},{x:3376,y:1588},{x:3312,y:1448},{x:3360,y:1592},{x:3316,y:1628},{x:3272,y:1560},{x:3216,y:1480},{x:3264,y:1532},{x:3272,y:1580},{x:3312,y:1612},{x:3388,y:1748},{x:3448,y:1888},{x:3532,y:1920},{x:3680,y:1860},{x:3844,y:1684},{x:3952,y:1496},{x:3972,y:1280},{x:4044,y:1496},{x:4016,y:1620},{x:3940,y:1744},{x:3624,y:2060},{x:3464,y:1944},{x:3376,y:1840},{x:3300,y:1604},{x:3272,y:1564},{x:3272,y:1528},{x:3212,y:1464},{x:3216,y:1324},{x:3112,y:1212},{x:3080,y:1212},{x:3096,y:1264},{x:3088,y:1208},{x:3088,y:1160},{x:3080,y:1096},{x:3032,y:1176},{x:2976,y:1196},{x:2936,y:1164},{x:2932,y:1276},{x:2992,y:1352},{x:2996,y:1416},{x:3208,y:1412},{x:3264,y:1820},{x:3344,y:1968},{x:3460,y:2088},{x:3472,y:2136},{x:3788,y:2168},{x:3912,y:2152},{x:4100,y:1924},{x:4196,y:1904},{x:4304,y:1740},{x:4616,y:1468},{x:4684,y:1344},{x:3120,y:964}];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(this.scaleFactor),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+.55*o)}endShape(),pop()}silRat(){strokeWeight(this.strokeWeight),stroke(this.stroke),noFill();let e=this.w,o=this.h,t=[{x:1240,y:2515},{x:1220,y:2419},{x:1480,y:2039},{x:1480,y:2003},{x:1424,y:1983},{x:1336,y:1975},{x:1260,y:1879},{x:1188,y:1855},{x:1184,y:1783},{x:1224,y:1727},{x:1292,y:1719},{x:1420,y:1659},{x:1580,y:1723},{x:1516,y:1791},{x:1460,y:1839},{x:1348,y:1895},{x:1292,y:1963},{x:1392,y:1967},{x:1468,y:1895},{x:1504,y:1839},{x:1616,y:1759},{x:1520,y:1859},{x:1476,y:2007},{x:1536,y:1875},{x:1648,y:1727},{x:1684,y:1631},{x:1664,y:1723},{x:1768,y:1759},{x:1880,y:1727},{x:1968,y:1639},{x:1972,y:1571},{x:1944,y:1555},{x:1856,y:1539},{x:1716,y:1583},{x:1692,y:1659},{x:1676,y:1779},{x:1756,y:1827},{x:1904,y:1807},{x:1964,y:1739},{x:1976,y:1635},{x:1948,y:1527},{x:2020,y:1671},{x:2020,y:1831},{x:1912,y:1915},{x:1752,y:1831},{x:1676,y:1747},{x:1652,y:1695},{x:1672,y:1635},{x:1852,y:1543},{x:2008,y:1439},{x:2140,y:1423},{x:2176,y:1383},{x:2056,y:1447},{x:2124,y:1439},{x:2240,y:1315},{x:2464,y:1287},{x:2404,y:1315},{x:2464,y:1367},{x:2480,y:1335},{x:2460,y:1315},{x:2448,y:1315},{x:2452,y:1335},{x:2484,y:1335},{x:2524,y:1335},{x:2564,y:1343},{x:2584,y:1311},{x:2544,y:1319},{x:2604,y:1355},{x:2592,y:1371},{x:2616,y:1455},{x:2596,y:1547},{x:2616,y:1599},{x:2536,y:1647},{x:2560,y:1535},{x:2560,y:1427},{x:2564,y:1371},{x:2592,y:1363},{x:2508,y:1391},{x:2516,y:1451},{x:2504,y:1511},{x:2504,y:1587},{x:2484,y:1619},{x:2548,y:1603},{x:2548,y:1523},{x:2548,y:1455},{x:2568,y:1379},{x:2484,y:1387},{x:2408,y:1319},{x:2488,y:1403},{x:2428,y:1415},{x:2476,y:1383},{x:2300,y:1631},{x:2228,y:1803},{x:2316,y:1971},{x:2492,y:2037},{x:2544,y:2083},{x:2564,y:2011},{x:2604,y:1947},{x:2600,y:1863},{x:2652,y:1863},{x:2632,y:1943},{x:2620,y:2075},{x:2523,y:2103},{x:2676,y:2079},{x:2672,y:2043},{x:2696,y:1975},{x:2656,y:1903},{x:2624,y:1903},{x:2620,y:2067},{x:2652,y:2099},{x:2712,y:1999},{x:2668,y:1859},{x:2640,y:1811},{x:2684,y:1691},{x:2696,y:1651},{x:2668,y:1563},{x:2688,y:1487},{x:2652,y:1415},{x:2588,y:1363},{x:2620,y:1347},{x:2620,y:1295},{x:2572,y:1263},{x:2480,y:1259},{x:2416,y:1295},{x:2412,y:1363},{x:2496,y:1411},{x:2560,y:1379},{x:2616,y:1359},{x:2572,y:1319},{x:2532,y:1351},{x:2560,y:1343},{x:2580,y:1327},{x:2612,y:1355},{x:2656,y:1355},{x:2688,y:1451},{x:2676,y:1603},{x:2700,y:1655},{x:2696,y:1775},{x:2752,y:1855},{x:2812,y:1867},{x:2840,y:2103},{x:2780,y:2135},{x:2788,y:2187},{x:2828,y:2219},{x:2876,y:2235},{x:2924,y:2339},{x:2948,y:2479},{x:2920,y:2507}];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(this.scaleFactor),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+.55*o)}endShape(CLOSE),pop()}animate(){this.xoff+=this.noiseSpeed,this.yoff+=this.noiseSpeed}}