Show HN: Something pointless I made
31–40 of 105 posts
Re: Show HN: Something pointless I made
#32If you like this style of thing, check out the rest of TJs work at his website: http://www.tjfullerswebsite.com
Re: Show HN: Something pointless I made
#33I 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…
Re: Show HN: Something pointless I made
#34Re: Show HN: Something pointless I made
#35Fwiw this appears to be an awesome remix of (my cofounder) TJ Fuller's laser eyes cat shooting cucumbers gif, which can be found here: http://giphy.com/gifs/cat-lasers-cucumber-3oEduQAsYcJKQH2XsI If you like this style of thing, check out the rest of TJs work at his website: http://www.tjfullerswebsite.com
I'm really curious how they made it in the first place.
Re: Show HN: Something pointless I made
#36Earlier quoted context omitted.
Ah bummer, WebGL is pretty widely supported but still not quite 100% -- http://caniuse.com/#feat=webgl
I thought PixiJS was supposed to fall back to canvas if WebGL isn't enabled?
Re: Show HN: Something pointless I made
#37Earlier quoted context omitted.
Ah bummer, WebGL is pretty widely supported but still not quite 100% -- http://caniuse.com/#feat=webgl
I thought PixiJS was supposed to fall back to canvas if WebGL isn't enabled?
Re: Show HN: Something pointless I made
#38Is it just me, or is the HTML file incomplete? I didn't see anything, so I looked at the source and there's no canvas tag and the file abruptly ends after the GA script tag: https://web.archive.org/web/20151130010039/http://i.imgur.co...
The canvas element is added to page by JavaScript.
Re: Show HN: Something pointless I made
#39Earlier 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.
Re: Show HN: Something pointless I made
#40That's an interesting way to get background music. Wastes bandwidth on the video though. " rel="nofollow">https://www.youtube.com/embed/UsMewmMTA_c?autoplay=1">