The mathematics of bridge movements