Home▸Game Development▸Catmull-Rom Spline Camera Rail: Arc-Length Reparametrisation, Constant Speed and Curvature

Catmull-Rom Spline Camera Rail: Arc-Length Reparametrisation, Constant Speed and Curvature

Lay a closed camera rail through hand-placed posts with a Catmull-Rom spline and send two dolly carts along it. The orange cart advances the curve parameter at a steady rate, so it speeds up on long spans and slows on short ones; the teal cart uses an arc-length table and holds a constant speed. Change the knot exponent alpha between uniform, centripetal and chordal and see why clustered posts make uniform splines overshoot, read the curvature and tightest bend radius, and compare the speed curves. A Blender-built rail scene with independent numerical checks.

Game Development3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Catmull-Rom Spline Camera Rail: Arc-Length Reparametrisation, Constant Speed and Curvature ↗ Open standalone

Lay a closed camera rail through hand-placed posts with a Catmull-Rom spline and send two dolly carts along it. The orange cart advances the curve parameter at a steady rate, so it speeds up on long spans and slows on short ones; the teal cart uses an arc-length table and holds a constant speed. Change the knot exponent alpha between uniform, centripetal and chordal and see why clustered posts make uniform splines overshoot, read the curvature and tightest bend radius, and compare the speed curves. A Blender-built rail scene with independent numerical checks.

⚙ Under the hood

Lay a closed camera rail through hand-placed posts with a Catmull-Rom spline and send two dolly carts along it. The orange cart advances the curve parameter at a steady rate, so it speeds up on long spans and slows on short ones; the teal cart uses an arc-length table and holds a constant speed. Change the knot exponent alpha between uniform, centripetal and chordal and see why clustered posts make uniform splines overshoot, read the curvature and tightest bend radius, and compare the speed curves. A Blender-built rail scene with independent numerical checks.

Catmull-Rom SplineCamera RailArc LengthReparametrisationCurvatureKnot ParameterisationGame DevelopmentAnimation

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)