clear-patches
observer
Clears the patches by resetting all patch variables to their default initial values and making them black.
Read moreclear-turtles
observer
Removes all the turtles as well as resets the numbering of turtles.
Read morecreate-turtles
observer
Creates turtles with random colors and headings at the center of the world.
Read moreneighbors4
turtles patches
Reports an agentset containing the four neighboring patches in cardinal directions (north, west, south, east).
Read morepatch-ahead
turtles
Reports the single patch that is the given distance “ahead” of this turtle
Read morepatches-own
observer
Defines custom characteristics (variables) for patches. Each custom characteristic can have a different value for each patch.
Read morerandom-float
utilities
Reports a random number with decimal points between 0 and a specified number.
Read morerandom-normal
utilities
Reports a random number with decimal points that is picked from over a normal distribution with a specified mean and standard deviation.
Read morescale-color
utilities
Reports a shade of a base hue (color) based on where a speficied value falls is within a specified range (min-max).
Read more