Determining which color to use

The code that assigns colors to the turtles as they are instantiated

An index is computed as the turtle count mod the length of the array. 

File: bg.htm [Next] [Prev]