xxxxxxxxxx
24
let big = true;
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
myCircle("orangered", 5, 200, 200, 100, true);
myCircle("lightblue", 5, 100, 100, 100, false);
}
function myCircle(col, weight, x, y, d, light) {
if (light === true) {
stroke(col);
} else {
stroke(200,200,0);
}
strokeWeight(weight);
noFill();
circle(x, y, d);
}