mrdoob/three.js — pull request #1569 by WestLangley (2012-03-23 04:46:23+00:00)
Title: TubeGeometry: Added support for closed paths

Uses parallel transport frames to prevent excessive 'twisting' of the Frenet frames, and to ensure continuity at the start and end points. See issue #905.