Click "Go" to make a blue rectangle oscillate horizontally. Its frequency and amplitude are set by values entered into the text boxes below the diagram. As the blue rectangle oscillates it produces a horizontal longitudinal wave and a vertical transverse wave.
At any stage you can click the check boxes to display an undisturbed horizontal medium, links to the moving medium and a graph of the medium's displacement against position along the horizontal direction.