Netlogo multiple patch layer -
can create multiple patch layers in netlogo, instead of using several patch variables in 1 layer?
i'm trying integrate different maps (geology, traffic, etc.) netlogo environment. far, i've defined multiple patch variables using patches-own command. maps have not stackable. if can have separate patch layers different maps, clearer.
you can't make more patch layers. structure of netlogo patch world fixed.
but might consider representing information using turtles instead. can sprout them, 1 per patch, or define several breeds of turtle, , have each patch sprout 1 of each breed. order in breeds defined determine layers' stacking order, , can hide or show whole layers using hide-turtle
, show-turtle
. if want turtles patches, set shape "square"
(adjusting size of "square" shapes in turtle shapes editor if necessary).
Comments
Post a Comment