This is a bit a blast from the past. While thinking about waves, I thought of this little C program, I wrote in April 2000 (we moved in June 2000 to Boston which was quite an adventure, our car broke down, and I drove from Austin to Arlington twice).
As for the source file, this is now posted here. I had used this program also go make the pictures on this page on mathematik.com. Note that in 2000, we all accessed the internet through telephone modems (explaining why I had posted such small pictures).