Triangula

Creative

generative art

SHOW HN2021

296points
69comments
#117of 2,533 in 2021
Top 5%of 2021 by points

How HN took it

LovedMost comments that take a side are positive

17 positive, 18 neutral or asking, 1 mixed, 0 critical, out of 36 comments about the project. Thread score +0.47.

Idea: 11 for, 0 againstDesign: 6 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Impressive, polished UI that is easy to use

    From 2 comments
    • I really like this. Others have already commented on the utility / impressiveness of the tool itself, but on a completely different front: you also put effort into making a…
      chias on HN
    • Apart of very cool visual effect, the app got my attention as an interesting example of lightweight GUI use with Go. Another rabbit hole for today. Thanks!
      imhoguy on HN
  • Attractive shading that preserves highlights and fine lines

    From 3 comments
    • Thats pretty sweet shading. Love how it captures the sunlight reflecting on the buildings in the SF example without just averaging out those colors and making it look bland.
      erwinh on HN
    • I'm impressed it manages to preserve the frames of the man's glasses. Did you do that manually? Or does the algorithm somehow detect lines like that?
      thomasahle on HN
    • Thanks for sharing! Interesting to see how the algorithm preserves thin dark lines like in the glasses or the face of the clown. One of my side projects produces similar images:…
      ikkjo on HN
  • Cool generative art result

    From 2 comments
    • This is great, especially the SF example as it reminds me of Brian Lotti's paintings [1] A common technique for painters is to establish areas of colour in the scene that are…
      jmkd on HN
    • Love it. There's a real use in generating cartographic representations of aerial imagery there I think.
      willtemperley on HN

Objections

  • Triangles visible and aliased at higher compression

    From 2 comments
    • Very cool. Images like this are fairly popular in woodworking for low poly pet art:…
      scrooched_moose on HN
    • That's an interesting idea! I suppose it could be used for compression, although my intentions were for this to be a generative art project. I triangulated a 1988×1491 jpg using…
      rh12503 on HN
  • Slow genetic algorithm compared with Delaunay methods

    From 1 comment
    • My main concern is why the choice of a (slow) genetic algorithm vs a more traditional Delaunay triangulation algorithm?
      trinovantes on HN

Requests

  • Export to SVG or vector format

    From 2 comments
    • You could probably make it into an SVG file to reduce the size even more.
      hapidjus on HN
    • Instead of outputting an image, can you output the points and triangles, eg as an SVG? Could be fun to experiment with animation... especially with something like the astronaut,…
      floatrock on HN
  • Limit to a region or palette

    From 2 comments
    • 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…
      rh12503 on HN
    • I wonder if you can constrain the problem a bit more: say, limit the number of triangles that can be used; limit the color palette to a small set of colors. It would make for…
      1024core on HN
  • Use as image placeholder or compression

    From 2 comments
    • Looks cool! And might be useful for svg placeholders before lazy-loading larger images.
      martini333 on HN
    • axe312ger/SQIP[1] does this effectively in low-quality image loading relying on the before-mentioned fogleman/primitive library. I think OP's project would be great to add as a…
      gillesjacobs on HN

Questions

  • Is there a 3D or other export format?

    From 1 comment
    • This is amazing! Is there any way to download this in a 3D file format?
      rh12503 on HN
  • Why a genetic algorithm rather than Delaunay triangulation?

    From 1 comment
    • My main concern is why the choice of a (slow) genetic algorithm vs a more traditional Delaunay triangulation algorithm?
      trinovantes on HN

Alternatives named

  • Primitive (fogleman)

    From 1 comment
    • 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]:…
      clusmore on HN
  • esimov/triangle

    From 1 comment
    • 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…
      rh12503 on HN
  • Geometrize

    From 1 comment
    • Similar project worth checking out is Geometrize [1] also available on GitHub [2] [1] https://www.geometrize.co.uk/ [2] https://github.com/Tw1ddle/geometrize
      adrian_mrd on HN
  • Boxy SVG

    From 1 comment
    • Also 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 [2]…
      jarek-foksa on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/26899066)