substations

substations started as wanting to replicate one of my doodle patterns.

The system starts with a grid and then uses random noise to nudge the intersections. I use physics based on force-directed graphs to keep the quadrilaterals from becoming too narrow or collapsing.

Meanwhile, it recursively splits the quadrilaterals according to a probability distribution. Different distributions create different patterns.

The system can also be used to paint: