phetsims / molecule-polarity

"Molecule Polarity" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
2 stars 6 forks source link

Molecular dipole arrow continues off-screen #129

Closed Nancy-Salpepi closed 3 years ago

Nancy-Salpepi commented 3 years ago

For https://github.com/phetsims/qa/issues/688

When atoms A and C are close to one another and have a large electronegativity difference with atom B, the molecular dipole arrow is so large it is off the screen.

Screen Shot 2021-08-06 at 10 24 56 AM Screen Shot 2021-08-06 at 10 38 54 AM
pixelzoom commented 3 years ago

The only way to prevent this would be to change the range of electronegativity. And that might have negative impact (sorry, couldn't resist :) on other aspects of the sim. I also don't think there's a problem with it being so large that it's off-screen. This sim is qualitative, not quantitative, and it tells the student that the diploe is really large. So I think this behavior is fine, and I recommend no change.

@arouinfar your call.

Nancy-Salpepi commented 3 years ago

My other thought on this is why do we let the A and C atoms get that close?

pixelzoom commented 3 years ago

Because it would cause both pedagocial and UX problems.

Pedagogical: It's physically accurate to let them get that close. Constraining them otherwise could lead to misconceptions, like there's some force keeping A and C apart. And it would certainly make it impossible to discover some things: For example, you couldn't discover that the molecule dipole is at its maximum when A and C are at the same position.

UX: If A and C can't get close, then you can't rotate A past C, and visa versa.

On devices that allow it, you can resize the browser window to see the full dipole. Here's a screenshot with ?dev that shows the layoutBounds:

screenshot_1133

On devices that don't allow resizing the browser window, you can rotate the molecule to see the full diploe. Screenshot:

screenshot_1134
Nancy-Salpepi commented 3 years ago

Thanks for taking the time to respond. Much appreciated.

Nancy-Salpepi commented 3 years ago

I actually just found this in teacher tips. I think from now on I am going to read them (if available) before working on a sim. • The Three Atoms screen allows for students to change the bond angle between the outer atoms (A & C). The AB and BC bonds are treated independently, and the model does not allow for these atoms to repel each other. To explore how atoms would repel one another when the bond angles are changed, see the Molecule Shapes simulation. The AB and BC bonds are treated independently.

arouinfar commented 3 years ago

Thanks @Nancy-Salpepi. We generally try to avoid items going off-screen, so it's a good thing to generally look for. That said, there are always exceptions. We sometimes allow things to extend off-screen if it's an extreme value or if repositioning the object can address the issue. In this case, both are true. There isn't anything to do here, so I'll go ahead and close.