NetLogo banner

Home
Download
Help
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary (BIND)
NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo User Community Models

(back to the NetLogo User Community Models)

[screen shot]

Download
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".(The run link is disabled for this model because it was made in a version prior to NetLogo 6.0, which NetLogo Web requires.)

WHAT IS IT?

This is the following model of "Good morning turtles". Now each turtle can have its own values for close,far,and color. see "Good morning turles"
Each turtle is facing a single turlte. Each turle moves toward the turtle it is facing until it reachs a distance define by its "close" value, then it changes its mind and escapes in the opposite direction until the distance is equal to its "far" value. Then back again to try to reach the targeted turtle.

HOW TO USE IT

Each turle has its values defined by two sliders, "close", "far", and one chooser for its color.All those values can be changed when running the simulation.

The initial position of the turle is set by a chooser "Start-from".It may be random....

There is also a "go once" button which when hit, changes the mind of all turtles...

Of course you can simulate the previous model by just setting the "same" switch On

The "background" slider allows you to change the background color when running. The "change background" allow the same thing but when go button is off.
And the "Copy View " does exactly what its name suggests...

THINGS TO TRY

...Set "same" swith On.

...Set the sliders : number of turtles to 5, facing slider to 1, close-all to 0.5, far-all to 30 then run the model.... watch what happens....You can change while running the model the sliders close-all and far-all to see what happens...

... set the sliders : number to 7, increment to 1 and change when running close value to 0.5 or less and then back again to 1 or more ....some settings seems very unstable

... set the sliders : number to 7, increment to 3 and change when running close and far sliders ....some settings seems very stable

Play with different settings , modifying close and far values to get different drawings....

... set close value to 0.5 or less, wait a few seconds and move it back over 0.5, if it doesn't seems chaotic, move back to 0.5 or less ...until the path seems unpredictable then just watch ...you can also change far value.

In fact I don't know why this is happening .....

...Set "same" swith off and play with the different settings to get nice drawings

CREDITS AND REFERENCES

The idea of this model is comming from a math Puzzle you can find at://plus.maths.org/issue2/puzzle/beetles.html
You can have the mathematical solution of the original puzzle in this very very interesting site: http://plus.maths.org

this model is related to Good morning turtles
author: Michel Viacroze (michel.viacroze@holcim.com)

(back to the NetLogo User Community Models)