Week 2

  • Show Sketch
/** @peep sketchcode */
 
size(400, 400);
background(117, 250, 246);
 
//kite
fill(245, 10, 10);
stroke(245, 10, 10);
triangle(100, 50, 150, 100, 100, 150);
fill(10, 245, 64);
stroke(10, 245, 64);
triangle(50, 100, 100, 50, 100, 150);
 
 
//tail
stroke(0);
line(100, 150, 300, 275);
fill(255, 204, 0);
stroke(255, 204, 0);
triangle(132, 170, 145, 168, 135, 183);
triangle(180, 200, 193, 198, 183, 213);
triangle(228, 230, 241, 228, 231, 243);
 
//cloud
fill(255, 204, 0);
stroke(255, 204, 0);
ellipse(290, 80, 60, 60);
fill(255);
stroke(255);
ellipse(250, 50, 50, 50);
ellipse(280, 60, 50, 50);
ellipse(310, 50, 50, 50);
ellipse(340, 60, 50, 50);

Last modified on 14 Mar 2016 at 11:27am