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

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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/triangle>
- **バージョン:** 2.0.0
- **ソース概要:** Convert images to computer generated art using Delaunay triangulation
- **ホームページ:** <https://github.com/esimov/triangle>
- **リポジトリ:** <https://github.com/esimov/triangle>
- **上流ドキュメント:** <https://github.com/esimov/triangle#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/esimov/triangle/archive/refs/tags/v2.0.0.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- triangle (cli)
- triangle (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 2.0.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/esimov/triangle
- 検出された最新: v2.0.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** triangle
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gd](https://www.automicvault.com/ja/pkg/brew/gd/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [graphicsmagick](https://www.automicvault.com/ja/pkg/brew/graphicsmagick/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [libsail](https://www.automicvault.com/ja/pkg/brew/libsail/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [babl](https://www.automicvault.com/ja/pkg/brew/babl/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [caire](https://www.automicvault.com/ja/pkg/brew/caire/) - Shares av.db curated category or tags: cli, image-processing, media.
- [camellia](https://www.automicvault.com/ja/pkg/brew/camellia/) - Shares av.db curated category or tags: cli, image-processing, media.
- [epsilon](https://www.automicvault.com/ja/pkg/brew/epsilon/) - Shares av.db curated category or tags: cli, image-processing, media.
- [exact-image](https://www.automicvault.com/ja/pkg/brew/exact-image/) - Shares av.db curated category or tags: cli, graphics, image-processing, media.
- [faceprints](https://www.automicvault.com/ja/pkg/brew/faceprints/) - Both packages work with overlapping file formats or content types. Shared terms: cli, computer, image, image-processing, images.
- [pwa-asset-generator](https://www.automicvault.com/ja/pkg/npm/pwa-asset-generator/) - Both packages work with overlapping file formats or content types. Shared terms: cli, generated, graphics, image, image-processing.
- [glyph](https://www.automicvault.com/ja/pkg/brew/glyph/) - Both packages work with overlapping file formats or content types. Shared terms: art, cli, image, image-processing, images.

## Combined YAML source

View the package source record on GitHub. [combined/triangle.yml](https://github.com/automic-vault/db/blob/main/combined/triangle.yml)


## ソース

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