Here's a simulation I did (for my Intro to Adaptive Systems course) of birds flocking together while following some simple but decentralized rules. Apart from following the simple rules of Separation, Cohesion and Alignment, I've also added some goal tending influences so that the organisms tend towards the circular object. All the code and simulation was run on Matlab using some slightly modified code from Conrad's pseudocode for boids (http://www.vergenet.net/~conrad/boids/pseudocode.html).
Sudeep Pillai
Hi! great work! what algorithm did you use?
mikkele2222 2 years ago