Live data from Hacker News

Show HN: Something pointless I made

dn.ht

41–50 of 105 posts

Re: Show HN: Something pointless I made

#41
post #2

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…

Well, I know what I'm doing for the rest of the day.

(if it wasn't obvious, playing around with pixijs!)

Re: Show HN: Something pointless I made

#43

For everyone wondering "What's the music in the background?" It's here: https://www.youtube.com/watch?v=UsMewmMTA_c cleverly linked to via an autoplaying, hidden embedded iframe in the page.

The whole album is pretty fantastic: https://lazerhawk.bandcamp.com/album/redline

Re: Show HN: Something pointless I made

#44
post #2

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…

Great work, silly but ingenious. For some reason I find the "depth map" creepy to look at on its own.

Re: Show HN: Something pointless I made

#47
Seemed silly at first (well, still does, but in a good way). But from the comments in this thread, I realized this is actually a pretty cool demo.

Completely unrelated to WebGL, but you might want to have the music loop forever or use a long playlist. That'd be neat - I have it open in background because the music is really sweet.

Re: Show HN: Something pointless I made

#49
post #39
post #8

Earlier quoted context omitted.

I'm glad you asked! :) I created it in Adobe Illustrator using a gradient mesh: http://i.imgur.com/kuuFVO2.png Illustrator's gradient mesh tool lets you create a grid of points where you can choose a colour for each point. I overlayed the grid onto the sprite and estimated the distance at each point.

Is that something one can do with Inkscape as well ?

Nope, wonder how much it would cost to get it implemented?
Post reply on HN