ZOrderTest

No preview image

1 collaborator

Uri_dolphin3 Uri Wilensky (Author)

Tags

(This model has yet to be categorized with any tags)
Model group CCL | Visible to everyone | Changeable by group members (CCL)
Model was written in NetLogo 4.0pre5 • Viewed 117 times • Downloaded 21 times • Run 0 times
Download the 'ZOrderTest' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


VERSION

$Id: ZOrderTest.nlogo 37529 2008-01-03 20:38:02Z craig $

WHAT IS IT?

This section could give a general understanding of what the model is trying to show or explain.

HOW IT WORKS

This section could explain what rules the agents use to create the overall behavior of the model.

HOW TO USE IT

This section could explain how to use the model, including a description of each of the items in the interface tab.

THINGS TO NOTICE

This section could give some ideas of things for the user to notice while running the model.

THINGS TO TRY

This section could give some ideas of things for the user to try to do (move sliders, switches, etc.) with the model.

EXTENDING THE MODEL

This section could give some ideas of things to add or change in the procedures tab to make the model more complicated, detailed, accurate, etc.

NETLOGO FEATURES

This section could point out any especially interesting or unusual features of NetLogo that the model makes use of, particularly in the Procedures tab. It might also point out places where workarounds were needed because of missing features.

RELATED MODELS

This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest.

CREDITS AND REFERENCES

This section could contain a reference to the model's URL on the web if it has one, as well as any other necessary credits or references.

Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

; add model procedures here

breed [ gs a-gs ]
breed [ bs a-bs ]
breed [ rs a-rs ]

undirected-link-breed [ blue-links blue-link ]
undirected-link-breed [ red-links red-link ]

to setup-links
  ca
  crt 4 [ fd 5 ]
  ask turtle 1 [ create-red-link-with turtle 3 [ set thickness 0.3 set color red ] ]
  ask turtle 0 [ create-blue-link-with turtle 2 [ set thickness 0.3 set color blue ] ]
end 

to start-hubnet
  hubnet-set-client-interface "COMPUTER" []
  hubnet-reset
end 

to test
  ca
  create-bs 1 [ set color blue set size 5 fd 1]
  create-rs 1 [ set color red set size 5 fd 2]
  create-gs 1 [ set color green set size 5 fd 3]

  create-gs 1 [ set color green set size 5 fd 1 set xcor 4 ]
  create-rs 1 [ set color red set size 5 fd 2 set xcor 4 ]
  create-bs 1 [ set color blue set size 5 fd 3 set xcor 4]

  ask turtle 0 [ die ]
  create-bs 1 [ set color blue set size 5 fd 1]
end 

There are 2 versions of this model.

Uploaded by When Description Download
Uri Wilensky over 14 years ago ZOrderTest Download this version
Uri Wilensky over 14 years ago ZOrderTest Download this version

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.