Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/esimov/triangle
Browse files Browse the repository at this point in the history
  • Loading branch information
esimov committed May 23, 2021
2 parents 281c5f2 + 034ab4f commit 55f3ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![release](https://img.shields.io/badge/release-v1.2.2-blue.svg)](https://github.com/esimov/triangle/releases/tag/v1.2.2)
![homebrew](https://img.shields.io/badge/homebrew-v1.2.2-orange.svg)

**▲ Triangle** is a tool to generate triangulated image using [delaunay triangulation](https://en.wikipedia.org/wiki/Delaunay_triangulation). It takes a source image and converts it to an abstract image composed of tiles of triangles.
**▲ Triangle** is a tool for generating triangulated image using [delaunay triangulation](https://en.wikipedia.org/wiki/Delaunay_triangulation). It takes a source image and converts it to an abstract image composed of tiles of triangles.

![Sample image](https://github.com/esimov/triangle/blob/master/output/sample_3.png)

Expand All @@ -32,7 +32,7 @@ triangles = delaunay.Init(width, height).Insert(points).GetTriangles()
- [x] Supports various image types.
- [x] There is no need to specify the file type, the CLI tool can recognize automatically the input and output file type.
- [x] Can accept image URL as parameter for the `-in` flag.
- [x] Possibility to save the generated image as an **SGV** file.
- [x] Possibility to save the generated image as an **SVG** file.
- [x] The generated SVG file can be accessed from the Web browser directly.
- [x] Clean and intuitive API. The API not only that accepts image files but can also work with image data. This means that the [`Draw`](https://github.com/esimov/triangle/blob/65672f53a60a6a35f5e85bed69e46e97fe2d2def/process.go#L82) method can be invoked even on data streams. Check this [demo](https://github.com/esimov/pigo-wasm-demos#face-triangulator) for reference.
- [x] Support for pipe commands (possibility to pipe in and pipe out the source and destination image).
Expand Down

0 comments on commit 55f3ce1

Please sign in to comment.