The Boxes Flow
A self-initiated project on April 2012
“Boxes Flow” is scriptographer tool that generates lines made of three-sided or four-sided polygons.
If you select a raster image while drawing, the tool will use the colors of the image beneath to create a flat or gradient fill for the shapes.
Unfortunately scriptographer can be used only in Adobe Illustrator CS5, but the script can be adapted to work with paper.js
You can download it from the scriptographer website: download the “Boxes Flow” script