Example
Make a Regular Polygon
geometric.polygonRegular([sides[, area[, center]]]) returns the vertices of a regular polygon of the specified number of sides, area, and center coordinates. If sides is not specified, defaults to 3. If area is not specified, defaults to 100. If center is not specified, defaults to [0, 0]. The returned polygon's winding order will be counter-clockwise.
Adjust the controls to change the polygon, move its center, and rotate it.
Code