Processing Codeschnipsel: Silly Balls
void setup(){ size(400, 300); frameRate(20); background(255); noStroke(); } void draw(){ float xPos = random(width); float yPos = random(height); float groesse = random(10, 50); float rot = random(255); float gruen = random(255); float blau = random(255); float alpha = random(255); fill(rot, gruen, blau, alpha); ellipse(xPos, yPos, groesse, groesse); }