xxxxxxxxxx
23
function setup() {
createCanvas(1000, 1000);
background(0);
angleMode(RADIANS);
let d = width * 0.5;
let r = d * 0.5;
stroke(220);
for (let _ = 0; _ < 10000; _++) {
let t = random(0,TWO_PI);
let _r = random(0,r);
let x = d + _r * cos(t);
let y = d + _r * sin(t);
point(x, y);
}
}
function draw() {
// background(220);
noLoop();
}