xxxxxxxxxx
45
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
fill(255)
strokeWeight(1)
stroke(0)
ellipse(100,100,100)
fill(255)
strokeWeight(1)
stroke(0)
ellipse(100,300,100)
fill(255)
strokeWeight(1)
stroke(0)
ellipse(300,100,100)
fill(255)
strokeWeight(1)
stroke(0)
ellipse(300,300,100)
//CODE ALONG: Make the top left ellipse change color with a key press!
//YOUR TASK:
//1. Make the bottom left ellipse change size with a key press
//2. Make the top right ellipse change strokeWeight with a key press
//3. Make the bottom right ellipse change stroke color on a keypress
}