GSP Page 2
Random Walk

Setting Up

You will need a starting point and a segment that specifies the fixed step length.

Scripting

Record a iterative script that loops once for each step that the robot takes. Note that you will probably need to use the "Circle by Center + Radius" command in the Construct menu.

If you have a copy of Sketchpad on your computer, here you will find a GSP script that will help to plot the first steps of the android's walk. If you do not have a copy of Sketchpad on your system, you can download a demo copy.

Play the script for a certain number of steps. The result of playing the script to a depth of 2 (corresponding to 3 steps) might look something similar to that shown above. (You will probably want to hide the circles.)


Make observations about your script on the next page.

© 1995 Key Curriculum Press