xxxxxxxxxx
15
function setup() {
createCanvas(100, 100);
background('darkblue');
stroke('ivory');
strokeWeight(3);
}
function draw() {
const x = random(width);
const y = random(height);
if (dist(x, y, width / 2, height / 2) < width * 0.45) {
point(x, y);
}
}