News for hackers. Stuff that matters.

phst

Re:Zop on Wednesday March 11, 2015 @03:12PM (#9186208)
Re:Show HN: MagicEye.js – Generate Magic Eye in Your Browser 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...