Playing around with geometric figures is fun. Some of the simplest possible operations are reflections. So just iteratively reflecting a polygon in its side is very natural. Move the controls to iteratively reflect an ‐gon in its edges.