Torus Knot
TorusKnot
Circle around p in the direction of the large circle, and circle around the tube in the q circle, and get (p, q) ring tie.
Interactive demo: open this page in a JavaScript-enabled browser to drag the parameters and watch the live readouts.