Figure 4. Distant chemotaxis algorithm, modified for directional currents. Only nodes directly upstream ("north") contribute to the received signal. Organism moves upcurrent; i.e., rheotaxis.