Basic Double Cycloid

Defined geometrically, this shows a two-locus Spirograph. Sliders a and b control the ratio of the rolling circles radii to the boundary circle. Negative ratios put them outside. Slider n controls how many times the circles roll around the boundary circle.
More GeoGebra at mathhombre.blogspot.com