Left click on a cell to turn it red, right click to turn it green.
You can change the number of cells in the world by clicking on the numbered buttons at the bottom of the sketch.

You can click on the move right, move left, sense red and sense green buttons.
You can also use the keyboard to execute these four buttons.
Left key = move left
right key = move right
up key = sense red
down key = sense green.

Your browser does not support the canvas tag.

Exact Motion 1D Localization

Built with Processing and Processing.js