College of Education

Office for Mathematics, Science, and Technology Education

Home About Resources Projects Contact
Home Java Michael Regpoly

Regular Polygon Generation

Description

This applet creates a regular polygon based on user input of an inner angle and/or the number of sides to draw. An alternate option is to select a polygon from the drop down combo box, which will create a regular polygon with the appropriate inner angle and number of sides. If only an inner angle or a number of sides is entered, then the other will be calculated automatically. If the inner angle entered does not produce a regular polygon, then the closest number of sides will be chosen.

To change the line length and location, simply click and drag with the mouse to draw a new base line.

Simulation

Applet source, written by Michael McKelvey