Closed KatieWoe closed 5 years ago
Good find @KatieWoe. It looks the particles reset their positions when the frequency was cranked up. Here, the particles on the right side of the lattice exhibit the random background motion and no longer correspond to the wavefronts. @samreid can you investigate?
In https://github.com/phetsims/wave-interference/issues/158#issuecomment-437366575 we decided to set up one set of sound particle force parameters at max frequency, another at min frequency and to interpolate in between. This value is updated instantaneously across the lattice, and I believe this is responsible for the effect we are seeing.
@arouinfar or @ariel-phet do you want to investigate this for RC.2 and/or for future versions? This issue is present in the published 1.0 version. Any ideas for how to address this?
Thanks @samreid.
It sounds like what we're seeing here is a limitation of the particle model. The particle model supports a single frequency, so changing the frequency will lead to misalignment between the particles and the wavefronts at the previous frequency(ies).
@ariel-phet is this something you'd be okay with deferring? This behavior certainly isn't ideal, but given the goals of the particle view, I think it's acceptable. I would also update the Teacher Tips to explain this limitation.
@arouinfar I am fining deferring, the waves catch up pretty quickly. It is a bit odd, but really the main learning goal here (as you point out implicitly) is that dense particles (high pressure) correspond to crest in the wave view. Moderate speed changes to the frequency basically look fine.
@arouinfar I think you could put in the teacher tips and close as wontfix
or defer, I will let you make that call.
The Teacher Tips have been updated, closing as wontfix
.
Test device Dell and Jordan Operating System Win 10 and Mac 10.14 Browser Chrome Problem description For https://github.com/phetsims/QA/issues/405 (both) and published. When the frequency of the sound wave is changed, the particles that are currently part of older waves also drastically change their behavior, though there doesn't seem to be a reason for this. Steps to reproduce
Visuals https://drive.google.com/file/d/1WoGXkcdZ0nPN9EmBdKw03htttTYSOIHd/view?usp=sharing
Troubleshooting information: