Check out this Java Applet
Slime Mold Simulation and the
StarLogo Simulations of Self-Organized Phenomena. Also, take a look at this
"exploring emergent behaviours" interactive essay. The site also includes a great set of
links to other Artificial Intelligence sources.