3D Dinosaur Gait Lab

A jointed T. rex, Triceratops or Stegosaurus walks with planted feet: Froude number, Alexander stride law, trackway speed, duty factor and ground forces.

Switch to 2D

Presets

Playback

Parameters

Camera

Layers

Quality

Model check

The science

What is modelled

A jointed T. rex, Triceratops or Stegosaurus walks past a Mesozoic landscape. Every foot is placed by two-bone inverse kinematics so that a foot on the ground stays still while the body moves over it. The stride length, stride frequency and the fraction of time each foot is on the ground all follow from one number, the Froude number.

Equations

  • Froude number (dynamic similarity): Fr = v² / (g h), with hip height h. Animals of different size move alike when Fr is equal (Alexander).
  • Relative stride length: λ / h = 2.3 Fr0.3. Solving for speed gives the trackway formula v = 0.25 g0.5 λ1.67 h-1.17, the one palaeontologists use to estimate how fast a dinosaur walked from fossil footprints.
  • Stride period T = λ / v; a foot is on the ground for a fraction (duty factor) β ≈ 0.55 Fr-0.2 of it and moves backwards under the body at speed v during stance.
  • Ground force: each foot pushes with a half-sine pulse of peak F = π w m g / (2 β), where w is the share of weight carried by that foot; the mean over a stride is exactly w m g.
  • Rigid-leg walking (inverted pendulum): θ'' = (g / L) sin θ. The foot loses contact when g cos θ = L θ'², i.e. at cos θ = (Fr + 2) / 3. At Fr = 1 the animal leaves the ground at the top of the step, so a straight-legged walker cannot exceed √(g h).
  • Size scaling: lengths scale with s, mass with s³. A hatchling is not a small adult in time: its stride frequency is higher by 1/√s at equal Fr.

Checks run in the page

  • A headless run of exactly the same gait code (five cases of species, speed, body size and gravity) measures the stride from footprint to footprint and feeds it to the Alexander speed formula; it must return the set speed within 2 %. The same run compares the forward kinematics of the legs with the ground, so a planted foot must not slide or float by more than 2 cm.
  • An RK4 integration of the rigid-leg vault finds the take-off angle for four Froude numbers and compares it with acos((Fr + 2) / 3).
  • The vertical forces of all feet are integrated over a stride for all three species and several speeds; the mean must equal body weight.

Honest simplifications

Body masses (7 t, 6 t, 5 t) and proportions are round museum-style estimates; real estimates vary by a factor of two. The duty-factor law is an empirical order-of-magnitude fit, joints are simple hinges in one plane, the body stays level, there is no aerial hop, no muscle or bone-stress limit and no elastic recoil, so the faster T. rex presets show the geometry of the Alexander law, not proof that the animal could run: published biomechanics (for example Hutchinson and Garcia 2002) argues that a T. rex could not run at all. The bent-knee body height is chosen so every foot can reach the ground; real dinosaurs used a mix of the two. Footprints are generic, not fossil shapes.

What to try

  • Set gravity to 1.62 (Moon) and compare the stride: at the same speed the Froude number is six times smaller, so the stride gets shorter and the gait slower. Dynamic similarity in action.
  • Pick the hatchling: at the same Froude number its legs move much faster than an adult's.
  • Raise the speed until the green line in graph 1 crosses Fr = 1 and watch the gait switch to a trot with an aerial phase for the quadrupeds.
  • Read the "Speed from trackway" value after two footprints: it recovers the true speed from nothing but the print spacing.
Loading model...
Loading Blender model...
Relative stride length vs Froude number (Alexander)
Footfall diagram over one stride (green = foot on ground)
Vertical force of each foot over one stride
Made with 🟠 Blender · Three.js