Governing equations
A clothoid has curvature proportional to distance along the curve:
κ(s) = s / (R L), 0 ≤ s ≤ L
Here R is the target circular radius and L is the transition length. Since curvature is the rate of change of heading,
dθ/ds = κ(s), θ(s) = s² / (2 R L)
The centreline is integrated with fixed-step fourth-order Runge–Kutta:
dx/ds = cos θ, dy/ds = sin θ
For constant speed v, the lateral acceleration magnitude is a = v²κ. During the transition its rate of increase is
da/dt = v³ / (R L)
What is simplified
The vehicle is a point following the road centreline at constant speed. The model omits suspension, tyre forces, banking, steering dynamics, weather, driver response and vertical road profile. The direct-arc case deliberately introduces an idealised curvature step.
What is illustrative
All slider values, road dimensions and vehicle speeds are illustrative design inputs, not a surveyed road or a safety recommendation. The equations and units are textbook mechanics and curve geometry. Real road design also considers standards, sight distance, superelevation, drainage and local constraints.
An educational mathematical model; not a road-design approval tool.