This experiment demonstrates and mimics certain intricacies of an ant colony (collective sorting/grouping specifically). Individually ants are relatively stupid however, in groups ants work together to perform large tasks, such as grouping things (i.e. food) together. Ants are able to sort objects by picking them up and placing them with other similar objects. With this information we can create a simulation to prove this proof of concept.
The goal of this simulation is to have the robots group all the randomly scattered rotating cubes into a central area while at the same time avoiding the spheres. Each robot is programmed to function exactly as an ant would: If a robot encounters a rotating cube, the robot will pick it up and will only drop the cube if the robot encounters a group of cubes.

You can restart the simulation at anytime by clicking on the Java Applet.

Generally it takes about 2-4 minutes for the robots to completely group all the cubes into a pile (usually about 100px - 200px in diameter). We can therefore conclude the validity of this simulation because the cubes do eventually get grouped!