Instructions: Type in the desired number of sides, select what to generate, and click the 'view' button. For example, if you choose 15 as numerator, 7 as denominator, and 'antiprism', clicking the 'view' button should produce an attractive antiprism based on the 15/7 polygon in the window above. Make the denominator 1 for an ordinary (uncrossed) polygon.
If you are a programmer, you may like to look at the VRML source code which this page generates to describe an object.