I Was Experimenting With Boids Algorithms And Made a Simulation of Fishes.
I had been fascinated with simulations and behavior algorithms, so I decided to built another one; besides the Solar System project. This simulation is about swarm behavior - every instance will avoid each other with certain speed and group pattern. The name of algorithm is Boids Algorithm and this behavior is seen in fishes, birds etc.
The results are not as expected, but somehow works. It defenitely needs some extra development in algorithm, but which I will do next time.
Here is the source code of this project. Also, you can read about the algorithm on It’s wiki page.