Lab thingy Practice Post(?)

wiggle

Hi, my name is not Bob or John. It’s Isadora

sketch

function setup() {
  //create canvas
  createCanvas(600, 600);
  background(200); 
}

  //draw is executed every frame 60 times per second
function draw() {
  fill (255,255,255)
  noStroke()
  
  //if the mouse is on bottom
  if(mouseY>300){
    rect(300, 250, 55, 55);
  }
  else {
   ellipse(300, 250, 55, 55);
  }

}

Leave a Reply