Gauss Code Loops

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Draw a closed loop that crosses itself several times. Draw an arrow on the loop, then follow it, labeling every other intersection with 1, 2, 3, …, until the arrow is reached. Following these steps, every intersection will be labeled once, a fact noticed by Gauss. With additional steps, the Gauss code of the loop can be written, allowing reconstruction of the original diagram.
[more]
Contributed by: Ed Pegg Jr (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
Charles Livingston and Jae Choon Cha, "Notation for Knots: Gauss Code."
Permanent Citation
"Gauss Code Loops"
http://demonstrations.wolfram.com/GaussCodeLoops/
Wolfram Demonstrations Project
Published: March 7 2011