The 'pst-poly' package A PSTricks package for polygons
Denis Girou · 2004
This package allow to draw easily various kinds of regular or non regular polygons, using the unique macro \PstPolygon, with various customization parameters. It is also a good example of the great power and flexibility of PSTricks, as in fact it is a very short program (it body is only 100 lines long) but nevertheless really powerful. And last, it is also a good pedagogical example of how to design and program high level graphic objects above PSTricks own ones.