Earth-Venus epicycloid orbit patterns

Imagine Earth (blue point) and Venus (pink/magenta point) revolving in a common circular orbit with the Sun at the center (origin/pole). Imagine that for every 1 orbit of Venus, the Earth completes 2 orbits in the same time period ("orbit_ratio" slider). Press the "start/stop m" button to see this in action. Click on the "trace" checkbox to see the interesting geometry that forms from the segment drawn between the two planets throughout their orbits. The "Earth/Venus" button alters the settings to reflect actual ratios of orbital radii and periods for Earth and Venus. However, this model assumes concentric circular orbits in a common plane rather than the actual slightly-elliptical planetary orbits. Again, animate with "trace" on and see what interesting geometry results. Do you see how the 13:8 orbital period is reflected in the geometry? Play with the other settings to observe how they affect the geometry. To precisely increment the sliders on a computer, it may be easiest to click on the slider and then use the left/right arrow keys on your keyboard.
When Rratio = 1 and the "curve" box is checked, the displayed epicycloid will perfectly match the geometry bounded by the AB line segments. When Rratio ≠ 1 (points A and B orbit circles of different radii), then the bounded shape is not truly an epicycloid. A checked "curve" box will display (in a muted color) the epicycloid that most closely resembles the bounded shape.