Presentation is loading. Please wait.

Presentation is loading. Please wait.

New Mexico Computer Science For All Creating Turtles Maureen Psaila-Dombrowski.

Similar presentations


Presentation on theme: "New Mexico Computer Science For All Creating Turtles Maureen Psaila-Dombrowski."— Presentation transcript:

1 New Mexico Computer Science For All Creating Turtles Maureen Psaila-Dombrowski

2 Agents in Netlogo Observer – no specific location, looks over entire Netlogo World Turtle Agents – Mobile agents ▫Can have different shapes and names (breeds) Patches – Stationary agents ▫Netlogo World is divided into a grid work of small squares or patches Links - Agents that connect two turtles

3 Three Ways to Create Turtles Create command – Observer creates turtles create-turtles # Creates # new turtles at the origin Turtles have a random color and direction

4 Three Ways to Create Turtles Sprout Command – Patches create turtles sprout # Creates # turtles on a selected patch Turtles have a random color and direction

5 Three Ways to Create Turtles Hatch Command – Turtles create turtles hatch # Must be an existing turtle Creates # new turtles at the same location as the “parent” turtle Each new turtle inherits of all the “parent” turtle properties

6 Three Ways to Create Turtles More Information: http://ccl.northwestern.edu/netlogo/docs/dict/ create-turtles.htmlhttp://ccl.northwestern.edu/netlogo/docs/dict/ create-turtles.html http://ccl.northwestern.edu/netlogo/docs/dict/ sprout.htmlhttp://ccl.northwestern.edu/netlogo/docs/dict/ sprout.html http://ccl.northwestern.edu/netlogo/docs/dict/ hatch.htmlhttp://ccl.northwestern.edu/netlogo/docs/dict/ hatch.html


Download ppt "New Mexico Computer Science For All Creating Turtles Maureen Psaila-Dombrowski."

Similar presentations


Ads by Google