Torus Knot Family
Rotate three torus knots in 3D: the (2, 3) trefoil, the (3, 5) and the (5, 8), stacked to compare winding ratios. Edit the winding numbers.
Wind a string around a ring doughnut, p times around the hole and q times through it, and join the ends. When p and q have no common factor, you get the torus knot (p, q) : a closed curve that wraps p times around the central axis of a torus and q times around its tube. Otherwise the curve splits into a link of unknotted loops. Torus knots are the simplest infinite family of knots, central to braid theory and 3-manifold topology, and a standard test case for the Alexander, Jones and HOMFLY polynomials. The (p, q) knot needs \min((p-1)q, (q-1)p) crossings.
The plot stacks three examples, (2, 3) , (3, 5) and (5, 8) , each with a radius 1.8 + 0.55\cos(qt) , turned by pt and lifted by a multiple of \sin(qt) . The trefoil (2, 3) has 3 crossings, the (3, 5) needs 10 and the (5, 8) needs 32. Look down the axis and notice their three-fold, five-fold and eight-fold symmetry. Then edit the first row, the (2, 3) knot, and change each 3t to 5t : you get the (2, 5) knot, the cinquefoil, with 5 crossings.
JavaScript is required to view the interactive plot.