First of all, I'm not used to dealing with images, so if my wording is turned off, please excuse me.
I want to take an image that is placed on an HTML5 canvas, sample it, reduce the selection, then create a polyangular representation of the image, using mostly triangular arrows with several other polyangular arrows, and draw this image on the canvas.
But I donβt know where to start with an algorithm to do this. What pseudo code do I need for such an algorithm?
This image can better understand the end result:

source
share