Project 1: Sukonrat Self Portrait


function setup() {
    createCanvas(700, 700);
    background(212, 246, 232);
}

function draw() {
    fill(246, 212, 226)     
    stroke(246, 212, 226)
    triangle(400,160,585,123,573,582)    // pastel pink
    fill(246, 212, 226)
    stroke(246, 212, 226)
    triangle(205,383,290,383,250,552)    // pastel pink
    fill(224, 213, 246)
    stroke(224, 213, 246)
    triangle(391,356,200,700,500,700)       // pastel purple
    fill(246, 232, 212)     
    stroke(246, 232, 212)
    ellipse(391,356,342,407)     // pastel orange
    fill(246, 212, 226)
    stroke(246, 212, 226)
    triangle(253,123,500,100,185,423)    // pastel pink
    fill(232, 212, 246)     
    stroke(232, 212, 255)
    ellipse(301,336,42,107)     // pastel purple
    fill(209, 170, 237)     
    stroke(209, 170, 237)
    ellipse(321,346,22,57)     // pastel purple
    fill(232, 212, 246)     
    stroke(232, 212, 255)
    ellipse(481,356,52,147)     // pastel purple
    fill(209, 170, 237)   
    stroke(209, 170, 237)
    ellipse(491,376,22,67)     // pastel purple
    fill(213, 227, 246)
    stroke(213, 227, 246)
    ellipse(390,451,32,71)       // pastel blue
    fill(246, 232, 212)     
    stroke(246, 232, 212)
    ellipse(390,411,32,71)       // pastel blue

}

.

I found finding coordinates for many sided shapes or ellipses and figuring out where everything should go more difficult than I thought.

Leave a Reply