In testing the command Sequence, it was possible to create the vertex of a regular polygon with the command
L1 = Sequence[(r cos(2 k π / n), r sin(2 k π / n)), k, 1, n]
where n and r are sliders.
But was impossible to me to create the polygon itself. I wrote the commande
L2 = Sequence[Segment[(r cos(2 k π / n), r sin(2 k π / n)), (r cos(2 (k + 1) π / n), r sin(2 (k + 1) π / n))], k, 1, n]
Only the first side is drawen.
Is some thing wrong in my command ?