size(400, 300);
void draw() {
background(0);
int x;
x = 0;
while (x < 400) {
int y = 0;
while (y <= 300) {
fill(200, mouseY - x, mouseX - y);
ellipse(x, y, 20, 20);
stroke(200, mouseY - x, mouseX - y);
line(x, y, mouseX, mouseY);
y = y + 30;
}
x = x + 30;
}
}
Почему нельзя y += 30?
И где отступы?