News for hackers. Stuff that matters.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by KnightHawk3 on Thursday January 29, 2015 @11:46AM (#8967224)
Why did you decide to make this mobile only?

Personally I would use it the most from my computer, considered a port ;)

Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @12:08PM (#8967391)
I'll be happy to make a desktop version if users want it. Comment here, reply to this tweet (https://twitter.com/polygenapp/status/560846810735206400 ) or let me know in any way if you're interested.

Edit - And as for "why mobile-first", I wanted to make the app casual and approachable. You can take a photo of your teacup and have a cool low poly version of it in an instant. Or generate a pretty colourful wallpaper with one tap. But I'd love to build a desktop version too. Larger screen and finer control over the pointer would give some new possibilities.

Edit 2 - In case somebody didn't notice, you can generate a wallpaper for your desktop from the mobile app. Just choose a desktop option in the "Size" setting.

Re:Show HN: PolyGen App, turn gradients and photos into pret... by windsurfer on Thursday January 29, 2015 @02:39PM (#8968359)
10 years ago, I would never have guessed that I would be finding a new application on my laptop, sending a link to my phone, installing the app on my phone, generating an image, and then emailing myself an attachment back to my laptop to be used as my desktop background.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by lumpypua on Thursday January 29, 2015 @01:04PM (#8967803)
My upvote on this comment is my indication that I'm interested in the computer version. :)
Re:Show HN: PolyGen App, turn gradients and photos into pret... by welshguy on Thursday January 29, 2015 @01:23PM (#8967906)
Me too :-)
Re:Show HN: PolyGen App, turn gradients and photos into pret... by sfall on Thursday January 29, 2015 @04:41PM (#8969030)
the app does have built in resolution for macbook retina displays
Re:Show HN: PolyGen App, turn gradients and photos into pret... by andrewrice on Thursday January 29, 2015 @11:44AM (#8967202)
Reminds me a bit of "trianglify", a low-poly background generator built on d3.js: https://github.com/qrohlf/trianglify
Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @11:50AM (#8967250)
I've tried d3.js, but decided to go with iron wallaby's delaunay (https://github.com/ironwallaby/delaunay) implementation for performance reasons. The difference was especially visible when working with photos.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by WhitneyLand on Thursday January 29, 2015 @12:29PM (#8967563)
It's nice, good work. I wonder if you might be better off without the ads though. Not much revenue, and without them you can possibly build a bigger user base as a reputation point for your resume.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by juliendorra on Thursday January 29, 2015 @07:45PM (#8969845)
The ad made me buy the in-app purchase instantly, even before trying (it's placed nearly in the way of the action button).

So in my case, the ad worked as a immediate trigger to pay.

(I would have bought it a 1€ directly in the store, without any hesitation, too. So it made no difference in the end. I'm just a little annoyed that in the future I might have to restore my purchase).

Re:Show HN: PolyGen App, turn gradients and photos into pret... by ctdonath on Thursday January 29, 2015 @01:30PM (#8967955)
$1 may be too much friction at this point. Not something most people consider must-have, but willing to put up with ads to fiddle with.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by kristopolous on Thursday January 29, 2015 @02:53PM (#8968444)
I think the suggestion was to give a clean version of the thing away
Re:Show HN: PolyGen App, turn gradients and photos into pret... by normloman on Friday January 30, 2015 @10:05AM (#8972311)
1996-2004 | Gradients and bevels on everything.

2005-2010 | Concentric vector circles on everything.

2011-Present | Gradients with triangles on everything.

In all seriousness, this is a nice idea, but it seems really limited for just an app. It should be a photoshop filter! (or I'm sure GIMP could use some love)

Re:Show HN: PolyGen App, turn gradients and photos into pret... by o0-0o on Thursday January 29, 2015 @12:55PM (#8967724)
Crashes constantly using a google galaxy Nexus. I would love to have it work though.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by sunspeck on Thursday January 29, 2015 @03:02PM (#8968501)
Haven't tried it out yet, but looks nice.

Surprised to see that this wasn't authored by Mario Klingemann, creator of the very clever LowpolyBot:

http://lowpolybot.tumblr.com/

Re:Show HN: PolyGen App, turn gradients and photos into pret... by cordite on Thursday January 29, 2015 @02:07PM (#8968177)
This reminds me of voronoi diagrams, except the vertices seem to be applied as a best-fit around contrast and hue differences--then the cell being filled with the average color of such.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by ihaveajob on Thursday January 29, 2015 @02:27PM (#8968281)
Beautiful. I bet you could get some very nice results if you use a Voronoi diagram using the color gradient as distance function. Even better if you chose points not randomly, but based on the slope of this distance, so they're concentrated in "feature points".
Re:Show HN: PolyGen App, turn gradients and photos into pret... by rebel on Thursday January 29, 2015 @01:22PM (#8967905)
Pretty cool app! If you're interested in adding an option to sell prints, I'd love to help. You can reach me at interest at printdropper.com
Re:Show HN: PolyGen App, turn gradients and photos into pret... by k__ on Thursday January 29, 2015 @01:31PM (#8967961)
Crashes when choosing a picture on Ascend Mate.

The back-button gets hidden per default and when used he doesn't go back to the main menu but leaves the app.

Re:Show HN: PolyGen App, turn gradients and photos into pret... by gravitronic on Thursday January 29, 2015 @11:47AM (#8967232)
my favorite bot in this gene is on twitter:

https://twitter.com/lowpolybot

Re:Show HN: PolyGen App, turn gradients and photos into pret... by rev_bird on Thursday January 29, 2015 @12:43PM (#8967655)
Took a look at what it was doing, but recently it seems to mostly be engaged in ongoing conversations with other bots spitting out nonsense images.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by kaoD on Thursday January 29, 2015 @01:34PM (#8967977)
I can't try the app (stuck on a Gingerbread phone) but it seems fun. I'm eager to try it.

As far as I can tell, the user chooses the location of triangle vertices, right? It would be interesting to try a genetic algorithm there though it probably fits best in a desktop version.

Also, did you experiment with Voronoi diagrams instead of triangulation?

Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @01:57PM (#8968113)
For abstract patterns, points are chosen "randomly" (grid with randomised offsets). For photo-based ones, I'm using JSFeat's YAPE06 (http://inspirit.github.io/jsfeat/#features2dcorner), plus some own customisations. I'm constantly looking for ways to improve generating photo-based patterns; if anyone has some ideas here, I'd be happy to listen.

I've played with genetic algorithms, but without anything practical. Indeed, this might be more appropriate for desktops.

I've experimented with Voronoi too, but the results weren't as pretty. The cells were more rounded; and the low poly style was gone.

Re:Show HN: PolyGen App, turn gradients and photos into pret... by ubercow on Thursday January 29, 2015 @01:04PM (#8967800)
I'm getting a force close when trying to choose a picture on a Sprint Samsung Galaxy Note II. I have no experience with android development and don't know how the force close reports work, but one was sent and I hope you can figure out the bug.

Really looking forward to trying this out! Will be great for wallpapers.

Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @01:16PM (#8967868)
I'll be looking into it. In the meantime you might experiment with a different camera (pick "System" in the "Camera & Gallery" option). And many thanks for your comment.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by AndrewHampton on Thursday January 29, 2015 @04:45PM (#8969057)
It looks very nice, but it's crashing on my LG G3 as soon as it loads. I see a white background and red/pink banner at the top for about 3 seconds, then it auto-closes. I'll keep it around and watch for auto-updates and hope it's fixed.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @05:07PM (#8969189)
There's a bug in Crosswalk which causes crashes on LG G3 (https://lists.crosswalk-project.org/pipermail/crosswalk-help..., https://crosswalk-project.org/jira/browse/XWALK-3365). I will be looking for a workaround. Thank you for reporting the issue.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by btbuildem on Thursday January 29, 2015 @11:32AM (#8967107)
Crop seems constrained to the aspect ratio of the original image - is that a bug or a feature?
Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @11:41AM (#8967176)
Crop aspect ratio matches the "Size" setting, located one screen earlier; so it's a feature for now. I plan to revisit the crop screen sometime in future and bring more control there. Thanks for your comment!
Re:Show HN: PolyGen App, turn gradients and photos into pret... by ThomPete on Thursday January 29, 2015 @12:56PM (#8967730)
I am surprised nothing showed up on the mac app store for "low poly art"

I would pay for such an app.

Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @01:01PM (#8967772)
I'll be looking into it. Similar topic: https://news.ycombinator.com/item?id=8967391 .
Re:Show HN: PolyGen App, turn gradients and photos into pret... by jawngee on Thursday January 29, 2015 @04:27PM (#8968936)
Re:Show HN: PolyGen App, turn gradients and photos into pret... by avmich on Thursday January 29, 2015 @04:39PM (#8969017)
Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @04:58PM (#8969127)
No, it's different. Here I've described how I'm working with photo-based patterns: https://news.ycombinator.com/item?id=8968113 . More technical details on PolyGen's Medium: https://medium.com/@polygenapp .
Re:Show HN: PolyGen App, turn gradients and photos into pret... by ctdonath on Thursday January 29, 2015 @01:32PM (#8967969)
The regenerate button seems to cycle (inconsistently?) thru the grain sizes. Undesirable; if I pick a grain size and regenerate, I'm looking for a suitable arrangement at that size.

Otherwise, nifty!

Re:Show HN: PolyGen App, turn gradients and photos into pret... by nbartlomiej on Thursday January 29, 2015 @01:41PM (#8968016)
The "refresh" button randomises as much as it can, but you can prevent a section from being randomised by "locking" it (clicking on the tiny lock icon).

So you can pick a size, lock it and hit "refresh" as much as you wish. I'm glad that you like the app, cheers!

Re:Show HN: PolyGen App, turn gradients and photos into pret... by ctdonath on Thursday January 29, 2015 @03:49PM (#8968750)
Ah, didn't realize "refresh" was randomizing my prior-chosen settings; thought it should just re-apply those settings to the randomization process.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by nuclearghost on Thursday January 29, 2015 @02:18PM (#8968249)
Running on iPhone 5 with iOS7 seeing a weird issue where only about the top third of the photo is rendering.

Works fine when rendering with colors.

Anyone else seen something like this?

Re:Show HN: PolyGen App, turn gradients and photos into pret... by mbrock on Thursday January 29, 2015 @11:45AM (#8967211)
I'm curious about how well this works on videos...
Re:Show HN: PolyGen App, turn gradients and photos into pret... by mcmancini on Thursday January 29, 2015 @02:36PM (#8968334)
Neat app. A cool feature would be the ability to extract colors from a photo (like Adobe Kuler) and use those in the Abstract Colors pattern.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by coryl on Thursday January 29, 2015 @05:25PM (#8969287)
I've been paying an artist $15 per picture to do this for a project :O
Re:Show HN: PolyGen App, turn gradients and photos into pret... by tenken on Thursday January 29, 2015 @03:54PM (#8968778)
Show HN, version 3.x ..... soooo not "new" ? :)

but it looks nice! downloading now.

Re:Show HN: PolyGen App, turn gradients and photos into pret... by sauravt on Thursday January 29, 2015 @02:29PM (#8968289)
Oh man I am working on a very similar app, you beat me to it. :)
Re:Show HN: PolyGen App, turn gradients and photos into pret... by davidrusu on Thursday January 29, 2015 @02:01PM (#8968141)
looks like it could be interesting but very obnoxious ads
Re:Show HN: PolyGen App, turn gradients and photos into pret... by georgechen on Thursday January 29, 2015 @04:33PM (#8968962)
You can support the developer via In-app purchase to get rid of those ads you know.
Re:Show HN: PolyGen App, turn gradients and photos into pret... by davidrusu on Thursday January 29, 2015 @08:19PM (#8969957)
really.. how am I supposed to be a millionaire if I throw money away like that??
Re:Show HN: PolyGen App, turn gradients and photos into pret... by robinhoodexe on Thursday January 29, 2015 @11:26AM (#8967047)
I like it