Sources and sinks of wave patterns