pkg.soopen package index

brew / 排名 8954

使用 Homebrew, MacPorts, apt 安装 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
triangle可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本2.0.0
管理器更新时间2026-07-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:triangle
版本2.0.0
软件包管理器Homebrew
主页https://github.com/esimov/triangle
仓库https://github.com/esimov/triangle
最后更新2026-07-26T00:51:27+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation