phetsims / sound-waves

"Sound Waves" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 1 forks source link

"Cone effect" creates waves that do not follow Huygens' principle #14

Closed matthew-blackman closed 1 year ago

matthew-blackman commented 1 year ago

The sound sim applies a "cone" effect for the sound waves, which looks like this:

SoundConeEffect

The physics displayed here are problematic both in terms of accuracy as well as pedagogy. The correct behavior is displayed in the 'Waves Intro' and 'Wave Interference' sims:

CorrectWaves

I strongly recommend removing this cone effect, as it is not an accurate model can be confusing to students (eg. Why am I able to hear sound from a speaker if I'm standing next to it and not in front of it?)

matthew-blackman commented 1 year ago

The code that creates this cone is in a function called applyTemporalMask in SoundModel.ts. Removing the call to this function causes the first screen of the sim to look like the following:

Screen Shot 2023-08-14 at 12 22 42 PM

This is a huge improvement in my opinion. It more accurately shows how sound waves emanate from a speaker, while obeying Huygens' principle and justifying why you can hear the sound anywhere in the room (even without reflections).

I think this is worth implementing fully before publishing the sim, since it pedagogically important.

matthew-blackman commented 1 year ago

This has been implemented and is looking/behaving great. Closing.