by phst · 11y ago · 0 comments
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...