top of page
Search

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

 
 
 

Recent Posts

See All
My Final Project :)

https://editor.p5js.org/gigimarie13579/full/OqHyrhuf3 var x = []; var y = []; var cSize = []; var cSpeed= []; var rColor= []; var score=...

 
 
 
Homework assignment 13

https://www.wired.com/2014/11/algorithms-great-can-also-ruin-lives/ Who is harmed by this algorithm, and how shall we define that harm?...

 
 
 

Comments


Follow

©2019 by GC&A. Proudly created with Wix.com

bottom of page