Delaunay Voronoi Tessellation

Hello everyone! I need your help, guys!
At the time I’m interested in the Delaunay Voronoi Tessellation theme, more specifically, the image is divided into triangles, the darker the color, the smaller the triangle. But all download links are out of date. Can someone share .gh file, please, I’m sure someone has them!



Thanks for your feedback

Some few similar images, can’t get the author’s feedback:


1 Like

Here’s one way


image_triangulate.gh (296.4 KB)

Change the (F) file path input of the IMG component to the image you want to use. You may need to adjust the rectangle and resolution to match the proportions of your image. Don’t set too high a resolution or it could take a long time.
The input values for the domain control the approximate edge length range between black and white parts of the image. Use the button to reset, start the timer to let it remesh, then stop it when it is done.

5 Likes

and if you want to colour the triangles from the original image:


image_triangulate2.gh (2.6 MB)

7 Likes

If you want to capture more details from the image without using a very small triangle size all over, a better way could be to apply an edge detection filter (I used the one in Photopea, as it is free and online) then use that as the input for the remeshing (while still using the actual image for assigning the triangle colours).
This way you get smaller triangles in areas of higher detail, unlike the image above where the triangle size depends just on the brightness of the original image.

10 Likes

How did you… Wow! Thanks a lot, man! You are my hero. I needed this for my diploma project, and you saved my life.

2 Likes