Key | Action |
---|---|
'+' or '=' | Speed up the applet. |
'-' | Slow down. |
Ctrl+Shift+'R' | Restart |
spacebar | pause |
i | step (subiterate) |
z | z |
x | x |
The program will drop a grain of sand at the center cell in the n X n grid. Initially all the cells are pointed in the left direction. Everytime a grain of sand touches a cell the arrow the cell is pointing rotates clockwise. Grains of sand are routed via the direction of the cell arrow. Note that the arrow changes direction first then a grain of sand is routed. The arrow on a cell represents the direction that the last grain went when it left the cell. A grain of sand moves until it finds a empty cell.
What do the colors mean:
If a cell is empty is has the color white.
If a cell is occupied and the arrow is pointing left, it has the color yellow.
If a cell is occupied and the arrow is pointing down, it has the color green.
If a cell is occupied and the arrow is pointing right, it has the color blueish.
If a cell is occupied and the arrow is pointing up, it has the color red.
Colors are updated after a grain of sand has moved into an unoccupied cell.
RotorRouter is Copyright (C) 2003 Hal Canary, University of Wisconsin-Madison.
This work was supported by a the University of Wisconsin.
RotorRouter comes with ABSOLUTELY NO WARRANTY. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.