Show HN: Something pointless I made
I made this demo using http://www.pixijs.com/Something I'm really happy with is the psuedo-3d effect on the cat using a displacement map.I took the cat sprite (http://dn.ht/picklecat/mesmercat.png) and made a "depth map" (http://dn.ht/picklecat/mesmercatdisplacement.jpg) where white is closest and black is furthest. This information is used to determine how far to move the underlying pixels. It's enough to give a subtle illusion of depth.