Communication-T-P Example
1 collaborator

Tags
code example
Tagged by Reuven M. Lerner over 12 years ago
patches
(This model has yet to be categorized with any tags)
Tagged by Reuven M. Lerner over 12 years ago
Model was written in NetLogo 5.0.4
•
Viewed 885 times
•
Downloaded 127 times
•
Run 0 times

To embed this model in another Web site, use the following link:
<iframe src="http://modelingcommons.org/browse/one_model/2276?embedded=true" />
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
Comments and Questions
Click to Run Model
to setup clear-all crt 20 [ ;; color half the turtles red, ;; the other half yellow set color one-of [yellow red] setxy random-xcor random-ycor ] ask patches [ set pcolor green ;; color the patches green ] reset-ticks end to go ask turtles [ rt random 90 lt random 90 fd 1 ;; if you're a red turtle, turn your patch black if color = red [ set pcolor black ] ;; if you're a yellow turtle, turn your patch magenta if color = yellow [ set pcolor magenta ] ] 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 | |
---|---|---|---|---|
Communication-T-P Example.png | preview | Preview for 'Communication-T-P Example' | about 12 years ago, by Uri Wilensky | Download |
This model does not have any ancestors.
This model does not have any descendants.