2D Eye simulation

I wanted to make digital creatures that I could use for AI experiments. The first thing I did was create a simulation of an eye. The idea was to hook it up to a neural network and get it to solve problems like tracking or depth perception (using two eyes). The bottom of the screen shows the retina for the eye. There are more cells near the center of the eye. Each cell would be an input to a neural network. The checkboxes would be hooked up to outputs of a neural network to control the eye. I never did hook up a neural network. I wanted to evolve the structure for the network. Critters is the result of that trial. I have mostly abandoned that approach though after reading an article by David Fogel about evolving neural networks to play checkers.

Source Code