boolean debug = false; Vogel[] vogel; int vogelAnzahl = 200; // number of birds float dirAdap = 0.05; // rate for adapting direction float speedAdap = 0.03; // rate for adapting speed Feld[][] feld; int colums = 16; //grid colums int rows = 16; //grid rows void drawGrid() //draws a 2D-grid; visualises Feld!! { strokeWeight(1); stroke(60); float distX = width/ (float)colums; float distY = height/ (float)rows; for (int i=0; i