Cartoon of a rounded polygon shrinking to a circle

This animation creates a cartoon of a rounded polygon, whereby the straight sectors between the arcs shrink from having a length equal to the arc radius down to zero. The purpose of this video is simply to show that one must consider only the arc sectors when calculating the electrons' angular frequency in a storage ring. The number of sides of the polygon is a user-defined parameter.