A number of interconnected vertices moving on the screen.

Can we have an infinite repository of polygons?

Details

Tool to generate an infinite repository of polygons with a set number of vertices

Role

Self-directed experiment

Tools

p5.js


Thought

While walking around the NCBS campus during my time at the Xperimenters programme, I stumbled upon a whiteboard in publicly accessible space that had the following diagram:


A picture of a whiteboard with diagonal lines joining dots on the circumference of a circle

I wasn't there for the discussion and had no clue what the diagram meant. However, to me, the visual idea was very simple and fascinating. Imagine a set number of vertices, each verticle randomly moving around the screen. This would result in the possibility of a virtually infinite repository of polygons (as shown below), that could then be used as graphic objects.



Output

If you are on a computer, you can interact with the program yourself. If not, you can view some outputs below. Find the code here.

Try the polygon generator by clicking here.

An example of a generated form being used on a poster.


̣̉̉̉̉̉