Hypotrochoid Drawer

Point at distance d from center of a circle radius r rolling inside a fixed circle radius R.

Period repeats every 3 full turns (R/gcd(R,r) revolutions of the base circle).

x = (R−r)cos t + d·cos((R−r)/r·t)
y = (R−r)sin t − d·sin((R−r)/r·t)