p5js Face
- gcafaro6
- Oct 22, 2019
- 1 min read
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
fill('blue')
rect(100,50,55,77);
rect(250,50,55,77);
fill('pink');
circle(205, 150, 50 ,50);
circle(230,220,150,70);
fill('red');
rect(100, 200, 210, 15);
fill('lightgrey')
noStroke();
rect(154,130,150,70);
fill('red');
circle(205, 150, 50 ,50);

I sadly missed last class due to am emergency at home, I came in a hour early and my classmate reviewed the coding with me. I understand it complete. It looked hard at first till I matched up the numbers, learned how to end it, how to stoke it, and how to created different colors and shapes. I crated a tongue out face, hope you like. :p
Comments