Posted on

Table of Contents

Introduction

Today, I was exploring Michael Bach's comments about some illusions and I stumbled upon an illusion called "Dotted Line Motion Illusion" that I hadn't known before. I wanted to read more about it because the effect didn't seem to work well for me. Both Bach and the original article used a rectangular checkerboard design for the illusion. I tried to reproduce the code in ShaderToy and noticed that the scale of the rectangles and the background color significantly affect the strength of the illusion, at least from my perception.

Plain Version

First, investigate the illusion below. Click the play button, track the red disc as it moves, and notice how the checkered lines seem to shift. It works best on a big screen.

After finishing the coding, I pondered whether "The reason is that the black/white contrast signals between adjacent dots along the length of the line are stronger than black/grey or white/grey contrast signals across the line, and the motion is computed as a vector sum of local contrast-weighted motion signals." could be an explanation, and then, could Gabor patches be more effective here?

Gabor Version

Here's what I did. Now, try this and see which one appears stronger. Interestingly, even on a smaller screen, this version works much better for me and it's really functioning very nicely.

Exploring Reverse Effects

Even more interestingly, I discovered a reverse effect when I animated the phase offset. Follow the red dot again, and you'll notice that the phase movement stops at some point.

Reference Paper

For more detailed information on the scientific background of these visual phenomena, refer to the following paper:

Ito, H., Anstis, S., & Cavanagh, P. (2009). Illusory Movement of Dotted Lines. Perception, 38(9), 1405-1409. https://doi.org/10.1068/p6383