Project 1: My Self Portrait

sketch
function setup() {
    createCanvas(500, 600);
    background(204);
    
}

function draw() {
   

    fill(0, 0, 0);
    stroke(0, 0, 0);
    ellipse((width/2), (height/2.5), 167, 167);

    fill(0, 0, 0);
    stroke(0, 0, 0);
    rect((width/2.9), (height/2.5), 150, 140);

    fill(215, 180, 146);
    stroke(215, 180, 146);
    ellipse((width/2), (height/2.5), 120, 140);

    fill(215, 180, 146);
    stroke(215, 180, 146);
    rect((width/2.2), (height/2), 40, 50);

    fill(208, 157, 107);
    triangle((width/2), (height/2.6), (width/2)+20, (height/2.6)+20, (width/2)-20, (height/2.6)+20);

    fill(80, 43, 7);
    circle((width/2)+20, (height/2.6)-20, 20);

    fill(80, 43, 7);
    circle((width/2)-20, (height/2.6)-20, 20);
    
    fill(195, 43, 79);
    arc((width/2) - 5, (height/2.6)+40, 40, 25, 50, PI + QUARTER_PI);

    fill(127, 0, 255);
    quad(217, 345, 275, 345, 330, 440, 150, 440);

    noFill();
    bezier(217, 345, 275, 345, 150, 440, 200, 440);
    bezier(227, 345, 295, 345, 170, 440, 210, 440);
    bezier(240, 345, 310, 345, 190, 440, 230, 440);
    bezier(255, 345, 325, 345, 205, 440, 245, 440);

    stroke(0, 0, 0);
    line((width/2)-35, (height/2.6)-35, (width/2)-10, (height/2.6)-35,);
    line((width/2) + 35, (height/2.6)-35, (width/2)+ 10, (height/2.6)-35,);
    

//bezier(85, 20, 10, 10, 90, 90, 15, 80);
// arc(50, 55, 60, 60, HALF_PI, PI);

    noloop();

}

Leave a Reply