The video below shows large columns, made up of small line-segments. The columns appear to swing from side to side, like tilted towers. In reality, of course, the columns and line-segments are perfectly vertical. The perceived tilt is illusory.
So what's going on here?
This illusion is a nice demonstration of Gestalt theory, a German a school thought that was developed in the early 20th century by Kurt Koffka, Wolfgang Köhler, and Max Wertheimer. Theories in psychology tend to become outdated rather quickly, but Gestalt theory is a notable exception. It is as relevant today as it was a century ago.
In German, Gestalt means 'shape', but in this context it refers to something that is greater than the sum of its parts, or a 'unified whole'. Which, according to the Gestalt psychologists, is a good characterization of perception. If we see a chair, for example, we don't consider the parts of the chair separately, one at a time. ("I see a leg, uhm, another leg... and something that could be a seat.") We simply see a chair. We can see that a chair has legs, of course, but the perception of the chair as a whole comes first. In other words, we automatically group objects together into a single, coherent percept.
This tilt illusion is the result of perceptual grouping. More specifically, in this case we group those line-segments together that are adjacent (law of proximity) and have the same colour (law of similarity). You can see an illustration …