How this calculation works
Parallel transport a tangent vector along shorter unit-sphere great-circle arcs, returning endpoint vectors and closed-loop holonomy.
v′=R_{a×b, atan2(‖a×b‖,a·b)}v; closed-loop angle=atan2(a·(v₀×vfinal),v₀·vfinal).A worked example
Transport around the coordinate-octant triangle returns to (1,0,0) with a 90° tangent rotation, total arc length 3π/2 and transported vector (0,0,1).
Good to know
2–50 nonzero spatial path directions normalized to the unit sphere. Consecutive antipodal directions rejected; identical consecutive directions give zero-length steps. Nonzero initial vector perpendicular to first direction required. Closing endpoint may be repeated explicitly; holonomy only for closed paths, principal signed angle modulo 2π.
Reference: Mathematical method reference (opens in a new tab) ↗
Move a tangent vector along spherical geodesics
Parallel transport moves a tangent vector while keeping its covariant turning along the surface equal to zero. On the unit sphere, transport along a shorter great-circle arc can be implemented by the spatial rotation carrying the arc’s starting direction to its ending direction around their common normal axis.
The result stays tangent to the sphere and preserves the vector’s length. A sequence of arcs composes these rotations in path order. Even when the final point equals the starting point, the vector may return with a different tangent direction. That closed-loop rotation is holonomy and reflects the sphere’s curved geometry.
Compare this with the Rotation minimizing frame calculator along a sampled space curve. Transport a tangent vector along piecewise great-circle arcs and report closed-loop holonomy;Euclidean frame transport along a sampled space curve is a different connection.
Enter directions and an initial tangent
List two to fifty nonzero three-dimensional path directions. They are normalized internally, so their lengths need not be one. The initial vector must be nonzero and perpendicular to the first normalized direction. It is a tangent vector, not another point on the sphere and not a displacement between consecutive path vertices.
Consecutive antipodal directions are rejected because they do not choose a unique shorter great-circle arc. Identical consecutive directions are allowed as zero-length steps. To close a polygon, explicitly repeat the starting direction at the end; an open path is transported normally but does not receive a closed-loop holonomy angle.
Follow the coordinate octant triangle
The default path visits the positive x axis, positive y axis and positive z axis, then returns to the positive x axis. Every side is a quarter of a great circle, so total path length is three pi divided by two radians. The initial tangent at the x-axis point is the positive y direction.
After the three transport steps, the vector is the positive z direction at the original x-axis point. Its signed angle relative to the initial tangent is ninety degrees under the stated orientation convention. Thus a vector can be locally parallel all along the route and still return rotated after traversing a closed spherical loop.
Compute one step with a rotation axis
For consecutive unit directions a and b, their dot product gives the cosine of the arc angle and the norm of their cross product gives its sine. The normalized cross product defines the oriented rotation axis. Using atan2 of sine and cosine selects the shorter angle between zero and pi.
Rodrigues’ rotation formula applies that rotation to the current tangent vector. This rotates its component along the geodesic with the moving tangent frame and leaves the perpendicular great-circle normal unchanged. The same spatial rotation therefore realizes Levi-Civita parallel transport along the chosen arc without a numerical differential-equation integration along intermediate samples.
Check tangency norm and path history
The output contains one transported vector at each path vertex, including the initial vector. At each endpoint, dot its vector with the normalized path direction to check tangency, and compare its norm with the initial norm. The implementation checks both conditions after each nonzero transport step.
Path length is the sum of shorter arc angles in radians on the unit sphere. It is not the straight chord length between the supplied coordinates. On a sphere of radius R, the corresponding physical arc length is R times that angular total, while the tangent-direction rotation and closed-loop holonomy remain angular quantities.
Read the signed holonomy convention
For a closed path, the final and initial vectors lie in the same tangent plane. Their oriented angle is computed using the starting outward normal, giving a signed principal angle modulo two pi. The reported degrees are a conversion of that same angle, not a separately integrated curvature quantity.
Angles differing by a full turn describe the same returned tangent orientation. The principal value therefore does not count how many turns might accumulate under repeated winding. Reversing a simple closed route reverses the signed holonomy modulo a full turn, while changing the initial tangent length does not change the angular result.
Respect path ambiguity and numerical limits
A path direction very close to the antipode of its predecessor can make the rotation axis unstable because their cross product is tiny. This is a geometric ambiguity of the chosen arc, not merely an inconvenient parameter value. Insert an intermediate direction that explicitly selects the intended route when the path approaches that situation.
The calculator supports piecewise shorter great-circle arcs on a unit sphere, not arbitrary latitude arcs, ellipsoids or other curved surfaces. Repeated closure is accepted intentionally. For an open route, compare endpoint tangency and length preservation rather than expecting a holonomy value, because the tangent planes at distinct endpoints are different spaces.
A few questions, answered
Which path arcs are used?
The shorter great-circle arcs between successive normalized directions.
Can two consecutive points be antipodal?
No. They do not choose a unique great-circle arc.
Is vector length preserved?
Yes. Norm and tangency residuals are checked after each transport step.
What does closed-loop holonomy mean?
The signed principal angle between the initial and returned tangent vectors,modulo a full turn.