Hello,
I am currently develloping an image processing project. More precisely I use the delaunay triangulation which draw triangles on an image which has been previously uploaded by the user (in the code it's a PImage).
After the triangulation step I manage to extract the coordinates oh each triangles individually. My question is: how to recreate individually each triangles with the background of the Pimage ?
As a drawing is often easier to understand than a long explanation there is a recap in picture.
1- The PImage background
2- The mesh after the delaunay triangulation (which is actually a layer above the image)
3- What I expect: explode each triangle individually.
1