A method for measuring the motility of bacteria and for comparing random and non-random motility.