Idea: On a field of cells, that can be black or white, an "Ant" moves using very simple rules.
Whenever the "Ant" enters a white cell, it will make the cell black and turn left to the next cell.
Whenever the "Ant" enters a black cell, it will make the cell white and turn right to the next cell.
While the "Ant" seems to be moving randomly, it actually makes an interesting pattern, which suddenly changes after about 10.000 steps.
You can set various parameters before making the ant move. Then you can start and stop the ant.
For further programming experiments with this principle go to more ants
visitors have visited my site, since November 2001 as counted by