sprout
[list of commands]
Parameters:
[list of commands] |
List of commands |
commands to be executed by new turtles |
Description:
Each patch creates a turtle, which then executes [list of commands].
Examples:
ask-patches [sprout [setc green fd 1]]
asks each patch to create a turtle, which sets its color to green
and moves forward 1 unit.
Related Commands:
create-turtles
create-turtles-and-do
hatch