xxxxxxxxxx
17
function setup() {
createCanvas(800, 300);
background(1, 75, 100);
}
function draw() {
// declaration of variables
let x = mouseX;
let y = mouseY;
let size = 15;
// circle
fill(237, 34, 93, 100);
noStroke();
ellipse(x, y, size, size);
}
//how is code different from the previous exercise?