tangle.

Visualisation of randomly drawn circles.


An array is populated with circle objects. These circle objects are constructed with a random center, radius and alpha value. Instead of using the in-built circle function to draw these objects, each circle is drawn by calculating the individual vertices that make up the shape and connecting them with lines. A circle has a random integer to decide whether the whole thing should be drawn, or just the points within the center rectangle. The alpha value for each circle controls its colour variation and adds visual complexity.