Use the slider to change the number of sides
This is done with pen. It may be useful for someone learning about shapes and angles in school. Feel free to use the scripts in your own project.