This is a necker cube illusion. This program was originally written in processing. The program shown here is written in javascript using the p5js library. The original processing code can be downloaded by clicking the link below.
Necker Cube
This is a necker cube illusion. This program was originally written in processing. The program shown here is written in javascript using the p5js library. The original processing code can be downloaded by clicking the link below.
• Click and Drag: Move stars
• Arrow Keys: Move cube
• Space Bar: Reset cube position
• Click canvas if keys not working