Here is a simulation of a "frog" doing a (1/3,1/3,1/3) random walk around a circle of n lily pads. (If you have trouble running the applet, see these notes.)

[Oops, your browser will not display java applets.]

The applet accepts the following keyboard inputs. (You may need to "click" on the applet first.)

Applet by Jeffrey S. Rosenthal (contact me).

[See also my Applets Page / Home Page]