Live data from Hacker News

Show HN: Something pointless I made

dn.ht

71–80 of 105 posts

Re: Show HN: Something pointless I made

#73

Earlier quoted context omitted.

My, where history's path takes us. I'm not really sure how to describe this feeling; a clever hacker put a boggled cat and pickles on a star field and it's clearly missing lasers. Like, I get there's a source GIF that inspired it, and lazoring pickles with a cat has that sort of pseudo randomness like 'purple monkey dishwasher'. But I still think it's strange that it stands out as an omission over, say, talking wrenc…

I think you're on to something here. I hadn't seen the cat/laser/cucumber gif prior to reading this thread (after visiting the demo), and after I noticed the cat following my mouse I tried clicking pickles with the expectation that they would be attacked by laser vision. It's odd that I can say straight-faced "of course you would expect lasers to shoot from that cat's eyes and destroy the pickle," but that I can't de…

I was going to leave a comment like "why isn't it shooting lasers at the pickles", but then I did a search in the page and found this comment thread. So... yeah. Our brains are all warped in the same way.

Re: Show HN: Something pointless I made

#76
post #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!)

I'll spend my day looking at pickles, thank you very much.

Re: Show HN: Something pointless I made

#77
post #8

Earlier quoted context omitted.

Would love to hear more about how you generated the depth map - that's super cool.

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.

You mean each point?That's really tough work.

Re: Show HN: Something pointless I made

#80
post #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.

I was going to request the music loop as well, it's pretty good background audio.
Post reply on HN