1. Click the flag. 2. Input however many sides you want. 3. Listen to the music! Try experimenting with the side input. Add a decimal point and any number behind it....
Credit to www.mathsisfun.com/geometry/interior-angles-polygons.html for the angle formulas. Try turbo mode! Not all shapes will generate correctly because the pen hits the edge.