scale-color color variable limit1 limit2
Turtles set their color to a shade of color based on their value of variable . limit1 and limit2 determine the amount of gradation.
Examples:
scale-color blue energy 0 20
Turtles turn one of twenty shades of blue. Turtles with lower energy turn darker blue.
scale-color blue energy 20 0
Turtles turn one of twenty shades of blue. Turtles with lower energy turn lighter blue.
Related commands:
scale-pc color
|