xxxxxxxxxx
19
let schrittweiteX, schrittweiteY;
function setup() {
createCanvas(400, 400);
background(255, 105, 180);
stroke(138, 43, 226);
strokeWeight(3);
fill(255, 255, 0, 150);
schrittweiteX = 50;
schrittweiteY = 50;
for (let y = 0; y <= height; y = y + schrittweiteY) {
for (let x = 0; x <= width; x = x + schrittweiteX) {
ellipse(x, y, 25);
}
}
}