writhe + twist = linking number

a knot is a curve; a ribbon is a curve with a flat strip stuck to it. the strip's two edges are two closed loops. drag to rotate the view. twist the ribbon with the slider. the edges' linking number always equals writhe + twist — the călugăreanu–white identity, computed live by a gauss double integral.

writhe (gauss)
–
twist
0
writhe + twist
–
Lk of the two edges
–
0
writhe is fixed by the knot's shape (the gauss integral over all cameras). twist is what you add by hand. the sum is the invariant — it's the linking number of the ribbon's two edges, and it can't be changed without cutting the band.