3 ms·
I once programmed a swarm simulation as a project for a course I attended. You can set various parameters of the swarm and introduce a predator which can try to
by mlu 14y ago
I once programmed a swarm simulation as a project for a course I attended. You can set various parameters of the swarm and introduce a predator which can try to eat inidividuals of the swarm. You then can set a bunch of escape strategies. This was pretty much fun when I wrote it.
Just uploaded it to my bitbucket repository in case anyone is interested.
https://bitbucket.org/mlux/swarm-simulation https://bitbucket.org/mlux/swarm-simulation
- Radim 14y agoMy app with a very similar goal (predators & prey), but C++ with OpenGL :) https://github.com/piskvorky/PredatorPrey https://github.com/piskvorky/PredatorPrey I remember decoupling the simulation speed from graphics rendering speed (aka frame rate) and AI thinking speed was a lot of fun!