xxxxxxxxxx
24
let x = 0; //try not to repeat yourself
let bg = 255;
function setup() {
createCanvas(windowWidth, windowHeight);
//createCanvas(w, h);
//print("setup");//calls once
//console.log("setup");
}
function draw() {
background(bg);
bg = bg-1;
//print("draw");//call every frame
strokeWeight(x/10);
//ellipse(x,y,w,h);
ellipse(width/2,height/2,x,x);
x = x + 1;
}