If you've got a 3D printer and a mirror, you can recreate this mind-bending optical illusion at home

You may recently have seen the above “Ambiguous Cylinder Illusion,” an optical puzzle by Japanese illusionist Kokichi Sugihara, in which sets of plastic squares appear circular when reflected in a mirror.

“The direct views of the objects and their mirror images generate quite different interpretations of the 3D shapes,” Sugihara has explained. “They look like vertical cylinders, but their sections appear to be rectangles, while in the other view they appear to be circles.”

Impossible, right? Well, apparently not if you’ve got a 3D printer at your disposal — as Devin Montes of YouTube channel Make Anything recently proved by reverse-engineering a solution.

“The video was created late at night on the spur of the moment, when I saw another video showing this illusion, but offering no explanation,” Montes tells Digital Trends. “I took it upon myself to figure out what was causing this mind-boggling trick, because I thought it would be super cool to 3D print my own. When I got it to work, I immediately filmed myself showing off the trick.”

The nifty solution, as Montes’ above video shows, is that the shapes Sugihara created aren’t circles or squares at all, but rather a shape in between that plays off the way our brain perceives images. “This puzzle is great because it’s simple, yet so effective,” Montes continues. “Even when you know how it works, it fools you.”

He adds that he collects similar illusions, which he has scattered throughout his house. “I thought this would be make a great addition to my mess/collection,” he notes.

Best of all, if you wish to do something similar — and see how Kokichi Sugihara’s trick is executed, you can follow Devin Montes’ instructions by downloading the printing file for his 3D printed cylinders right here.