memoscan
← all memos

Memo 0x0f05cda4…d11526 on Ethereum

jalepeno(){let tto=circlePack(70*M,90*M);noStroke();for(var i=0;i<tto.length;i++){push();translate(tto[i].x,tto[i].y);fill(86,43,45,100);strokeWeight(1*M);beginShape();let zoff2=0;for(let a=0;a<TWO_PI;a+=radians(1*M)){let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(xoff+0.01,yoff+0.01,zoff2),0,1,0*M,10*M)+tto[i].r-50*M;let x=r*cos(a);let y=r*sin(a);curveVertex(x,y);zoff2+=0.05} endShape(CLOSE);fill(86,13,100,30);beginShape();for(let a=0;a<TWO_PI;a+=0.2){const r=RA.random_num(0,tto[i].r-50*M);let x=r*cos(a);let y=r*sin(a);curveVertex(x,y)} beginContour();for(let a=0;a<TWO_PI;a+=0.2){const r=RA.random_num(0,tto[i].r-50*M);let x=r*cos(a);let y=r*sin(a);curveVertex(x,y)} endShape(CLOSE);pop()}} corn(){let tha=circlePack(20*M,30*M);for(var i=0;i<tha.length;i++){push();translate(tha[i].x,tha[i].y);rotate(RA.random_num(0,TWO_PI));fill(49,78,100,100);rect(0,0,15*M,25*M,RA.random_num(5,10));pop()}} sundriedtomato(){let tsdt=circlePack(60*M,70*M);for(var i=0;i<tsdt.length;i++){push();translate(tsdt[i].x,tsdt[i].y);rotate(RA.random_num(0,TWO_PI));scale(0.4);scale(2.5/D);for(let x=0*M;x<50*M;x+=1*M){let xoff=0;for(let y=-(x+30*M)*2;y<(x+30*M)*2;y+=1*M){stroke(0,90,map(noise(xoff),0,1,40,80));strokeWeight(4*M);point(noise(xoff)*10+x,y);xoff+=0.03}} pop()}} cherrytomato(){let ton=circlePack(80*M,80*M);for(var i=0;i<ton.length;i++){push();translate(ton[i].x,ton[i].y);noFill();strokeWeight(8*M);let zoff2=0;let co=TWO_PI;for(let ro=ton[i].r-50*M;ro>0;ro-=1){beginShape();for(let a=0;a<co;a+=0.01){noStroke();fill(0,0,map(ro,0,ton[i].r,10,20),5);let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(zoff2),0,1,0*M,5*M)+ro;let x=r*cos(a);let y=r*sin(a);vertex(x+10*M,y+5*M);zoff2+=0.001} endShape()} for(let ro=ton[i].r-50*M;ro>0;ro-=1){beginShape();for(let a=0;a<co;a+=0.01){noStroke();fill(0,100,map(ro,0,ton[i].r,100,70),100);let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(zoff2),0,1,0*M,5*M)+ro;let x=r*cos(a);let y=r*sin(a);vertex(x,y);zoff2+=0.001} endShape()} pop()}} cucumber(){let tto=circlePack(60*M,70*M);noStroke();for(var i=0;i<tto.length;i++){push();translate(tto[i].x,tto[i].y);rotate(RA.random_num(0,TWO_PI));fill(95,30,47,100);noStroke();beginShape();let zoff1=0;for(let a=0;a<TWO_PI;a+=0.01){let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(xoff+0.01,yoff+0.01,zoff1),0,1,0*M,10*M)+tto[i].r-17*M;let x=r*cos(a);let y=r*sin(a);curveVertex(x,y);zoff1+=0.01} endShape(CLOSE);fill(95,15,80,100);beginShape();let zoff2=0;for(let a=0;a<TWO_PI;a+=0.01){let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(xoff+0.01,yoff+0.01,zoff2),0,1,0*M,10*M)+tto[i].r-20*M;let x=r*cos(a);let y=r*sin(a);curveVertex(x,y);zoff2+=0.01} endShape(CLOSE);fill(95,0,100,90);noStroke();beginShape();for(let a=0;a<TWO_PI;a+=0.2){const r=RA.random_num(0,tto[i].r-20*M);let x=r*cos(a);let y=r*sin(a);curveVertex(x,y)} beginContour();for(let a=0;a<TWO_PI;a+=0.2){const r=RA.random_num(0,tto[i].r-20*M);let x=r*cos(a);let y=r*sin(a);curveVertex(x,y)} endShape(CLOSE);pop()}} cheddar(){push();let roff=0;for(let i=0;i<R*5;i+=1*M){push();rotate(noise(roff));fill(0,0,random(90,100));let x=RA.random_num(-R,R);let y=RA.random_num(-R,R);if(dist(x,y,0,0)<R-10*M){rect(x,y,3*M,30*M)} roff+=0.01;pop()} pop()} cheddarsquare(){push();let roff=0;for(let i=0;i<R*5;i+=1*M){push();fill(0,0,RA.random_num(90,100));let x=RA.random_num(-R,R);let y=RA.random_num(-R,R);translate(x,y);rotate(noise(roff));rect(0,0,3*M,30*M);roff+=0.01;pop()} pop()} mayo(){push();let coff=0;let ro=RA.random_num(0,TWO_PI);rotate(ro);for(let a=PI/2+PI/10;a<=PI/2+PI/10+PI-PI/5;a+=(PI-PI/5)/10){for(let x=(R-20*M)*cos(a);x<(R-20*M)*cos(PI/2-(a-PI/2));x+=1*M){stroke(0,0,0,10);strokeWeight(5*M*noise(coff));point(x+15*M,(R-20*M)*sin(a)+noise(coff)*10*M);coff+=0.05}} for(let a=PI/2+PI/10;a<=PI/2+PI/10+PI-PI/5;a+=(PI-PI/5)/10){for(let x=(R-20*M)*cos(a);x<(R-20*M)*cos(PI/2-(a-PI/2));x+=1*M){stroke(255);strokeWeight(15*M*noise(coff));point(x,(R-20*M)*sin(a)+noise(coff)*10*M);coff+=0.05}} rotate(PI/2);for(let a=PI/2+PI/10;a<=PI/2+PI/10+PI-PI/5;a+=(PI-PI/5)/10){for(let x=(R-20*M)*cos(a);x<(R-10*M)*cos(PI/2-(a-PI/2));x+=1*M){stroke(0,0,0,10);strokeWeight(5*M*noise(coff));point(x+15*M,(R-10*M)*sin(a)+noise(coff)*10*M);coff+=0.05}} for(let a=PI/2+PI/10;a<=PI/2+PI/10+PI-PI/5;a+=(PI-PI/5)/10){for(let x=(R-20*M)*cos(a);x<(R-20*M)*cos(PI/2-(a-PI/2));x+=1*M){stroke(255);strokeWeight(15*M*noise(coff));point(x,(R-20*M)*sin(a)+noise(coff)*10*M);coff+=0.05}} pop()} mayosquare(){push();let coff=0;for(let y=-R+R/5;y<=R-R/5;y+=R/5){for(let x=-R;x<R;x+=1*M){stroke(0,0,90);strokeWeight(15*M*noise(coff));point(x,y);coff+=0.05}} for(let y=-R+R/5;y<=R-R/5;y+=R/5){for(let x=-R;x<R;x+=1*M){stroke(255);strokeWeight(15*M*noise(coff));point(x,y);coff+=0.05}} rotate(PI/2);for(let y=-R+R/5;y<=R-R/5;y+=R/5){for(let x=-R;x<R;x+=1*M){stroke(0,0,90);strokeWeight(15*M*noise(coff));point(x,y);coff+=0.05}} for(let y=-R+R/5;y<=R-R/5;y+=R/5){for(let x=-R;x<R;x+=1*M){stroke(255);strokeWeight(15*M*noise(coff));point(x,y);coff+=0.05}} pop()} goatcheese(){let tcd=circlePack(60*M,90*M);for(var i=0;i<tcd.length;i++){push();translate(tcd[i].x,tcd[i].y);rotate(RA.random_num(0,TWO_PI));fill(0,0,100,100);noStroke();beginShape();let zoff=0;for(let a=0;a<TWO_PI;a+=0.02){let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(xoff,yoff,zoff),0,1,30*M,tcd[i].r);let x=r*cos(a);let y=r*sin(a);vertex(x,y);zoff+=0.02} endShape(CLOSE);fill(0,0,96,100);beginShape();let zoff2=0;for(let a=0;a<TWO_PI;a+=0.02){let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(xoff,yoff,zoff2),0,1,20*M,tcd[i].r-10*M);let x=r*cos(a);let y=r*sin(a);vertex(x,y);zoff2+=0.002} endShape(CLOSE);fill(0,0,93,100);beginShape();let zoff3=0;for(let a=0;a<TWO_PI;a+=0.02){let xoff=map(cos(a),-1,1,0,1);let yoff=map(sin(a),-1,1,0,1);const r=map(noise(xoff,yoff,zoff3),0,1,10*M,tcd[i].r-30*M);let x=r*cos(a);let y=r*sin(a);vertex(x,y);zoff3+=0.002} endShape(CLOSE);pop()}} basil(){const size=70*M;const bulge=1.2;const n=4;let tto=circlePack(50*M,70*M);noStroke();for(var i=0;i<tto.length;i++){push();translate(tto[i].x,tto[i].y);rotate(RA.random_num(0,TWO_PI));fill(86,43,55,100);beginShape();for(let t=0;t<360/n;t++){let A=(n/PI)*radians(t);let md=floor(A)%2;let r=pow(-1,md)*(A-floor(A))+md;let R=r;let x=size*R*cos(bulge*radians(t));let y=size*R*sin(radians(t));curveVertex(x,y)} endShape(CLOSE);pop()}} oregano(){push();for(let i=0;i<R*20;i+=1*M){fill(124,93,random(37));let x=RA.random_num(-R,R);let y=RA.random_num(-R,R);if(dist(x,y,0,0)<R){ellipse(x,y,2*M,2*M)}} pop()} oreganosquare(csb){push();noStroke();rotate(csb);for(let i=0;i<R*20;i+=1*M){fill(124,93,random(37));let x=RA.random_num(-R,R);let y=RA.random_num(-R,R);ellipse(x,y,2*M,2*M)} pop()} chilli(){push();for(let i=0;i<R*2;i+=1*M){push();noStroke();rotate(RA.random_num(0,TWO_PI));fill(0,93,RA.random_int(0,100));let x=RA.random_num(-R,R);let y=RA.random_num(-R,R);if(dist(x,y,0,0)<R){rect(x,y,5*M,5*M)} pop()} pop()} chillisquare(csb){push();for(let i=0;i<R*2;i+=1*M){push();fill(0,93,RA.random_int(0,100));let x=RA.random_num(-R,R);let y=RA.random_num(-R,R);translate(x,y);rotate(RA.random_num(0,TWO_PI));rect(0,0,5*M,5*M);pop()} pop()} sliced1(cut,Rad){push();rotate(RA.random_num(0,TWO_PI));push();for(let a=0;a<PI;a+=PI/2){rotate(a);let zoff2=0;for(let y=-Rad+25*M;y<Rad-25*M;y+=1*M){stroke(37,85,91,100);strokeWeight(4*M);point(noise(zoff2)*5*M+5*M,y);point(noise(zoff2)*5*M-5*M,y);zoff2+=0.1} let zoff3=0;for(let y=-Rad+5*M;y<Rad-5*M;y+=1*M){stroke(16,87,67,100);strokeWeight(6*M);point(noise(zoff3)*5*M+3*M,y);point(noise(zoff3)*5*M-3*M,y);zoff3+=0.1}} pop();push();for(let a=0;a<PI;a+=PI/2){rotate(a);let zoff=0;for(let y=-Rad-10*M;y<Rad+10*M;y+=1*M){stroke(0,0,10);strokeWeight(8*M);point(noise(zoff)*5*M,y);zoff+=0.1}} pop();fill(0,0,10);arc(0,0,2*Rad+20*M,2*Rad+20*M,0,cut);push();for(let i=0;i<Rad*10;i+=1*M){fill(37,85,RA.random_int(50,91),100);let x=RA.random_num(-Rad,Rad);let y=RA.random_num(-Rad,Rad);if(dist(x,y,0,0)<Rad+20*M&&dist(x,y,0,0)>Rad){ellipse(x,y,2*M,2*M)}} pop()} plate(Rad,sqs){for(let x=-500*M;x<=500*M+sqs*M;x+=sqs*M){let nclo=0;for(let y=-500*M;y<=500*M+sqs*M;y+=(sqs/2)*M){fill(0,0,100,40);square(x,y,(sqs/2)*M)}} push();rotate(PI/2);for(let x=-500*M;x<=500*M+sqs*M;x+=sqs*M){let nclo=0;for(let y=-500*M;y<=500*M+sqs*M;y+=(sqs/2)*M){fill(0,0,100,40);square(x,y,(sqs/2)*M)}} pop();let ri=2.2*Rad+20*M;for(let i=0;i<=20;i+=1){fill(0,0,map(i,0,20,0,10),5);noStroke();circle(0+10*M,0+5*M,ri-20*M);ri-=2*M} for(let i=0;i<=20;i+=1){fill(0,0,map(i,0,20,30,0));noStroke();arc(0,0,ri,ri,0,TWO_PI);ri-=2*M} for(let i=0;i<=20;i+=1){fill(0,0,map(i,0,20,0,10));noStroke();circle(0+10*M,0+10*M,ri);ri-=2*M} noStroke();fill(0,0,10);circle(0+5*M,0+5*M,2*Rad)} psy(){fill(0,0,0,100);rect(0,0,DIM,DIM);noFill();push();for(let a=0;a<TWO_PI;a+=0.05){let y=0;push();beginShape();rotate(a);strokeWeight(RA.random_int(1,RA.random_int(2,4)*M));stroke(RA.random_int(0,360),100,100,100);for(let x=R;x<1000;x+=1*M){vertex(x,50*M*sin(y));y+=0.06} endShape();pop()} noStroke();pop()} psyronni(){let tpe=circlePack(10*M,90*M);push();for(var i=0;i<tpe.length;i++){push();translate(tpe[i].x,tpe[i].y);fill(0);ellipse(0,0,2*tpe[i].r,2*tpe[i].r);for(let r0=tpe[i].r;r0>0;r0-=5*M){let chue=RA.random_int(0,360);let bri=RA.random_choice([0,100]);stroke(chue,100,bri,100);noFill();strokeWeight(RA.random_int(1*M,RA.random_int(2,4)*M));ellipse(0,0,2*r0,2*r0)} pop()} pop()}} function circlePack(r1,r2){var circles=[];var protection=0;push();while(circles.length<1000){let x0=RA.random_num(-R,R);let y0=RA.random_num(-R,R);let r0=RA.random_num(r1,r2);let dist0=dist(x0,y0,0,0);if(dist0<R-r0){var circle={x:x0,y:y0,r:r0,};var overlapping=!1;for(var j=0;j<circles.length;j++){var other=circles[j];var d=dist(circle.x,circle.y,other.x,other.y);if(d<circle.r+other.r){overlapping=!0}} if(!overlapping){circles.push(circle)} protection++;if(protection>10000){break}}} pop();return circles}