Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users.
I hope this community becomes more active, I love illusions.
If you want to understand better how -- pause it when the cubes are rotating. The white/black edge lines actually have to gradient across the line so that one half of the cube moves one way and the other half moves the other. You can work out which way 'turns' what and how they're placed. I'm sure a cube was the easiest, but you should theoretically be able to do this with any shape.
Maybe it's not working for you, but it works on my phone... The lines of which the cubes are drawn are white/black. By changing the amount of each on a side, (WHITEblack whiteBLACK BlackwhiTE blackWHITE etc) in quick succession, one edge of the cube can look like it's approaching or receding. It's based on the way shadows would behave for a real cube, and your brain processes it as such. (The ones I made up aren't in any order, whereas the ones in the gif are carefully synchronized)