This is an example of a random walk. The rules are simple. at the beginning of each walk the dot is given a series of commands. The commands are: 1. start at (0,0), point in random direction and walk 1 step. 2. repeat the number of times needed this project loops the walk many many times, and eventually gives you the average distance from (0,0) to the dot at the end of each walk. the distance should be around the square root of the number of steps taken each walk, multiplied by the number of pixels each step. (off by around 20 or 10)
if you learned something, makes sure to love and fav, I guess (or not). read instructions for explantation.