This experiment uses roughly the same node- and bond-generating script as the 'Structure' experiment, but with the added effect of each node acting as a 'stem cell' of sorts that changes its 'function' based on how many other nodes it is bonded to. Nodes with a single bond become 'sensory' nodes (green), two bonds yields a 'muscle' node (red), and three bonds results in a 'control' node.
The simulation begins with a fairly densely-bonded collection of random nodes. After a few moments, press C to sever long-distance bonds and observe how the nodes 'settle in' to their functionalities.
If a sensory node is connected to a control node, which is then connected to a muscle node, the muscle node will propel itself in the direction of the bond if the sensory node detects a nearby food source (capsule-shaped pellets in the environment.) While rudimentary, this relationship yields interesting behaviors, ranging from attraction towards food, repulsion from food, and orbiting of food.
We plan to expand this very basic functionality into a more nuanced exploration of how these node interrelations can produce dynamic and 'intelligent' behaviors.