Biological computation of motion by flows over boundaries