Farsi / Persian
NetLogo Models Library:
This code example is a demo of a basic random walk. At each step, the yellow turtle changes its heading randomly.
The turtle's pen is down, so it leaves a trail behind it in the drawing.
Random Grid Walk Example: the same except that the random walk is constrained to lie on a grid