Table of Contents
| 1. Creating the world |
| 2. Buttons and Procedures |
| 4. Sliders and Variables |
| 5. Creating Turtles and Patches |
| 6. Making the Model Go |
Before creating a model, we need to configure the world, or environment. We do this by specifying how large we would like the world to be (how many patches) and by specifying how the coordinate system works.
The first thing we need to do is to set the size of the environment that we want to use.
You should see a window that allows you to configure the model world.
min-pxcor) to zero.max-pxcor and max-pycor)
to 20. This will give us a 20x20 cell grid.That's all you need to do to prepare the environment. Check that you understand the questions below, and then move on to part 2 to create a button.
If you're not sure about any of the questions below, have a look at the NetLogo interface guide, particularly the section on views.