// Yennifer Tejada // Flock of birds String title = " Flock of birds"; String author = " Yennifer Tejada"; // declare the variables float x; float y; float w; float h; int n; // random RGB float r; float g; float b; void setup() { size(600,500); r= random(255); g= random(255); b= random(255); reset(); } void reset() { n = int (random(3,10)); x = random(width/2); y = random(height/2); w = random(10,70); h = w/2; } void draw() { background(r,g,b); fill(35,80,250); flock(n,x,y,w,h); x += random(20); y = y + 10 - random(20); fill(0); text(title, width/2,30); text (author, 20, height -20); } // draw the flock of birds void flock(int n, float x,float y,float w,float h) { float xx = x; float hh = h * 3; float ww = w; bird(xx,y,w,h); xx = xx - 2*w; for (int j=1; j