Self Portrait

sketch
function setup() {
    createCanvas(300, 300);
    background(200, 213, 185);
}

function draw() {
    noStroke()
    fill(0);
    rect(75, 55, 150, 220); // hair
    fill(200, 213, 185);
    triangle(130, 30, 25, 150, 1, 1); // define hair background
    triangle(170, 30, 275, 150, 299, 1); 

    fill(200, 162, 200);
    ellipse(150, 320, 200, 160); // shirt

    fill(198, 136, 99); // face base
    ellipse(150, 150, 125, 165);
    ellipse(150, 180, 120, 100);
    rect(130, 200, 40, 50);

    fill(0);
    triangle(180, 60, 80, 130, 90, 80); // define hair bangs
    triangle(120, 60, 220, 130, 210, 80); 

    fill(250, 243,221); // eyes white
    noStroke();
    ellipse(120, 155, 30, 20);
    ellipse(180, 155, 30,20);

    fill(0); // eyeballs
    ellipse(120, 155, 17, 17);
    ellipse(180, 155, 17, 17);

    rect(100, 130, 35, 10); // eyebrows
    rect(160, 130, 35, 10);

    fill(198, 136, 99); // eye smile skin color
    rect(100, 158, 45, 20);
    rect(160, 158, 45,20);

    fill(250, 243,221); // smile
    noStroke();
    ellipse(150, 195, 50, 25);
    fill(198, 136, 99); // smile skin color
    rect(100, 172, 80, 20);

    stroke(0); // glasses
    strokeWeight(2);
    noFill();
    arc(120, 155, 50, 50, 50, 50);
    arc(180, 155, 50, 50, 50, 50);
    }


    //stroke(173,93,93);
    //strokeWeight(4);
    //noFill();
    //arc(150, 195, 50, 50, 50, 40);

    //strokeWeight(3);
    //arc(120, 135, 30, 50, 10, QUARTER_PI);
    //arc(180, 135, 30, 50, 10, QUARTER_PI);

      //  fill(250, 243,221); // eyes
 //   ellipse(120, 142, 30, 20);
  //  ellipse(180, 142, 30,20);
  //  fill(198, 136, 99); // eye smile skin color

    //fill(198, 136, 99); // eye smile skin color
    //ellipse(120, 165, 45, 20);
    //ellipse(180, 165, 45,20);

Leave a Reply