Skip to main content
Sandbox Physics

M008 · Moving bases

Curvature & Frenet Track Designer

How do the bends in a track and the speed along it set the normal acceleration? Normal acceleration is curvature times speed squared. The shape of the path fixes the curvature at each point; the timing only sets how fast you pass through. Going twice as fast through the same bend gives four times the normal acceleration.

Shape a cubic curve in space and look at its tangent, its normal and its osculating circle. Then retime the motion until the sampled normal acceleration meets a target, and recover the motion from raw position samples.

Interactive modelCurvature & Frenet Track Designer
Sampled peak normal accelerationReady\text{Ready}
Peak change at double densityReady\text{Ready}
Sampled target checkReady\text{Ready}
Frame at selected timeReady\text{Ready}
Selected timeReady\text{Ready}
Selected speedReady\text{Ready}
Acceleration magnitudeReady\text{Ready}
Signed tangential accelerationReady\text{Ready}
Normal accelerationReady\text{Ready}
Geometric curvatureReady\text{Ready}
Osculating radiusReady\text{Ready}
Sampled path lengthReady\text{Ready}
Acquired positionsReady\text{Ready}
Cartesian fit speed-vector RMS errorReady\text{Ready}
Cartesian fit acceleration RMS errorReady\text{Ready}

Physics tutorial

Geometry, timing and acquired evidence

BackgroundEach motion here has three parts: the shape of the path, the timing along it and a record of observed positions.

Why it mattersCompare the vectors drawn on the track with the derivatives you recover from measured positions.

Start with the essentials

Focus question
Which part of the acceleration bends the path?
One-sentence intuition
Changing the timing does not change the curvature of the path.

Core mathematical model

The cubic path you edit

c(q)=∑i=03(3i)(1−q)3−iqiPi\mathbf c(q)=\sum_{i=0}^3\binom3i(1-q)^{3-i}q^i\mathbf P_i

The end points lie on the curve, and the inner points steer its tangent. The lines joining the control points are not part of the track.

Timing along the path

u=t/Tq=u+ϵt2πsin⁡(2πu)v=cqq˙a=cqqq˙2+cqq¨\begin{aligned}u&=t/T\\q&=u+\frac{\epsilon_t}{2\pi}\sin(2\pi u)\\\mathbf v&=\mathbf c_q\dot q\\\mathbf a&=\mathbf c_{qq}\dot q^2+\mathbf c_q\ddot q\end{aligned}

Progress along the path never goes backward. When the modulation reaches one, the motion pauses for a single instant.

Curvature depends only on the path

κ=∥cq×cqq∥∥cq∥3,R=κ−1\kappa=\frac{\lVert\mathbf c_q\times\mathbf c_{qq}\rVert}{\lVert\mathbf c_q\rVert^3},\qquad R=\kappa^{-1}

The formula needs a nonzero derivative of the curve. Where the curvature is zero, there is no finite osculating circle.

Acceleration in the Frenet frame

a=atT+anNat=∥v∥˙an=κ∥v∥2\begin{aligned}\mathbf a&=a_t\mathbf T+a_n\mathbf N\\a_t&=\dot{\lVert\mathbf v\rVert}\\a_n&=\kappa\lVert\mathbf v\rVert^2\end{aligned}

The normal component is what bends the path. This is the net acceleration, not the load on a seat or the support force.

Retiming without changing the path

Tnew=Tan,peakan,targetT_{\mathrm{new}}=T\sqrt{\frac{a_{n,\mathrm{peak}}}{a_{n,\mathrm{target}}}}

The peak comes from sampling. Checking on a grid twice as fine helps, but it cannot rule out every narrow maximum.

Common difficulties

A smooth curve is not the true acceleration

Typical misconceptionA smooth reconstruction or a dense plot proves you have the true acceleration.

Better mental modelSampling can miss turns, local fits add bias, and the largest sampled value is not a guaranteed bound on the continuous curve.

Run the experiment

  1. 01

    Design a path in space

    Choose a control point; drag it in each coordinate view and adjust its height.

    What to observe: One path sets the 3D track, the frame, the curvature and the acceleration.
  2. 02

    Change the timing, keep the shape

    Double the duration, compare the peak, then use the retiming action.

    What to observe: Speed and acceleration scale differently with duration. The sampled peak is compared directly with the target.
  3. 03

    Look at the special cases

    Compare Straight path, Inflection, Cusp and Midpoint pause.

    What to observe: Where a direction is undefined, it is left out instead of being filled in with an arbitrary frame.
  4. 04

    Measure the motion from samples

    Acquire, add noise, change the fit window and export raw positions.

    What to observe: The window size trades noise against bias, and near the endpoints the one-sided fits add their own error.
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy