Skip to main content
Sandbox Physics

M008 · Moving bases

Curvature & Frenet Track Designer

Edit a spatial cubic path, inspect its tangent, normal and osculating circle, then retime motion against a sampled normal-acceleration target. Recover 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

BackgroundMotion has geometry, a traversal clock and an observational record.

Why it mattersConnect vectors anchored in the apparatus to derivatives recovered from acquired positions.

Start with the essentials

Focus question
Which acceleration bends the path?
One-sentence intuition
Changing time does not change geometric curvature.

Core mathematical model

Editable cubic path

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

Endpoints lie on the curve; inner points steer its tangent. Control polygon edges are not track segments.

A separate traversal clock

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}

The clock is monotone, with an isolated pause when modulation reaches one.

Curvature is geometric

κ=∥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}

A nonzero curve derivative is required. Zero curvature has 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 bends the trajectory. This is net acceleration, not seat load or 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 is sampled; a doubled grid is a diagnostic and cannot exclude every narrow maximum.

Common difficulties

Model versus observation

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

Better mental modelSampling can miss turns, local fits introduce bias, and sampled maxima are not certified continuous bounds.

Run the experiment

  1. 01

    Design a spatial path

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

    What to observe: The same path drives the 3D track, frame, curvature and acceleration.
  2. 02

    Change time, keep geometry

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

    What to observe: Speed and acceleration scale differently; the sampled target is checked explicitly.
  3. 03

    Visit the exceptions

    Compare Straight path, Inflection, Cusp and Midpoint pause.

    What to observe: Undefined directions are omitted, rather than filled in with an arbitrary frame.
  4. 04

    Measure instead of differentiating truth

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

    What to observe: Window size trades noise against bias, including one-sided endpoint errors.