Farsi / Persian
NetLogo Models Library:
This code example shows three ways to scatter turtles across the world. One way scatters them evenly across the world. The second way scatters them in a circle. The third puts them on the center of random patches.
With SCATTER2, the density of turtles in the center is higher than the edges.
With all three scatter methods, sometimes turtles can land on the same patch. If you want to create turtles on patch centers and restrict them to one turtle per patch, the easiest way is not to create the turtles and then move them to the patches, but directly ask the patches to create the turtles, as follows:
ask n-of 300 patches [ sprout 1 ]