Automic VaultAutomic Vault

brew

Install triangle with Homebrew, apt, MacPorts

Convert images to computer generated art using Delaunay triangulation. Version 2.0.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install triangle

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install triangle

MacPorts ports tree · science/triangle/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install libtriangle-1.6

Debian stable package indexes · libtriangle-1.6 · source: deb.debian.org

overview

Package summary

Convert images to computer generated art using Delaunay triangulation

Commands and aliases

  • triangle

history

Project history and usage

Triangle is a Go command-line and library project for converting raster images into low-poly artwork through Delaunay triangulation. It occupies the package-manager niche of creative image-processing CLIs: small enough to script, but visual enough to be useful for generative-art workflows.

Project history

The official README presents Triangle as a tool that takes a source image and turns it into an abstract image made of triangular tiles. Its documented process blurs the image, converts it to grayscale, extracts edges with a Sobel filter, adjusts the data with convolution, and then applies Delaunay triangulation.

The project is distributed as both a Go module/API and a command-line tool. Its README copyright dates the project to 2018, while the GitHub releases page shows later 1.x and 2.x releases, including v2.0.0 with CLI flag updates.

Adoption history

Triangle found adoption among users who want an installable low-poly generator rather than a GUI-only art tool. Its README explicitly documents Homebrew installation, release binaries, Go installation, recursive directory processing, concurrent processing, URL inputs, SVG output, and stdin/stdout pipeline usage.

The GitHub repository page shows broad open-source interest for a niche creative tool, with thousands of stars and packaged release assets. That makes it a recognizable package for users browsing Homebrew media/image-processing formulae.

How it is used

Typical command-line usage passes an input image and output path, then adjusts parameters such as blur radius, point rate, edge factor, maximum points, grayscale mode, wireframe mode, stroke width, and SVG output. The tool can process single images, recurse over directories, or read and write through pipes.

For developers, the README documents an API where callers configure a `triangle.Processor`, decode an image, call `Draw`, and encode the output, which lets the same triangulation engine be embedded in other Go programs.

Why package nerds care

Triangle is significant in package-manager culture because it is a visually demonstrable CLI: `brew install triangle` gives a user a scriptable image transformer with reproducible parameters and no heavyweight creative-suite dependency.

It also illustrates the overlap between Go modules, release binaries, and Homebrew formulae for media tools. Package nerds care about that mix because it makes batch image effects portable across local scripts, CI asset generation, and terminal-first creative workflows.

Timeline

  • 2018: README license notice dates the MIT-licensed project to 2018.
  • Current README: Homebrew, Go install, release binaries, SVG output, directory concurrency, URL input, and pipe support are documented.
  • v1.3.0: Release notes describe a rewritten API, better visual output, advanced customization options, and extended CLI parameters.
  • v2.0.0: GitHub release notes describe a major release with CLI flag updates.

Related projects

  • Related technologies include Delaunay triangulation, Sobel edge detection, Go image-processing libraries, SVG output workflows, and command-line generative-art tools.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
trianglecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.0.0
manager updated
local dataok
upstreamcurrent
latest detectedv2.0.0

https://github.com/esimov/triangle

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:triangle
Version2.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/triangle
Homepagehttps://github.com/esimov/triangle
Repositoryhttps://github.com/esimov/triangle
Upstream docshttps://github.com/esimov/triangle#readme
LicenseMIT
Source archivehttps://github.com/esimov/triangle/archive/refs/tags/v2.0.0.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametriangle
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libtriangle-1.6 1.6-6

High-quality 2-D mesh generator -- shared libraries

https://www.cs.cmu.edu/~quake/triangle.html

sudo apt install libtriangle-1.6
  • Section: non-free/libs
  • Architecture: amd64
  • Source Package: triangle
  • 1 dependencies
  • normalized package name match
  • Matched by: Triangle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtriangle-1.6 from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz
Debian apt95%

libtriangle-dev 1.6-6

High-quality 2-D mesh generator -- development files

https://www.cs.cmu.edu/~quake/triangle.html

sudo apt install libtriangle-dev
  • Section: non-free/libdevel
  • Architecture: amd64
  • Source Package: triangle
  • 2 dependencies
  • normalized package name match
  • Matched by: Triangle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtriangle-dev from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz
Debian apt95%

triangle-bin 1.6-6

High-quality 2-D mesh generator -- binary programs

https://www.cs.cmu.edu/~quake/triangle.html

sudo apt install triangle-bin
  • Section: non-free/science
  • Architecture: amd64
  • Source Package: triangle
  • 2 dependencies
  • normalized package name match
  • Matched by: Triangle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: triangle-bin from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz
Ubuntu apt95%

libtriangle-1.6 1.6-6

High-quality 2-D mesh generator -- shared libraries

https://www.cs.cmu.edu/~quake/triangle.html

sudo apt install libtriangle-1.6
  • Section: multiverse/libs
  • Architecture: amd64
  • Source Package: triangle
  • 1 dependencies
  • normalized package name match
  • Matched by: Triangle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtriangle-1.6 from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz
Ubuntu apt95%

libtriangle-dev 1.6-6

High-quality 2-D mesh generator -- development files

https://www.cs.cmu.edu/~quake/triangle.html

sudo apt install libtriangle-dev
  • Section: multiverse/libdevel
  • Architecture: amd64
  • Source Package: triangle
  • 2 dependencies
  • normalized package name match
  • Matched by: Triangle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtriangle-dev from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz
Ubuntu apt95%

triangle-bin 1.6-6

High-quality 2-D mesh generator -- binary programs

https://www.cs.cmu.edu/~quake/triangle.html

sudo apt install triangle-bin
  • Section: multiverse/science
  • Architecture: amd64
  • Source Package: triangle
  • 2 dependencies
  • normalized package name match
  • Matched by: Triangle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: triangle-bin from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz
MacPorts95%

triangle

sudo port install triangle
  • normalized package name match
  • Matched by: Triangle
MacPorts ports tree · api.github.com · MacPorts ports tree: science/triangle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment