Show HN: I built a tool to generate triangulated art from images

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • triangula

    Generate high-quality triangulated and polygonal art from images.

  • Ah, I must've misread the wiki. I thought it meant you used genetic algorithm for triangulation instead of point selection. What's your criteria for calculating the fitness for a candidate set of points?

    https://github.com/RH12503/Triangula/wiki/Explanation-of-the...

  • sqip

    "SQIP" (pronounced \skwɪb\ like the non-magical folk of magical descent) is a SVG-based LQIP technique.

  • I think OP's project would be great to add as a new entry to the SQIP demo site [2].

    In the thumbnail demo, the LQIP-custom approach (simple resize to low-res jpg thumbail+optimize jpg) approach preserves the more salient features better and has compression on-par-or-better than SQIP with lower processing times. So in my opinion the simple extreme resize+jpgoptim is preferable for thumbnails.

    Thumbnails are only small part of LQIP story though and I can imagine RH12503/Triangula working much better for larger images.

    1. https://github.com/axe312ger/sqip

    2. https://axe312ger.github.io/sqip/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Wails

    Create beautiful applications using Go

  • Somewhat of a tangent: this project's GUI was built using Wails [1]. According to their docs, "The traditional method of providing web interfaces to Go programs is via a built-in web server." I'm not a Go developer so I'm hoping someone more familiar can comment on this. Are all Go GUIs basically Electron-lite apps?

    [1] https://wails.app/

  • Primitive Pictures

    Reproducing images with geometric primitives.

  • 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

  • tauri

    Build smaller, faster, and more secure desktop applications with a web frontend.

  • I found Wails very simple to use, and would highly recommend it to anyone looking for a lightweight GUI library.

    However, Wails v1 uses mshtml (basically ie11) on Windows, so some features are unavailable.

    Wails uses Webpack so you need npm installed when developing your app.

    You might also be interested in Tauri [1] which is a similar framework but in Rust.

    [1] https://github.com/tauri-apps/tauri

  • shapeme

    Evolve images using simulated annealing

  • This reminds me of a project I found by Antirez (the creator of Redis) recently called shapeme: https://github.com/antirez/shapeme - which uses simulated annealing: https://en.wikipedia.org/wiki/Simulated_annealing to approximate an image using triangles. It took me down a really interesting rabbit hole: "The name of the algorithm comes from annealing in metallurgy, a technique involving heating and controlled cooling of a material to increase the size of its crystals and reduce their defects."

    I thought it was really interesting that a useful algorithm like this was created and possibly influenced by a natural process. I wonder if this repo uses the same type of algorithm?

  • triangle

    Convert images to computer generated art using delaunay triangulation.

  • For low-poly art, I wonder if there could be a way to only triangulate a specific area. (eg. only the pet and not the background)

    Also, if you need something less aliased, check out Triangle [1], a similar and awesome tool!

    [1] https://github.com/esimov/triangle

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • inkdrop

    Artsy pixel image to vector graphics converter

  • A friend of mine and I intend to do the same, for which I came up with this: https://github.com/matze/inkdrop

  • triangulator

    A visualisation of the delaunay triangulation of FAST keypoints of YOUR FACE

  • I made something similar that runs in the browser using your webcam, mostly to visualise tracking keypoints.

    It helps if you're in a well-lit place.

    * https://github.com/Jonty/triangulator

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts