
This is a well-known optical illusion. Look at the animation at the top,
it looks as if the pink square grows and shrinks in size. The fact is that
it doesn't. This can be seen by looking at the second animation. The two
animations are identical in all respects (size, speed, etc) except that
the second one has transparent blue squares so that the whole pink square
is always in sight.