// Cray FLocking 3D Birds // flock array int birdCount = 400; Bird[]birds = new Bird[birdCount]; float[]x = new float[birdCount]; float[]y = new float[birdCount]; float[]z = new float[birdCount]; float[]rx = new float[birdCount]; float[]ry = new float[birdCount]; float[]rz = new float[birdCount]; float[]spd = new float[birdCount]; float[]rot = new float[birdCount]; void setup(){ size(1200, 800, P3D); //noCursor(); //frameRate(60); background(0); stroke(240,10); //initialize arrays with random values for (int i=0; i