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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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

1 day ago