A generalisation of Napoleon's theorem

A generalisation of Napoleon's theorem to n-gons.