4 ms·
This looks cool. It reminds me a lot of Primitive Pictures[0], coincidentally also written in Go, which supports other shapes besides triangles as well. [0]: h
by clusmore 5y ago
This looks cool. It reminds me a lot of Primitive Pictures[0], coincidentally also written in Go, which supports other shapes besides triangles as well.
[0]: https://github.com/fogleman/primitive https://github.com/fogleman/primitive
- rh12503 5y agoThanks! One main difference from Primitive is that Primitive's shapes can overlap, while Triangula generates a triangulation.
- yhoneycomb 5y agoIMO both are cool but your method is way cooler!
- JimDabell 5y agoSee also: SQIP, which uses Primitive: https://github.com/axe312ger/sqip https://github.com/axe312ger/sqip
- elb2020 5y agoI'm not familiar with Go, but is there anything in the language which makes it a particularly good fit for this type of problem?
- rh12503 5y agoNot particularly, but Go is fast, compiles to small binaries, and supports multithreading with coroutines which works well for genetic algorithms.
- jarek-foksa 5y agoAlso check out my web app Boxy SVG [1] which integrates both vectorization algorithms as "Triangulate" and "Primitivize" generators [2]. [1] https://boxy-svg.com/app https://boxy-svg.com/app [2] https://boxy-svg.com/blog/9 https://boxy-svg.com/blog/9