Full threadknbknb·In the NetLogo Models Library there are quite a few similar models already, "Moths", "Ants", "Gaslab Maxwells Demon", and more variations (adaptive/nonadaptive, single/flocking etc)http://ccl.northwestern.edu/netlogo/docs/View on HN