Travelling waves and granular resistance
The centreline is prescribed by two phase-shifted waves along body coordinate s:
x = s + Ax sin(ks + ωt)
y = Ay sin(ks + ωt + δ)
Here k = 2π/λ and ω = 2πf. The illustrative axial amplitude is 0.04λ. A vertical wave raises alternating sections; contact is assigned below the illustrative normalised-lift threshold 0.32. The illustrative body length is two wavelengths. The baseline axial resistance is c∥ = 0.75 N·s/m² (illustrative).
At each body element, local velocity is the sum of centreline deformation and unknown body translation. The local resistive-force law is
f = −w [c∥ v∥ t + c⊥ v⊥ n]
The solver chooses the two translation components so that the integrated horizontal force is zero. The ratio c⊥/c∥ is the transverse-to-axial resistance control. The wave travels tailward at λf.
What is simplified
- The gait is prescribed; muscles, ribs, neural control and body elasticity are not solved.
- The substrate is represented by a local, linear anisotropic resistance law. Real granular media can be nonlinear, history-dependent and sensitive to grain size, depth and intrusion angle.
- Contact is a binary threshold in the model, not a deformable collision simulation. Body lift is visually scaled by 2.5× in the scene.
- Coefficients and gait settings are illustrative, not measurements of a particular snake or sand bed.
This is an educational mechanics model, not a biological measurement or a validated prediction for a particular species.