experiment 2

Slider Controlling Low Poly Creation

The next step was to preload an image. With a slider set for a minimum number of triangles, the user could then adjust slider to control the number of points that were saved to an array and used to triangulate the image. The challenge with this experiment was to use the PolySides function so that discreet sections of the triangles could be evaluated to draw the average color from beneath. This creates a pleasing patchwork. Each time the slider is moved, it immediately recalculates the entire canvas to create a new polygon pattern.