To view this content, you need to install Java from java.com

Braitenberg Cockroach 2

Each vehicle has a halo indicating its type.
Each type reacts differently to the source

Use keys 1-5 to create more lights
use Up arrow to generate additional robots

Source code: braitenberg_2_GOOD

Built with Processing