cat now with var­i­a­b­l­e­s­!

by Craig Elliott
  • Show Sketch
/** @peep sketchcode */
/*drawing a cat with variables v2 */
 
int x=0;
int y=100;
 
size(200, 200);
background(57, 172, 221);
stroke(125);
strokeWeight(3);
 
beginShape();
 
vertex(+20,+20);
vertex(+60, +60);
vertex(+100, +50);
vertex(+140, +60);
vertex(+180, +20);
vertex(+160, +110);
vertex(+100, +170);
vertex(+40, +110);
endShape(CLOSE);
 
noStroke();
fill(0);
beginShape();
 
vertex(+50, +80);
vertex(+80, +90);
vertex(+90, +110);
vertex(+60, +100);
 
endShape(CLOSE);
 
 
beginShape();
 
vertex(+110, +110);
vertex(+120, +90);
vertex(+150, +80);
vertex(+140, +100);
 
endShape(CLOSE);
 
beginShape();
 
vertex(+90, +120);
vertex(+110, +120);
vertex(+100, +130);
 
endShape(CLOSE);

Comments

Nobody has said anything yet.