value

Circularly, linearly samples this mode at node coordinate t, which wraps around modulo n (so both -0.5 and n - 0.5 land halfway between the last and first node).