Examples of spatial navigation under the conditions open arena and simple maze. (A) Example of navigation in the open arena, in which the simulated insect walks from its starting position toward the target area 1. In this example the simulated insect starts from sector 1, then turns left whilst in sector 2, and proceeds forward crossing sectors 6 and 10, to reach the target in sector 14 (see also related Supplementary Videos 1, 2). (B) Example of navigation in the simple maze from starting position toward target area 2. Under this condition, the simulated insect has to move east from its starting position, crossing sector 2, to turn left whilst in sector 3. Then it has to move north, across sectors 7 and 11, before turning right, whilst in sector 15, and complete the path by reaching sector 16 (see also related Supplementary Videos 3, 4). The path of the simulated insect is also represented with a black and white heat-map under the label “Position.” This heat-map allows to track the position of the simulated insect at any step of the simulation, where a binary 0/1 activity encodes the presence of the agent in any of the sectors of the arenas (16 units, one per sector). The inputs reaching the EB are reported under the labels: “body orientation” (4 units, one per possible direction, binary 0/1 activity), “vision” (4 units, one per landmark or visual cue, responding with fixed values of 0, 0.5, or 1, depending on the distance of the landmark), and “angular” (6 units, one per egocentric position of any landmark in the visual field, responding with a binary 0/1 activity). Finally, the black and white heat-map, labeled “EB modules,” represents the activity of the modules in the EB in a single hemisphere. This heat-map responds with continuous values between 0 and 1 and encodes the average activity across the three layers of the EB ring neuropil. In the simulated EB, the competition among modules triggers the selection of one among eight possible actions via gating of LAL premotor activity. The only actions resulting in changes of the simulated insect position or body orientation are encoded in the first three modules as follows: move forward (module 1), turn left (module 2) and turn right (module 3). The other five actions remain part of the competition in the EB, but represent motor activities (e.g., grooming, eating, standing still etc.,) which do not result in movement in the arena and thus do not change spatial navigation behavior.