Roger Alsing (Johansson) did this in 2008: https://rogerjohansson.blog/2008/12/07/genetic-programming-e...
Primitive – recreate your photos with vector-based geometric primitives
11–20 of 24 posts
Re: Primitive – recreate your photos with vector-based geometric primitives
#12I'm struggling to find again a c++ implementation of this I saw on github a while back. Does HN the hive mind remember?
The core of Primitive is open source, written in Go. https://github.com/fogleman/primitive Only the UI is closed source. It's written in Objective-C and basically shells out to the Go code.
Edit: Also, if you would like some help maintaining it, I imagine plenty of fellow HN-ers (including me) would love to help.
[1] https://github.com/fogleman/primitive/pulls?q=is%3Aopen+is%3...
Re: Primitive – recreate your photos with vector-based geometric primitives
#13Re: Primitive – recreate your photos with vector-based geometric primitives
#14Is this noticeably better than Vector Magic when using Bezier curves?
Re: Primitive – recreate your photos with vector-based geometric primitives
#15This sort of thing is useful for showing placeholder images while high-res images load: https://jmperezperez.com/svg-placeholders/
Re: Primitive – recreate your photos with vector-based geometric primitives
#16Re: Primitive – recreate your photos with vector-based geometric primitives
#17This sort of thing is useful for showing placeholder images while high-res images load: https://jmperezperez.com/svg-placeholders/
In case anyone is interested, the code is on GitHub [1].
Re: Primitive – recreate your photos with vector-based geometric primitives
#18Earlier quoted context omitted.
The core of Primitive is open source, written in Go. https://github.com/fogleman/primitive Only the UI is closed source. It's written in Objective-C and basically shells out to the Go code.
I was just poking through some of the code and noticed that there seem to a lot of open bugfix PRs [1]. Have you thought about going through and upstreaming some of them? Many of them seem like quick reviews. Edit: Also, if you would like some help maintaining it, I imagine plenty of fellow HN-ers (including me) would love to help. [1] https://github.com/fogleman/primitive/pulls?q=is%3Aopen+is%3...
Re: Primitive – recreate your photos with vector-based geometric primitives
#19Almost a decade ago I remember using an online service called Vector Magic to do this kind of stuff. At that time it was considered the state-of-the-art auto tracer. Is this noticeably better than Vector Magic when using Bezier curves?
Maybe I will finally be able to get rid of it. I can't tell right now, I think Primitive is being hugged to death currently.
Re: Primitive – recreate your photos with vector-based geometric primitives
#20I modified this to try and compare against the last image it generated and feed it images via ffmpeg from a movie. Ultimately the results were still a little too choppy for video but the effect was very cool. The processing time was also incredibly long because lowering the polygon count made it very hard to tell what was moving.