Parametric curve / Study
Variable-frequency spirograph
Geometry
Adjust the amplitudes A and B independently, alongside frequency k, loop count n, and loop size d.
x(t) = A·cos(t) + B·cos(k·t) + d·cos(n·t)y(t) = A·sin(t) − B·sin(k·t) + d·sin(n·t)
0 ≤ t ≤ 2π. Decimal values of k can leave the curve open.