Closed Nancy-Salpepi closed 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.
My other thought on this is why do we let the A and C atoms get that close?
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:
On devices that don't allow resizing the browser window, you can rotate the molecule to see the full diploe. Screenshot:
Thanks for taking the time to respond. Much appreciated.
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.
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.
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.