# triangle を Homebrew, MacPorts, apt でインストール

triangle のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:triangle
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install triangle
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install triangle
```

  証拠: MacPorts ports tree: science/triangle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libtriangle-1.6
```

  証拠: Debian stable package indexes: libtriangle-1.6 from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:triangle
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.0.0
- **ソース概要:** Convert images to computer generated art using Delaunay triangulation
- **ホームページ:** <https://github.com/esimov/triangle>
- **リポジトリ:** <https://github.com/esimov/triangle>
- **最終更新:** 2026-07-26T00:51:27+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- triangle (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.0.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://github.com/esimov/triangle#readme>
- <https://github.com/esimov/triangle/releases>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Debian apt - libtriangle-1.6 - 1.6-6: normalized package name match | Debian stable package indexes: libtriangle-1.6 from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz | High-quality 2-D mesh generator -- shared libraries | https://www.cs.cmu.edu/~quake/triangle.html
- Debian apt - libtriangle-dev - 1.6-6: normalized package name match | Debian stable package indexes: libtriangle-dev from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz | High-quality 2-D mesh generator -- development files | https://www.cs.cmu.edu/~quake/triangle.html
- Debian apt - triangle-bin - 1.6-6: normalized package name match | Debian stable package indexes: triangle-bin from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz | High-quality 2-D mesh generator -- binary programs | https://www.cs.cmu.edu/~quake/triangle.html
- Ubuntu apt - libtriangle-1.6 - 1.6-6: normalized package name match | Ubuntu 24.04 LTS package indexes: libtriangle-1.6 from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | High-quality 2-D mesh generator -- shared libraries | https://www.cs.cmu.edu/~quake/triangle.html
- Ubuntu apt - libtriangle-dev - 1.6-6: normalized package name match | Ubuntu 24.04 LTS package indexes: libtriangle-dev from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | High-quality 2-D mesh generator -- development files | https://www.cs.cmu.edu/~quake/triangle.html
- Ubuntu apt - triangle-bin - 1.6-6: normalized package name match | Ubuntu 24.04 LTS package indexes: triangle-bin from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | High-quality 2-D mesh generator -- binary programs | https://www.cs.cmu.edu/~quake/triangle.html
- MacPorts - triangle: normalized package name match | MacPorts ports tree: science/triangle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/triangle.yml](https://github.com/mxcl/pkgdb/blob/main/combined/triangle.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
