Simulating wave interference