Walking is modelled as an inverted pendulum: the body vaults over a stiff stance leg of length L, then the other leg takes over. With hip angle θ(t) = A sin(2πft) a stance leg sweeps a foot-to-hip distance 2L sin A in half a period, so the gait cycle covers 4L sin A and the speed is v = 4 L f sin A. This page recomputes v from forward kinematics every frame and compares it with that formula.
Dynamic similarity uses the Froude number Fr = v²/(gL). Humans and robots switch from walking to running near Fr ≈ 0.5, because the stance leg can no longer supply centripetal force v²/L ≤ g.
Simplifications: no mass, torque or balance control (purely kinematic), flat ground, sinusoidal hip drive, 1 scene unit = 0.3 m. The knee bends only in the swing phase to clear the ground. Figure is a generic biped, not any real machine.