Smiley 9-16-15
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
(a general understanding of what the model is trying to show or explain)
HOW IT WORKS
(what rules the agents use to create the overall behavior of the model)
HOW TO USE IT
(how to use the model, including a description of each of the items in the Interface tab)
THINGS TO NOTICE
(suggested things for the user to notice while running the model)
THINGS TO TRY
(suggested things for the user to try to do (move sliders, switches, etc.) with the model)
EXTENDING THE MODEL
(suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.)
NETLOGO FEATURES
(interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features)
RELATED MODELS
(models in the NetLogo Models Library and elsewhere which are of related interest)
CREDITS AND REFERENCES
(a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links)
Comments and Questions
to setup ;; to make setup work clear-all ;;clear everytoing when resetting ask patches [set pcolor white];;make patches white ask patches with [pxcor > 8 and pycor < -8] [ ;;ask patches in that area set pcolor blue];;set color to blue ask patches with [pxcor < -8 and pycor > 8] [;; ask patches in that area set pcolor red] ;;set color to red create-turtles 6 [ ;;make 6 turtles in the start set shape "face happy" ;;turtles are faces set color yellow ;;make turtles yellow setxy random-xcor random-ycor ;;plot them randomly among the view set size 3];; the turtles are size 3 end ;;done with that to go ;;to use go button ask turtles [ ;;ask moving objects right random 360 ;;go right randomly in every direction forward 1] ;; makes it progress ask turtles with [pcolor = blue][ ;;ask turtles that go into the blue patches hatch 1 [ ;;make 1 more turtle set color brown;;make the new one brown set size 4 ;;make it size 4 setxy -9 9] ;;where the turtles disappear at setxy 9 9 ;;where they reappear ] end ;;done with go
There is only one version of this model, created almost 10 years ago by Alfonso Villalobos.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Smiley 9-16-15.png | preview | Preview for 'Smiley 9-16-15' | almost 10 years ago, by Alfonso Villalobos | Download |
This model does not have any ancestors.
This model does not have any descendants.