Vision Cone Example
Model was written in NetLogo 5.0.4
•
Viewed 504 times
•
Downloaded 49 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
breed [ wanderers wanderer ] ;; big red turtle that moves around breed [ standers stander ] ;; little gray turtles that just stand there to setup clear-all ;; make a background of lots of randomly scattered ;; stationary gray turtles create-standers 6000 [ setxy random-xcor random-ycor set color gray ] ;; make one big red turtle that is going to move around create-wanderers 1 [ set color red set size 15 ] reset-ticks ;; make the vision cone initially visible go end to go ask standers [ set color gray ] ask wanderers [ rt random 20 lt random 20 fd 1 ;; could use IN-CONE-NOWRAP here instead of IN-CONE ask standers in-cone vision-radius vision-angle [ set color white ] ] 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 | |
---|---|---|---|---|
Vision Cone Example.png | preview | Preview for 'Vision Cone Example' | over 11 years ago, by Uri Wilensky | Download |
This model does not have any ancestors.
This model does not have any descendants.