visualization of the wave motion