My app with a very similar goal (predators & prey), but C++ with OpenGL :)
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!
Just uploaded it to my bitbucket repository in case anyone is interested.
https://bitbucket.org/mlux/swarm-simulation