// Purple Birds float x, y, w, h; int n; void setup() { // setup // size( 600,400); reset(); } void reset() { // reset n= int ( random(3,10) ); x= random(width/2); y= random(height/2); w= random(10,70); h= w/3; } void draw() { // next frame // background( 135,206,250); fill( 127,0,255); flock( n, x,y, w,h ); x += random(20); y= y +10 - random(20); //BAM{ if (x>width) reset(); text( "Vassallo", 20, height-20 ); //}BAM } void flock( int n, float x, float y, float w, float h ) { // draw a flock of n birds // // Draw first bird // float xx= x; float hh= h * 3; // higher (or lower) float ww= w; // width gets smaller. bird( xx,y,w,h ); // Now draw pairs, behind this pair. xx= xx - 2*w; // Next pair behind this pair for (int j=1; j