Tut­o­r­i­a­l week 2

by Brittany Klaassens
  • Show Sketch
/** @peep sketchcode */ 
size(1500, 1000);
background (200, 200, 200);
 
//outside rectngle
fill(160, 82 ,45);
rect(100, 750, 300, 200);
 
 
 
//inside rectangle
fill(0, 0, 0);
rect(125, 770, 250, 160);
 
//buttons
ellipse(113, 818, 12, 12);
ellipse(113, 838, 12, 12);
ellipse(113, 858, 12, 12);
ellipse(113, 878, 12, 12);
 
//antenna
line(230, 750, 150, 530);
line(230, 750, 290, 530);
 
//table
fill(188,143,143);
rect(200, 950, 100, 40);
fill(0, 0, 0);
ellipse(250, 970, 20, 20);
fill(188,143,143);
rect(350, 950, 20, 225);
rect(125, 950, 20, 225);
 
//window
fill(102, 51, 0);
rect(1400, 140, 300, 300);
fill(135, 206, 235);
stroke(135, 206, 235);
rect(1425, 160, 250, 260);
fill(102, 51, 0);
stroke(0, 0, 0);
rect(1540, 160, 20, 260);
rect(1425, 280, 250, 20);
 
//rug
fill(255, 153, 153);
 
stroke(255, 153, 153);
ellipse(1000, 1250, 1000, 220);

Comments

Nobody has said anything yet.