aranders-Project01-face

portrait

function setup() {

  createCanvas(400, 400);
  background(184, 176, 245);

  fill(243, 224, 189);
  ellipse(200, 200, 165, 200);

  fill(243, 224, 189);
  rect(185, 300, 30, 35);

  fill(255);
  ellipse(165, 210, 40, 30);

  fill(255);
  ellipse(235, 210, 40, 30);

  fill(0);
  ellipse(165, 210, 30, 30);

  fill(0);
  ellipse(235, 210, 30, 30);

  noFill();
  triangle(190, 250, 200, 235, 210, 250);

  fill(241, 173, 168);
  arc(200, 265, 30, 20, 0, PI, OPEN);

  line(145, 180, 183, 175);

  line(217, 175, 255, 180);

  fill(226, 108, 108);
  strokeWeight(4);
  rect(150, 335, 100, 65);

  fill(0);
  quad(105, 145, 200, 95, 200, 125, 105, 200);

  fill(0);
  quad(200, 95, 295, 145, 295, 200, 200, 125);

  fill(0);
  rect(105, 190, 20, 100);

  fill(0);
  rect(275, 190, 20, 100);

  point (162, 243);

  }

function draw() {
}

I am pleased with my finished project even though it is not the most beautiful I have ever seen. It was a time-consuming process for me because I tend to be a perfectionist, but I am happy with it.

Anna Anderson
Section 1
aranders@andrew.cmu.edu
Project 1

Leave a Reply