PolygonMachinery

October 2021 - Current

Regular polygons are a source of fascination, and I worked to create a function that allows me to specify what proportion of each polygon will be drawn. The function has become something of an unwieldy beast, requiring a string of parameters to render a polygon with many varying options: position, size, trail length, proportion to be drawn, offset, speed, hue, saturation, brightness and so on. In one sense it's remarkably flexible, allowing me to generate an initial position and then simply iterate through an array of objects for the draw() loop, but in another sense the dizzying range of options have become restrictive. As a result, PolygonMachinery pieces are few and far between—the effort involved in making them is great, although the results tend towards pleasing.