implement regular polygons.