Click on the green flag. See Notes and Credits for more information.
Four bugs (ants) are at the corners of a square, Each ant is facing its counter-clockwise neighbor. The ants move in unision, always facing its ccw neighbor. Each ant traces its path with a differrent color. This is a classic "pursuit curve" problem that was introduced in 1957 by Martin Gardner in his column 'Mathematical Games' in Scientific American magazine. Check out my project 'Futile Chase' project that models another pursuit problem https://scratch.mit.edu/projects/3045644/ Check Wolfram Math World for a mathematical definition of "pursuit curve". Extra Note: Each ant follows an approximation (each ant moves 5 steps in a straight line) to a spiral that meets in the center of the square. The path length of each ant comes closer and closer to length of the side of the square as the step length gets shorter and shorter.