When negotiating their way through cluttered environments, desert ants, Cataglyphis fortis, tend to run along the midlines of the alleys formed by adjacent low shrubs. This 'centring response' was investigated by inducing foraging ants to walk through artificial channels. The sidewalls of the channel were either homogeneously black or provided with stationary or moving black-and-white gratings. The speed of motion and the spatial period of the gratings and the height of the walls could be varied independently on the left-hand and right-hand sides of the channel. The results clearly show that the ants, while exhibiting their centring responses, try to balance neither the self-induced image speeds nor the contrast frequencies seen in their left and right visual fields, but the vertical angle subtended by the landmarks on either side. When manoeuvring through the channel, the ants always adjust the lateral positions of their walking trajectories in such a way that the vertical angles subtended by the walls are identical for both eyes.