Project 01- Self Portrait

sketch
function setup() {
    createCanvas(400, 500);
    background(197,180,198);
    
}

function draw() {
    fill(223,225,229); //grey
    stroke(223,225,229); // grey
	rect(20,360,300,140); // grey top

    fill(247,219,184); // cream skin
    stroke(247,219,184);
    triangle(20,360,200,200,250,360); // neck
    fill(247,219,184); // cream skin
    stroke(247,219,184);
    rect(200,280,85,80); // neck 
   
    fill(232,198,156); // head color
    ellipse(185,200,150,200); // head
    fill(0);
    stroke(0);
    quad(100,180,20,360,140,360,120,180); // hair
    triangle(20,360,60,450,140,360); // hair
    quad(180,90,70,150,60,330,180,90); // hair
    point(180,90);
    point(70,200);
    triangle(30,200,50,350,90,170);
    triangle(180,90,275,160,250,300);
    quad(260,150,330,350,260,400,240,200);
    quad(130,89,70,200,245,140,215,89); 
    triangle(330,250,310,330,250,170);

    line(90,250,180,330); //necklace
    line(180,330,230,280); //necklace
    fill(250); //necklace
    stroke(250);
    circle(180,330,12); //necklace

    fill(215,117,148);
    stroke(215,117,148);
    ellipse(180,260,50,30); //smile

    fill(232,198,156);
    stroke(232,198,156);
    rect(140,220,75,40); // cut half smile ellipse

    fill(0);
    stroke(0);
    triangle(50,250,20,280,40,370); //more hair

    circle(150,230,12); //black eye
    circle(208,230,12); // black eye

    fill(250);
    circle(153,230,5); // eye highlight 
    circle(210,230,5); // eye highlight
}

Leave a Reply