/* Base code to draw a grid for use in PCS 6th grade - Z. Wood*/
boolean drawG;

void setup() {

  //set the screen size, variables renamed in different Processing versions
  //size(screen.width, screen.height);
  size(800, 800);

  drawG = true;

  /* change DrawG to false to turn off the grid */
  //drawG = false;
}


/*Method to draw a grid every 50th pixel */
void drawGrid() {
  //the horizontal lines - every 50th pixel draw a line
  stroke(0, 0, 128);
  for (int i=0; i < height/50; i++) {
    line(0, (i+1)*50, width, (i+1)*50);
  }

  //the vertical lines - every 50th pixel draw a line
  stroke(128, 0, 128);
  for (int i=0; i < width/50; i++) {
    line((i+1)*50, 0, (i+1)*50, height);
  }
}

void draw() {
  background(255);
  if (drawG == true) {
    drawGrid();
  }

  stroke(0);
  strokeWeight(3);

  //head
  fill(220);
  rect(100, 100, 600, 600);
  //left eye
  rect(200, 300, 100, 100);
  //FILL in right eye
  
  //FILL in pupils!
  fill(128);
 
  //mouth
  fill(255);
  rect(200, 500, 400, 100);
  line(200, 550, 600, 550); 
 
  //ADD teeth or antanae!! 
  


}