Triangle is a Go image-processing tool that converts ordinary images into low-poly artwork using Delaunay triangulation. The pipeline first blurs the image, converts it to grayscale, and applies Sobel edge detection. Additional filtering selects representative points before the triangulation stage builds the final polygon structure. Users can adjust point density, blur, noise, edge sensitivity, wireframes, stroke width, grayscale output, and background color. The CLI accepts local files, image URLs, directories, stdin, and stdout and can process directory trees concurrently. Output formats include JPEG, PNG, BMP, and scalable SVG. A Go API exposes the same processing engine for applications that want to work directly with image data or streams.

Features

  • Delaunay low-poly image generation
  • Sobel edge-based point selection
  • Configurable blur, noise, and point density
  • Concurrent directory processing
  • JPEG, PNG, BMP, and SVG output
  • CLI, pipes, URLs, and Go API support

Project Samples

Project Activity

See All Activity >

Categories

Generative AI

License

MIT License

Follow Triangle

Triangle Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Triangle!

Additional Project Details

Programming Language

Go

Related Categories

Go Generative AI

Registered

12 hours ago