void setup() { size(255, 255); background(255); rectMode(CENTER); } void draw() { float x = random(width); float y = random(height); float s = random(20, 50); // Variable y wird zur Farbbestimmung ... fill(y, 255, 0, 200); // und zur Positionierung verwendet rect(x, y, s, s); }