void setup() { size(200, 200); background(255); smooth(); noStroke(); } void draw(){ for(int i = 0; i < 100; i++) if (frameCount % 5 == 0) { translate(random(100), 100); rotate(radians(frameCount * 2 % 360)); rect(0, 0, 10, 20); } fill(frameCount * 20 % 255,random(100),100); }