Live data from Hacker News

Stereogram Tetris

lutanho.net

21–30 of 49 posts

Re: Stereogram Tetris

#21

I have never in my life been able to see one of these things correctly, and I've tried since about age 7 or so. One day!

I have difficulty too I find if I put my nose right up to a stereogram stare as if at an object off far away then move back very very slowly I may be able to see it.

Re: Stereogram Tetris

#23
post #18

Ha! A blast from the past. Who remembers buying those Magic Eye books? I had some friends as a kid who could not see them. And remember struggling for a week to see them myself. After finally getting it I felt like I was in an exclusive club somehow.

I never was able to see them with my naked eye. Of course, the hacker in me want to figure it out, so I spent day figuring out how to reveal the picture. The solution is to XOR the image with an itself at a variable phase shift. There is one phase shift that reveals the general shape, then increasing it shows the 3-dimensional details (you'll want to bitmask with the general shape here).

The way I assume it works is that our brains naturally filter out patterns so we can see the interesting stuff. In a stereogram, the underlying image is XOR'ed with a random pattern that is repeated, and therefore filtered out by our brain. Interestingly, the repeated pattern is not constant, so if you XOR the image against the first instance of the pattern it will look increasingly noisy as you get further into the picture.

Re: Stereogram Tetris

#25
post #18

Ha! A blast from the past. Who remembers buying those Magic Eye books? I had some friends as a kid who could not see them. And remember struggling for a week to see them myself. After finally getting it I felt like I was in an exclusive club somehow.

I never was able to see them with my naked eye. Of course, the hacker in me want to figure it out, so I spent day figuring out how to reveal the picture. The solution is to XOR the image with an itself at a variable phase shift. There is one phase shift that reveals the general shape, then increasing it shows the 3-dimensional details (you'll want to bitmask with the general shape here). The way I assume it works is…

Just tried it, that's a really neat way to reveal them.

Re: Stereogram Tetris

#26
It's definitely cool, and I hope you didn't get a migrate developing it. Downside is that having the score and other messages not part of the stereogram means you have to unfocus to see them. It would be even more awesome if the whole thing were 3D.

Re: Stereogram Tetris

#27
For those having hard time to see, I believe expecting something to see beforehand would help you see it. I weren't able to 'see' those images, but after I saw once the rest were easy.

So I'll describe what you should expect to see. The image consist of 3 equal sized columns. Left and right columns are not part of the tetris field and have the same depth with the page itself (Z=0). Middle column is the tetris field with 5 playable columns which is the deepest layer on the page (Z=-2). And the tetris pieces are on an intermediate layer between those two layers (Z=-1). You now should be able to imagine what the game will be like. Hope that helps.

Re: Stereogram Tetris

#28

I have never in my life been able to see one of these things correctly, and I've tried since about age 7 or so. One day!

The key is to relax your eyes, let them get lazy like you stayed up all night and cross them just a bit. Focus on just one spot and it should come into focus - eventually :)

Re: Stereogram Tetris

#30
If you are having trouble with this, wikipedia has some good instructions which helped me. First try autostereograms [1] (these are more simpler to see), and then simple random dot stereograms (RDS) [2], and finally magic eye static and moving stereograms.

BTW, the book which introduced RDS: "Foundations of Cyclopean Perception" by Bela Julesz is considered one of the most influential books in cognitive science. With just a computer, using no invasive microelectrodes and animal sacrifices, he proved a fantastic result...stereopsis (fusion of the individual images from each eye) occurs before object recognition!

[1] http://en.wikipedia.org/wiki/Autostereogram

[2] http://en.wikipedia.org/wiki/Random-dot_stereogram

Post reply on HN