You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an example which depends on the implementation of multiple turtle support (#16).
The basic idea will look reminiscent of the maze generation example. It starts with three turtles all in the center. The outer two turtles turn away from the center turtle all at once. They both move out and draw lines around the center turtle to box it in. The center turtle sees this and turns slightly back and forth in both directions to look at the other turtles.
All three turtles suddenly take off and start moving. The middle turtle can't escape the lines drawn by the outer two, but it must keep going in order to try to go faster than them and escape.
This should result in a drawing/animation similar to the maze where the two outer turtles are drawing the "walls" of the maze in real-time and the inner turtle is trying to "solve" the maze by escaping the lines that they draw. It's a short little animation that should be entertaining to watch.
The text was updated successfully, but these errors were encountered:
This is an example which depends on the implementation of multiple turtle support (#16).
The basic idea will look reminiscent of the maze generation example. It starts with three turtles all in the center. The outer two turtles turn away from the center turtle all at once. They both move out and draw lines around the center turtle to box it in. The center turtle sees this and turns slightly back and forth in both directions to look at the other turtles.
All three turtles suddenly take off and start moving. The middle turtle can't escape the lines drawn by the outer two, but it must keep going in order to try to go faster than them and escape.
This should result in a drawing/animation similar to the maze where the two outer turtles are drawing the "walls" of the maze in real-time and the inner turtle is trying to "solve" the maze by escaping the lines that they draw. It's a short little animation that should be entertaining to watch.
The text was updated successfully, but these errors were encountered: