macOS
brew install trianglelocal Homebrew formula metadata
sudo port install triangleMacPorts ports tree · science/triangle/Portfile · 来源: api.github.com
安装
brew install trianglelocal Homebrew formula metadata
sudo port install triangleMacPorts ports tree · science/triangle/Portfile · 来源: api.github.com
sudo apt install libtriangle-1.6Debian stable package indexes · libtriangle-1.6 · 来源: deb.debian.org
概览
Convert images to computer generated art using Delaunay triangulation
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
triangle | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/esimov/triangle
安装元数据
| 软件包键 | 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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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.6libtriangle-dev 1.6-6
High-quality 2-D mesh generator -- development files
https://www.cs.cmu.edu/~quake/triangle.html
sudo apt install libtriangle-devtriangle-bin 1.6-6
High-quality 2-D mesh generator -- binary programs
https://www.cs.cmu.edu/~quake/triangle.html
sudo apt install triangle-binlibtriangle-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.6libtriangle-dev 1.6-6
High-quality 2-D mesh generator -- development files
https://www.cs.cmu.edu/~quake/triangle.html
sudo apt install libtriangle-devtriangle-bin 1.6-6
High-quality 2-D mesh generator -- binary programs
https://www.cs.cmu.edu/~quake/triangle.html
sudo apt install triangle-bintriangle
sudo port install triangle来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.