BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description: Set the initial size of the world where the model runs. End description
World size
Begin NetLogo code:
substitute-text-area-for minimum-world-x -10 substitute-text-area-for maximum-world-x 10 substitute-text-area-for minimum-world-y -10 substitute-text-area-for maximum-world-y 10 set-world-size minimum-world-x maximum-world-x minimum-world-y maximum-world-y
End NetLogo code
The text areas should contain four numbers: minimum x, maximum x, minimum y, and maximum y. For example to create a 100x100 grid with positive and negative coordinates the numbers could be -49, 50, -49, 50.
Due to current limitations of NetLogo this specifies only the initial size of the world and cannot be used to change the world dimensions during execution.
World size 3D is the three-dimensional version of this.
World size was implemented by Ken Kahn.
BehaviourComposer: ignore everything after this.