{"repo":"rh12503/triangula","free":true,"listed":false,"github":"https://github.com/rh12503/triangula","clone":"git clone https://github.com/rh12503/triangula.git","description":"Generate high-quality triangulated and polygonal art from images.","language":"Go","stars":3875,"topics":["triangula","triangles","evolutionary-algorithms","evolutionary-art","genetic-algorithm","gui","generative-art","golang","art","go"],"license":"MIT","category":"dev-tools","readme_excerpt":"An iterative algorithm to generate high quality triangulated and polygonal art from images. Triangula uses a modified genetic algorithm to triangulate or polygonate images. It works best with images smaller than 3000px and with fewer than 3000 points, typically producing an optimal result within a couple of minutes. For a full explanation of the algorithm, see this page in the wiki. You can try the algorithm out in your browser here, but the desktop app will typically be 20-50x faster. Install GUI Install the GUI from the releases page. The GUI uses Wails for its frontend. If the app isn't running on Linux, go to the Permissions tab in the executable's properties and tick Allow executing file as program . CLI Install the CLI by running: Your PATH variable also needs to include your go/bin directory, which is /go/bin on macOS, $GOPATH/bin on Linux, and c:\\Go\\bin on Windows. Then run it using the command: and when you're happy with its fitness, render a SVG: For more detailed instructions, including rendering PNGs with effects see this page. Options For almost all cases, only changing the number of points and leaving all other options with their default values will generate an optimal result. Name Flag Default Usage ------------- ---- ------------- -- Points --points, -p 300 The number of points to use in the triangulation Mutations --mutations, --mut, -m 2 The number of mutations to make Variation --variation, -v 0.3 The variation each mutation causes Population --population, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rh12503","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rh12503/triangula/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}