News for hackers. Stuff that matters.
Re:Show HN: Something pointless I made by prezjordan on Sunday November 29, 2015 @07:03PM (#10646774)
Would love to hear more about how you generated the depth map - that's super cool.
Re:Show HN: Something pointless I made by dhotson on Sunday November 29, 2015 @07:10PM (#10646800)
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 by ekianjo on Sunday November 29, 2015 @09:58PM (#10647374)
Is that something one can do with Inkscape as well ?
Re:Show HN: Something pointless I made by stuaxo on Monday November 30, 2015 @05:49AM (#10648771)
They have been building it, AFAICT looks like it's in the dev builds.

http://wiki.inkscape.org/wiki/index.php/Mesh_Gradients

Re:Show HN: Something pointless I made by voltagex_ on Sunday November 29, 2015 @10:48PM (#10647577)
Nope, wonder how much it would cost to get it implemented?
Re:Show HN: Something pointless I made by simoncion on Monday November 30, 2015 @03:53AM (#10648454)
Re:Show HN: Something pointless I made by voltagex_ on Monday November 30, 2015 @07:51AM (#10649101)
Evidently not! Nice find.
Re:Show HN: Something pointless I made by flashman on Sunday November 29, 2015 @07:20PM (#10646848)
That's a really clever solution!
Re:Show HN: Something pointless I made by zionpi on Monday November 30, 2015 @03:37AM (#10648407)
You mean each point?That's really tough work.
Re:Show HN: Something pointless I made by egypturnash on Monday November 30, 2015 @03:49AM (#10648445)
He didn't have to color in every single pixel. The gradient mesh lets you create a loose grid of Bezier curves, with a color set at each intersection; Illustrator will interpolate between them.