Saturday, August 28, 2021

Bell Ringer 1

function setup() {
  createCanvas(400, 400);
  background(220);
}

function draw() {
  noStroke();
}

function mouseDragged() {
  if (true) {
    r = random(255);
    g = random(255);
    b = random(255);
    fill(r, g, b, 70);px
    ellipse(mouseX, mouseY, random(30), random(60));
  } else {
    noFill();
  }
}