Ground texture, trajectories and retinal curl distributions across conditions.

(A) Snapshot of the ground texture based on simplex noise. Yellow lines indicate optic flow vectors computed using the Farnebäck algorithm. A clear rotational component (curl) is visible, consistent with the observer looking at a point (yellow dot) located to the left of the simulated path. The Focus of Expansion is shifted in the direction of the gaze. (B) Schematic of the experimental trajectories. Position (0, 0) represents the starting point of simulated locomotion. The red arrow indicates the initial heading (θ0), which was aligned longitudinally with the 3D scene (world coordinates). Participants were instructed to report their perceived heading within this world-centered reference frame. The five colored dots mark the fixation points in world coordinates at the beginning of each trial (20 m ahead of the observer). (C–E) Distributions of mean retinal curl across trials for left-, center-, and right-gaze conditions, respectively. Dark filled bars indicate the unaltered curl condition, while lighter bars and outlined steps represent the cancelled curl condition. The vertical grey line denotes zero curl.

Perceived heading

Reported instant directions are plotted when fixating eccentric points on the ground. Rows: fixation 2 m (top) and 4 m (bottom) to the side. Columns: different physical path conditions (centre column = straight path). Colours code for initial gaze direction (left / centre / right). Thick coloured lines denote the mean across observers. Thin coloured lines denote individual observers. Dark grey denotes physical paths. Axes show lateral position (x-axis) versus depth position (y-axis)

Average perceived heading for each gaze condition (columns) and each physical path curvature (rows), separately for the three retinal–flow manipulation conditions: unaltered curl (green), cancelled curl (cyan), and over-cancelled curl (purple).

Shaded envelopes indicate between-observer variability (95%-CI). Note the heading biases in the gaze center condition/middle row. Unexpected positive or negative curl was added in some trials to mantain a full factorial design (see main text for more details). The right axis applies to the last column and illustrates the mean 2D displacement between observed and physical paths. This measurement indicates the mean displacement that is required for the observed path to align with the physical one. The displacement is shown for the different flow manipulations (color-coded). The error bars indicate between-observer variability (95%-CI).

Separate fits of the controller.

Average perceived heading across participants for each gaze condition (columns) and each physical path curvature (rows), separately for the three retinal–flow manipulation conditions (thiner solid lines): unaltered curl (green), cancelled curl (cyan), and over-cancelled curl (purple). The different red thicker solid lines denote the best fit of the controller. The numbers in each panel indicate the average lateral deviation per step between the fit and the observed heading. Note that for the centered gaze and straight path, only the unaltered flow condition was fitted.

Neural network model of gaze-contingent heading bias.

The parameters used to produce these panels are: I0 = 0.03, Kp = 0.4, σp = 0.18, σk = 0.12. (A) Ring attractor connectivity showing synaptic weight (W) as a function of relative preferred heading (Δϕ) in pixels, featuring a central excitatory peak and asymmetric inhibitory sourround. While we present results using asymmetric connectivity, no significant differences were observed between asymmetric and symmetric configurations. (B) Heatmap of neural activity across neuron preferred headings (y-axis) over the frame index (x-axis), with a dashed red line indicating the decoded population heading estimate for the trial in which gaze directed 4 m to the left. (C) Mechanism of sensory-prior competition plotting normalized amplitude against ring position in pixels, illustrating the spatial alignment of the straight-ahead prior (blue dotted line), gaze-centered inhibition (red dashed line), and the resulting neural activity bump (black solid line). (D) Phase portrait showing the change in heading (/dt) versus the heading estimate (θ) in pixels, with a horizontal line at zero marking the convergence of the trajectory toward a stable fixed point The color bar denotes frame number.

Parameter values for reproducing experimental biases.

σ values are expressed in fractions of azimuth range in pixels which was set to 360 in our simulations.

Performance for the two fitting approaches (separate and join: models) in the different retinal flow conditions.

Cost is the average 2D deviation per step between the fit and the observed heading.

Reproduction of steering paths towards targets.

Response of the controller model (red lines) to the conditions introduced in Experiment 3 of Wilkie and Wann 2003.Targets were placed 60 m ahead at 10, 14, and 18 to the left and right (grey circles). The grey lines denote an approximation of the observer paths reported in Wilkie and Wann (2003). The simulated speed in their study was 8 m/s

Parameters of the controller to successfully steer to the 6 targets shown in figure S17.

The controller speed was very close to the simulated speed (8 m/s) in (Wilkie and Wann, 2003). The final lateral position always ended within the target dimensions (2 m width).