4 ms·
Oh neat, I didn't know you could do this in SVG. Very cool! Displacement maps are really useful for achieving a bunch of graphical effects like this. I used th
by dhotson 10y ago
Oh neat, I didn't know you could do this in SVG. Very cool! Displacement maps are really useful for achieving a bunch of graphical effects like this.
I used them in WebGL for a couple of different effects in this demo: http://dn.ht/picklecat/ http://dn.ht/picklecat/
It uses a noise texture to do the background warping: http://dn.ht/picklecat/clouds.jpg http://dn.ht/picklecat/clouds.jpg
It also uses this image http://dn.ht/picklecat/mesmercatdisplacement.jpg http://dn.ht/picklecat/mesmercatdisplacement.jpg
as a displacement map for http://dn.ht/picklecat/mesmercat.png http://dn.ht/picklecat/mesmercat.png
to achieve the fake 3d effect on the cat.
- malkia 10y agoWow! That's awesome! Thanks for sharing...