A simple wave simulator showing either a simple transverse wave on a string, or longitudinal waves in gas.