ICM_01_Sketch

hyper_spider

hyper_spider

Hmmm… Finished homework for ICM week_1, and it’s a stoned spider. I wrote the most simple/straight-forward/dumb codes for this and I’m in the INTERMEDIATE class of Daniel Shiffman…

Anyway, here’s the long-yet-not-complicated-at-all-source-code!

//setting-up

size(600,500);
smooth();
background(255);

//web_background
stroke(180);
for(int i=800; i>0; i-=50) {
for(int j=175; j<600; j+=10) {
ellipse(300,j,i,i);
}
}

//shadow
noStroke();
fill(180);
ellipse(300,420,310,60);
ellipse(300,370,500,90);

//teeth
noStroke();
fill(183,11,11);
triangle(260,390,260,440,280,390);
triangle(340,390,340,440,320,390);

//body
noStroke();
fill(252,246,41);
ellipse(300,250,350,300);

//legs_Left

stroke(0);
strokeWeight(2);
noFill();
beginShape();
curveVertex(140,300);
curveVertex(140,300);
curveVertex(110,250);
curveVertex(70,220);
curveVertex(50,350);
curveVertex(50,350);
endShape();

beginShape();
curveVertex(130,260);
curveVertex(130,260);
curveVertex(100,200);
curveVertex(70,210);
curveVertex(15,310);
curveVertex(15,310);
endShape();

beginShape();
curveVertex(130,240);
curveVertex(130,240);
curveVertex(80,190);
curveVertex(50,200);
curveVertex(35,300);
curveVertex(35,300);
endShape();

beginShape();
curveVertex(140,220);
curveVertex(140,220);
curveVertex(120,170);
curveVertex(90,140);
curveVertex(50,270);
curveVertex(50,270);
endShape();

//Right_legs
beginShape();
curveVertex(450,320);
curveVertex(450,320);
curveVertex(480,270);
curveVertex(520,240);
curveVertex(550,370);
curveVertex(550,370);
endShape();

beginShape();
curveVertex(460,290);
curveVertex(460,290);
curveVertex(490,240);
curveVertex(530,210);
curveVertex(580,320);
curveVertex(580,320);
endShape();

beginShape();
curveVertex(470,270);
curveVertex(470,270);
curveVertex(495,220);
curveVertex(530,200);
curveVertex(590,280);
curveVertex(590,280);
endShape();

beginShape();
curveVertex(470,230);
curveVertex(470,230);
curveVertex(490,175);
curveVertex(530,140);
curveVertex(560,300);
curveVertex(560,300);
endShape();

//mold
noStroke();
fill(0);
ellipse(335,380,10,10);

//hair on mold;
stroke(0);
strokeWeight(1);
line(335,380,338,370);
line(335,380,345,383);
line(335,380,343,375);

//eyes
noStroke();
fill(255);
ellipse(240,320,80,100);
ellipse(360,320,80,100);
fill(15,205,225);
ellipse(245,325,70,80);
ellipse(355,325,70,80);

//stars in eyes
fill(3,255,249);
stroke(108,255,251);
beginShape();
vertex(240,290);
vertex(220,350);
vertex(270,300);
vertex(215,320);
vertex(260,360);
vertex(240,290);
endShape();

beginShape();
vertex(360,290);
vertex(330,350);
vertex(390,330);
vertex(320,310);
vertex(370,355);
vertex(360,290);
endShape();

//green_dripping
noStroke();
fill(140,196,0);
beginShape();
curveVertex(100,0);
curveVertex(100,0);
curveVertex(120,70);
curveVertex(150,90);
curveVertex(180,45);
curveVertex(200,40);
curveVertex(210,120);
curveVertex(230,140);
curveVertex(260,60);
curveVertex(290,90);
curveVertex(310,80);
curveVertex(330,40);
curveVertex(350,110);
curveVertex(380,50);
curveVertex(390,40);
curveVertex(400,150);
curveVertex(430,160);
curveVertex(450,0);
curveVertex(450,0);
endShape();

beginShape();
curveVertex(470,0);
curveVertex(470,0);
curveVertex(480,40);
curveVertex(500,50);
curveVertex(520,0);
curveVertex(520,0);
endShape();

//End.

 

Leave a Comment.