A dihedral group is the group of symmetries of a regular polygon.
Click and drag to rotate the polygon. Click on the dashed lines to reflect.