Random Grid Walk Example
Model was written in NetLogo 5.0.4
•
Viewed 337 times
•
Downloaded 58 times
•
Run 1 time
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
Comments and Questions
Please start the discussion about this model!
(You'll first need to log in.)
Click to Run Model
to setup clear-all crt 1 ;; create one turtle [ set color orange set size 3 ;; make it easier to see face one-of neighbors4 ;; face N, E, S, or W pen-down ;; have it draw its path ] reset-ticks end to walk1 ask turtles [ face one-of neighbors4 ;; face N, E, S, or W forward 1 ;; advance one step ] tick end to walk2 ask turtles [ rt one-of [-90 0 90] ;; go left, straight, or right forward 1 ;; advance one step ] tick end ; Public Domain: ; To the extent possible under law, Uri Wilensky has waived all ; copyright and related or neighboring rights to this model.
There are 10 versions of this model.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Random Grid Walk Example.png | preview | Preview for 'Random Grid Walk Example' | over 11 years ago, by Uri Wilensky | Download |
This model does not have any ancestors.
This model does not have any descendants.