ABM showing behavior when people align with others
Model was written in NetLogo 6.2.2
•
Viewed 362 times
•
Downloaded 14 times
•
Run 0 times
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 setworld maketurtles end to setworld ca ask patches [ set pcolor white ] end to maketurtles create-turtles num [ setxy random-pxcor random-pycor set shape "bug" ] end to go ask turtles [ rt random 30 lt random 30 fd speed let temp turtles in-radius 3 if any? temp [ let r random 100 if r < align [ ifelse not heading-or-facing? [ face one-of temp ] [ let h [heading] of one-of temp set heading h ] ] ] ] ;ask turtles in-radius 3 ;[ ; face self ;] end
There is only one version of this model, created over 2 years ago by Muaz Niazi.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
ABM showing behavior when people align with others.png | preview | Preview for 'ABM showing behavior when people align with others' | over 2 years ago, by Muaz Niazi | Download |
This model does not have any ancestors.
This model does not have any descendants.