In this series of posts you will find all my articles published on the German news site, translated in english.

Following post belong to Golem ...

Thomas Wild Tulips

Tringula And The Beauty Of Mathematics

Triangula is a great tool for artfully breaking up images into polygons. Another tool also makes it possible to use them as website placeholders.

This post is a new version of Triangulate your images with Triangula and the first in a series of articles published on the German news site

When talking about triangulation, non-mathematicians generally understand it as a geometric method for measuring distances. Roughly speaking, two known points in space can be used to calculate a third via the angles to it. In one or the other Hollywood flick of the genres war or spy movie you have surely come across this.

However, triangulation also refers to the division of a surface into triangles or, more generally, the description of an object by means of polygons. It is used in topology and land surveying, but also in imaging methods of modeling.

How wonderfully this field of mathematics can be applied to photos is shown by the GitHub user RyanH with his program Triangula written in Go, which first roughly splits a given JPG or PNG image into triangles and then refines it further and further via mutations. Among other things, you can specify how many points you want to start with and how many mutations the program should perform. It is also possible to calculate the new image using hexagons instead of classic triangles.

Continue reading ...