Rolling curve / 14

Epicycloid variant

Geometry

A hypotrochoid whose rolling term is modulated by sin(amp·t).

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

Adjust a slider to redraw · Save PNG & Save GIF export · Animate traces the curve · the first slider auto-sweeps