Regelmäßige n-Ecke

(für n= 3 bis n= 50)

r = 6 (slider from 0.5 to 8, step 0.5)
n = 3 (slider from 3 to 50, step 1)
A = (0, 0)
c = Circle(A, r)
P_0: (r, 0)
P_1: (r cos(2 * 3.141592653589793 / n), r sin(2 * 3.141592653589793 / n))
V, p_0, p_1, a, B = Polygon(P_0, P_1, n)