Knots (with METAFONT)

The knot drawings were first shown on the page Knoten - Seminar in 2021/2022.

Another display of essentially the same drawings is on the page Knots (with METAFONT) - Gallery.

Here is a particular example (click on the image for a high resolution version):

Knoten 5/2

knot 52


The pictures were created 1995 using METAFONT, see allknots.pdf and Source files (1995).

These were METAFONT experiments inspired by Exercise 13.8 in The METAFONTbook Zbl 0609.68003. I stopped after saving allknots.pdf (actually allknots.dvi) on July 6, 1995 at 4:11 AM.

There are 4 knot diagrams here with 9 crossings. One is a non-standard drawing of knot 818 (Torusknoten (4,3)), the others are

Knoten 9/22Knoten 9/29Knoten 9/40

knot 922knot 929knot 940

Cf. Appendix D in Burde, Zieschang. Knots. 1985 MR 808776, Zbl 0568.57001:

Screenshots from Burde-Zieschang

Originally all over/under-crossings were drawn alternating. This is incorrect for the torus knots (3,4), (4,3), (6,11), albeit one may prefer the alternating version in a non-mathematical context. The corresponding images have now (March 2026) correct crossings (unless marked with *).

On the page Knots (with METAFONT) - Gallery most torus knots are rectified to have a vertical axis of symmetry, cf. Drawing torus knots on that page.

Quite a few torus knots are depicted here: Category:Torus knots and links (Wikimedia Commons)

The images linked in the following list have high resolutions. The numbers correspond to page numbers in allknots.pdf.

The names "knot Ck", "Knoten C/k" refer to the Alexander-Briggs notation, see Appendix C in Rolfsen, Knots and Links. 1976 MR 515288, Zbl 0339.55004.

  1. torus knot (2,3) - knot 31
  2. knot 41
  3. torus knot (2,5) - knot 51
  4. knot 52
  5. torus knot (2,7) - knot 71
  6. torus knot (3,4) - knot 818
  7. torus knot (4,3) - knot 818 by a diagram with 9 crossings
  8. "Knoten 9/22" [thin version] - a strange knot (I wasn't satisfied with this one)
  9. "Knoten 9/29" [thin version] - looks better (my favorite)
  10. "Knoten 9/40" [thin version] - not bad
  11. torus knot (6,11) - 55 crossings
  12. torus knot (6,11) with numbered crossings is a scan from page 12 of allknots.pdf.

Source files (1995)

The file allknots.txz (xz compressed tar archive) contains the 1995 MF files and a script to build allknots.pdf.

In 2009 I created png images with ImageMagick taking data from MF log files. The cutting at crossings was done with ImageMagick. See directory 2009 in allknots.txz.

In 2026 I added the possibility to draw torus knots with correct over/under-crossings (fortunately there was not much to do).

See also Drawing torus knots.


Go to: Markus Rost's Web Page