The continuous Heisenberg chain and constrained harmonic motion