A simple experiment in multi-agent systems and emergent behavior. Each dot has a limited view of the world (within the red circle, the “comm range”) but does know its position in the world. User can tell dots to go to a point and they will do it, adjusting their acceleration vector via PID control. They can optionaly rotate about the point, too. User can click on a dot to select it (turns the dot green) and, if “Search and Follow” is enabled, the other dots will follow the selected dot, provided they can “see” it (ie. green dot is within their comm range).
Download the latest version, smartdots_v0.2.zip. Once unzipped, run smartdots.py with your favorite Python interpreter. Use -h option to see other available command line options. Commands (keyboard and mouse) for use during simulation are show in top bar.
- Smart Dots, Version 0.1. May 1, 2009
- Smart Dots, version 0.2 – Orbit Point, Improved PID Control. May 20, 2009