News for hackers. Stuff that matters.
Re:Show HN: MagicEye.js – Generate Magic Eye in Your Browser by phst on Monday December 01, 2014 @02:18AM (#8679880)
I did an animated 3d plasma for js1k some time ago. It's not fast but it's animated: http://js1k.com/2013-spring/demo/1412

h key toggles the height map.

It uses a simplified version of the MagicEye.js algorithm which generates horizontally repeating patterns for hard height changes in the source image. That's why I went with a plasma in the end.

Source is available here: https://github.com/philippstucki/sird-plasma/blob/master/3dp...

Re:Show HN: MagicEye.js – Generate Magic Eye in Your Browser by jasonkostempski on Monday December 01, 2014 @08:53AM (#8680917)
Really cool! I've wanted to see a dynamic animated MagicEye in action ever since I saw an Oculus Rift demo video with side by side left/right views and was able to get a 3D effect in the middle by focusing on it like a magic eye. It was hard to do because of the distance and looked pretty ugly because the separate L/R views were still visible. I tried to make my own but quickly gave up. If snappier animation is possible, there's definitely some fun to be had in game form. Recreations of the old vector based arcade games would be really fun. I wounder if there would be any effect, bad or good, on your eyes staring at one for too long.
Re:Show HN: MagicEye.js – Generate Magic Eye in Your Browser by peeinears on Monday December 01, 2014 @02:29AM (#8679895)
Sick!