Optical Illusions in Software

In today’s guest lecture in AP Computer Science by UW CS student Tyler Rigsby, he showed an example of an optical illusion.

The illusion is one in which the eye perceives straight lines arranged in a certain pattern as a curve. It is illustrated at left.

Notice that there are NO curved lines in this image, only straight ones.

The Java code that generated this image (and others) can be viewed at this link: Illusions.java.


Comments are closed.