Optical oscilloscope for three-dimensional flow visualization