"Min Jun Kim"
"15-104 B"
"minjunki@andrew.cmu.edu"
"Project 1"
function setup() {
createCanvas(600, 600);
background(0,24,160)
}
function draw() {
fill(233,194,167)
strokeWeight(0);
ellipse(300,300,400,500)
fill(255,255,255)
rect(350, 250, 70, 30, 30, 50, 30, 30);
fill(255,255,255)
rect(190, 250, 70, 30, 30, 50, 30, 30);
'eyes'
fill(12,12,12)
ellipse(225,267,10,10)
fill(12,12,12)
ellipse(380,267,10,10)
fill(230,170,150)
quad(300, 380, 400, 330, 400, 330, 300, 320);
fill(12,12,12)
rect(180,220,90,10)
fill(12,12,12)
rect(340,220,90,10)
fill(244,187,172)
quad(240, 425, 280, 500, 350, 500, 400, 425);
fill(255,255,255)
rect(250,425,134,20)
'hair'
fill(12,12,12)
quad(145, 90, 275, 50, 450, 90, 300, 150);
fill(12,12,12)
quad(200, 200, 288, 36, 450, 90, 300, 150);
"ears"
fill(233,194,167)
quad(116, 200, 100, 330, 35, 210, 35, 210);
fill(233,194,167)
quad(483, 200, 500, 330, 550, 210, 550, 210);
'ears'
'earrings'
fill(12,12,12)
ellipse(95,320,10,10)
fill(255,255,255)
ellipse(500,320,10,10)
}
'earrings'
When I first started with Assignment 1, I found it fairly difficult to get the size and coordinates correct. But as I got more and more used to it the Project became easier as time went. I’ve decided to go with a more modern and pop look for my self-portrait so I’ve chosen colors that popped to the eye. I’ve also incorporated a lot of pointed shapes to add to the ‘pop’ look that I was going for. That meant a lot of usage of the quad and simple geometric shapes. I’ve also set the strokeWeight to be zero to add a more natural feel to the portrait. All in all, the project got me more comfortable with the draw function that includes shapes and colors.