The above applet is a visual representation of a random walk. It each direction has a 25 percent chance of being taken. If there are more than 20 steps taken the yellow lines represent the last 10 percent of the walk. The red dot is the starting place. In the appropriate place you can specify the possible range of steps that you want to seen drawn.