Illusions are incorrect perceptions. Illusions are created when perceptual cues are distorted so that our brains cannot correctly interpret space, size, and depth cues.
Patterns are two-dimensional, and your brain treats them as three-dimensional. The way a room is shaped can dramatically change the way you perceive the room.