Project 1: My Self Portrait

sketch
function setup() {
    createCanvas(400,600);
    background(255);
}

function draw() {
    fill(166,196,255);
    rect(0,0,399,599);
    fill(255,238,189);
    rect(235,280,35,300);
    ellipse(250,280,200,270);
    fill(255,255,255);
    circle(200,220,50);
    circle(300,250,80);
    fill(0,0,0);
    circle(190,220,15);
    circle(280,250,15);
    fill(247,126,148);
    arc(250, 280, 80, 80, 0, PI + QUARTER_PI, CHORD);
    fill(0,0,0);
    triangle(160,140,180,190,250,145);
    triangle(200,150,220,100,275,155);
    triangle(250,150,280,120,300,165);
    triangle(290,160,310,140,330,200);
    fill(0,0,0);
    rect(225,500,80,199);
    noLoop();
    

}

Leave a Reply