/*
* Monica Chang
* Section E
* mjchang@andrew.cmu.edu
* Assignment 1 Self-Portrait
*/
function setup() {
createCanvas(600, 600);
background(220);
//background
fill("yellow");
noStroke(0);
rect(0,0,600,600);
//hair
fill("brown")
rect(180,150,240,300)
//head + neck
fill("tan");
noStroke(0);
ellipse(300,200,200,210);
fill("tan");
rect(280,300,40,50)
//hat
fill("black");
quad(150,150,230,100,370,100,450,150);
fill("black");
rect(230,10,140,100);
//eyes
fill("black");
triangle(240,200,260,180,280,200);
fill("black");
triangle(320,200,340,180,360,200);
fill("white");
ellipse(260,200,10,10);
fill("white");
ellipse(340,200,10,10);
//nose
fill("brown");
ellipse(300,230,20,10);
//mouth
fill("pink");
stroke(10);
ellipse(300,275,40,30);
//blush
fill("orange")
noStroke(0);
ellipse(250,230,40,30);
fill("orange")
noStroke(0);
ellipse(350,230,40,30);
//shirt
fill("purple");
quad(0,600,140,350,470,350,600,600);
//vneck
fill("tan");
triangle(250,350,300,450,350,350);
}
function draw() {
}
I had fun playing around with the sizes and shapes that we were able to utilize in this project. As an artist, I also wanted to incorporate the color scheme I would always gravitate towards through the struggle of trying to calculate how the shapes would be computed. The face was what I had the most fun with as I tried to draw the famous “pikachu meme” I love very much onto my face. Also, I added a bucket hat I have been wearing recently.