I recently came across this awesome optical illusion, first described by Stuart Anstis. Two bars, one red and one blue, move horizontally across the display. If a specific type of background texture is present, the two rectangles appear to move in anti-phase: When the red rectangle moves quickly, the blue one grinds to a halt, and vice versa. This is illusionary, of course, and the effect is gone when the background texture is removed.
The two rectangles resemble a pair of stepping (or shuffling) feet, hence the name: the stepping feet illusion. (The effect is strongest for some people if you don't look directly at the rectangles.)
The explanation for this illusion appears to be fairly straightforward (but see [1]). And, as any good illusion, it provides some insight into how our visual system works.
The crux is that the illusion will not work with just any pair of colours: There must be a luminance difference. Put differently, one stimulus must be bright (the blue rectangle in this case) and the other must be dark (the red one). In addition, there must be a comparable luminance difference in the background, which is achieved here through a pattern of alternating light and dark bands.
Now, let's say that the front and hind edges of the stimuli are on a dark band, as in a) in the figure below. In this situation, there is little contrast between the side edges of the red stimulus and the background (both are dark). Because of …