//Philip Paniccia //Flock float x, y, w, h; int n; // # pairs in flock void setup(){ // setup // size(500,500); reset(); } void reset() { x= 100; y= random( 0, height/2 ); w=60; h=20; n= int( random(3,10) ); fill( random(255), random(255), random(255) ); } void draw(){ background(0,0,200); x= x+2; if(x>width*2) { reset(); } //-- fill(255); bird( x,y,w,h); flock(n,x,y,w,h); } void flock( int n, float x, float y, float w, float h){ text( n, 10,10 ); float updown=0; for (int j=0; j