Project 1- My self portrait

miles

function setup() {
    createCanvas(200, 200);
    background(50, 50, 180)
}

function draw() {
    background(50, 50, 180);
    ellipse(100, 90, 110, 160);
    line(60, 55, 80, 50);
    line(120,50, 140, 55);
    fill(50, 50, 240);
    circle(70, 70, 13);
    fill(50, 50,240 );
    circle(130, 70, 13);
    stroke(0, 255, 255);
    point(70, 70)
    point(130, 70)
    triangle(100, 80, 90, 90, 110, 90)
    quad(90,90, 90, 100, 110, 100, 110, 90)
    line(80, 120, 120, 120)
    line(75, 110, 80, 120)
    line(120, 120, 125, 110)
    circle(45, 80, 15)
    circle(155, 80, 15)
    line(30, 100, 100, 20,)
    line(100, 20, 170, 100)
}

most difficult part was doing math to make it symetrical

Leave a Reply