From Random Polygon to Ellipse

Take a polygon with random vertices, find the mid-points of its sides, and use these to create a new polygon, replacing the original. Do this repeatedly and an ellipse will eventually form!

30

Step 0

Reading the demonstration

Why an ellipse?

I discovered this while reading The Mathematical Experience, shown as an example of "order out of chaos". In fact, Elmachtoub and van Loan show using eigenanalysis that any random polygon will tend towards an ellipse tilted at 45° when undergoing this transformation.

Read the x coordinates, in order round the polygon, as a wave, and the y coordinates as another. Averaging each value with the next smooths both, the fastest wiggles fading fastest, until only the slowest is left: one cosine, once round. One cosine plotted against another of the same period is an ellipse, and scaled to the same size, it lies at 45°. Its shape is fixed from the start by the difference between their phases, which is how the dashed ellipse is drawn.

References

By Jason Davies.