← Back to Labs

Torus Knot Visualizer

Knot Parameters

x = (R + r·cos(q·t))·cos(p·t)
y = (R + r·cos(q·t))·sin(p·t)
z = r·sin(q·t)
T(3,2) = Trefoil knot
A T(p,q) torus knot winds p times around the torus longitude and q times around its meridian. GCD(p,q)=1 for a knot; GCD>1 gives a link. Trefoil T(2,3) is the simplest non-trivial knot — it is chiral (not isotopic to its mirror image).