HNHacker News
TopNewBestAskShowJobs

phst

5 karma · joined June 26, 2014

submissionscomments
phst··on Zop
There is one in 1k here: http://js1k.com/2015-hypetrain/demo/2130
phst··on Show HN: MagicEye.js – Generate Magic Eye in Your Browser
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...