Computing: Free Pascal Programming

Properties of regular polygons.

Download Polygons desktop application (Windows 64bit) Download Polygons source code (Lazarus/Free Pascal)

Description: Geometry application, concerning regular polygons. The application draws polygons (3 to 20 sides) and computes its major properties: exterior and interior angle, radius and apothem, perimeter and surface area, equations of the circumcircle and the incircle, number of diagonals, side lengths, angle and area of the main and small polygon triangles. Radius, apothem, circumcircle, incircle and diagonals may also been shown on the drawing.

Free Pascal features: Creating drawings, using bitmap canvas.


Regular polygons: Circumcircle and incercle of a hexagon
Regular polygons: Diagonals of an icosagon