Necker Cube

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The Necker cube is an optical illusion showing a two-dimensional line drawing of a cube in which it is ambiguous which of the two squares represents the front and back surfaces from the perspective of the viewer. Alternatively, it is ambiguous which of the two rhombi represents the top or bottom of the cube. An observer staring at the figure will usually experience a sensory oscillation between the two viewpoints. The figure was first published in 1832 by the Swiss crystallographer Louis Albert Necker.


In this Demonstration, the cube is assumed to be made of a translucent medium. Either of the two viewpoints can be made explicit by changes in color intensity. Moving the slider to its center position shows the original ambiguous figure. To most observers, the darker color appears to be in the foreground. Also shown is a stack of cubes that exhibits analogous behavior.


Contributed by: S. M. Blinder (August 2011)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.