The bugs puzzle

Imagine a square of 10cm by 10cm with a bug on each corner.

Now imagine these bugs starting to follow each other. Bug A follows bug B,

bug B follows bug C, and bug C follows bug A. Easy you say, they will start walking

in a spiral that goes to the centre of the square. The question is, what is the distance

that a bug will travel until they meet at the centre.

See the image below of the start of their following each other.

 

The answer to this puzzle is that each bug will travel 10cm. The drawing I did does not demonstrate clearly that

a square will be formed if you take the bugs current position as the corners of this square, but that

is in essence what will happen. So a shrinking rotating square will be form. This square will shrink to nothingness

at the centre of the big square. So in essence the bugs will each travel the length of one side.

Download my little program below that demonstrates this.