Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts 安装 triangle

查看 triangle 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install triangle

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install triangle

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

Linux

Debian apt已验证 · 92%
sudo apt install libtriangle-1.6

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

概览

软件包摘要

Convert images to computer generated art using Delaunay triangulation

命令和别名

  • triangle

历史

项目历史与用法

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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
trianglecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.0.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v2.0.0

https://github.com/esimov/triangle

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:triangle
版本2.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/triangle
主页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
构建依赖go
Bottle可用 (于 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-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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