simple ants swarm simulation with opengl
clone the project by running
git clone git://github.com/etixsoftware/ants.gitinstall glut (OpenGL Utility Toolkit) if you use apt-get run following command
sudo apt-get install freeglut3 freeglut3-devbuild the project
cd ants && make allrun simulation with
./ants(c) config
(a) ants
(n) count
(number number of ants)
(ENTER) -> return to config
(f) food
(n) count
(number number of food)
(ENTER) -> return to config
(s) size of field
(x) width
(width)
(ENTER) -> return to config
(y) height
(height)
(ENTER) -> return to config
(p) period
(period)
(ENTER)
(w) faster -10ms
(s) slower +10ms
(e) very fast
(q) quit
(h) halt on/off
(p) play
(r) reset
(d) debug on/off