This is a variation of the pintograph generated by wheels. What if they are replaced by other figures where a point travels around the figure ... in this case a triangle and a cardiod.
Discover the construction process by investigating the objects listed in the Algebra window that are normally hidden. Experiment with different speeds of the points on the figures. Try creating different figures to use.