A basic implementation of a (constrained) random walk in four directions, using a variable distance of 5 or 10 pixels.
Click the applet to start a new random walk.