Rolling curve / 18

Epitrochoid v2

Geometry

A modulated epitrochoid whose rolling term is wrapped by sin(t) and cos(t).

x(t) = (R + r)·cos((R + r)/r · t)·sin(t) − d·cos((R + r)/r · t)
y(t) = (R + r)·cos((R + r)/r · t)·cos(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