Constructions of polygons

This interesting construction derived from an illustration on page 60 of Quadrivium (Lundy, etal, 2010, Wooden Books, Glastonbury, UK)

Try moving points A and B. What polygons are constructed? Can you prove anything about their properties?