This piece of code allows you to easily simulate wave propagation through a bunch of different environments.
I have created this repository to give people the opportunity to download the codes I have used to produce the following set of videos:
https://www.youtube.com/watch?v=uBiQsoDaGkE
https://www.youtube.com/watch?v=30iJTWU3Hlc