I loved the pencilcode application, and found it quite easy to use and modify. For the refraction code I added a loop to show the wave moving in one medium and then traveling into another. You can access that code here: http://tgraba17.pencilcode.net/edit/HSCSSoundWaveDiffMedia
Forum content is subject to the same rules as NSTA List Serves. Rules and disclaimers