Jennifer DeLuna- Project 01- Self Portrait

DeLuna-Portrait

//Jennifer DeLuna
//Section B
//jdeluna@andrew.cmu.edu
//Assignment 01
function setup() {
    createCanvas(600, 600);
    background(220);

}

function draw() {
  background(150, 218, 247)
  //hair
  fill(132, 45, 10);
  rect(187,190,221,275,100,50,20,20)

  //Shirt
  fill(73, 136, 237)
  rect(185,407,224,100,40)

  //neck
  strokeWeight(0)
  fill(225, 171, 137)
  ellipse(300,400,40,60);
  fill(182,93,47)
  ellipse(300,400,40,15)

  //ear
  fill(225, 171, 137)
  ellipse(250,250,20,20);

  //Face
  fill(225, 171, 137)
  strokeWeight(0);
  ellipse(width/2,height/2,200,200);

  //Hair in front of face
  fill(132, 45, 10);
  ellipseMode(40)
  ellipse(350,233,100,75);
  fill(132,45,10)
  rect(260,200,120,50,10,30,300);
  rect(220,210,50,30,100,10,100,10);
  ellipse(260,210,10,10);

  //Outer ear
  fill(225, 171, 137)
  ellipse(197,300,20,40)

  //Inner Ear
  fill(226, 144, 100)
  ellipse(197,300,12,30)

  //Earring
  fill(200)
  ellipse(195,317,10,10)

  //Eyes
  fill(226, 144, 100)
  ellipse(250,303,20,20);
  ellipse(350,303,20,20)
  fill(0)
  ellipse(250,300,20,20)
  ellipse(350,300,20,20);
  strokeWeight(2)
  fill(0)
  line(242,295,240,290)
  fill(0)
  line(358,295,360,290)

  //nose
  strokeWeight(0)
  fill(226, 144, 100)
  triangle(287,325,313,325,300,295);
  fill(182,93,47)
  triangle(300,325,313, 325, 300, 295)

  //mouth
  fill(175, 59, 43)
  ellipse(317,355,20,20)
















}

 

This was a fun project to get a better grasp on using these different shapes and bettering my understanding of this program. I enjoyed trying to simplify my facial features to shapes to create this little portrait.

 

 

Leave a Reply