Life is all a matter of perspective .... This demo employs a 3D interface to provide a hint to Sugihara's Ambiguous Cylinder Illusion which was the finalist of the Best Illusion of the Year Contest 2016. 1 key rotates the object to a cylindrical display 2 key rotates the object to a cubical display Up/Down Right/Left arrows and a/z keys rotate the object along the x,y,z axis.
This demo is inspired by Dave Richeson's wonderful article shedding light to the amazing Sugihara illusion. Sugihara Video: https://youtu.be/oWfFco7K9v8 Richeson Article: https://divisbyzero.com/2016/07/05/sugiharas-circlesquare-optical-illusion/ The 3D interface is a based on a projection algorithm I developed some years ago to make Geometer's Sketchpad display 3D curves. I learned a tremendous amount from @Mr_Pyro_ 3D Wireframe Engine project about optimizing rendering and keyboard effects. Much much thanks.