phetsims / projectile-data-lab

"Projectile Data Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 0 forks source link

Data measures overlay overlaps with field sign for large projectile distances #159

Closed matthew-blackman closed 8 months ago

matthew-blackman commented 8 months ago

It was discovered that the data measures overlay can occlude the field sign for large distances. To reproduce this, launch pumpkins from launcher 3 and click 'Standard deviation' and 'Values'.

Screen Shot 2024-02-13 at 12 14 41 PM

@ariel-phet and I mocked up some ideas on how this can be fixed. We considered a combination of the following:

  1. Moving the mean value panel below the mean indicator
  2. Shrinking the mean indicator slightly
  3. Moving the SD arrows and values down, closer to the mean indicator.
  4. Raising the field sign and extending its legs
  5. Moving the field sign to the right
  6. Adding a semi-transparent backdrop to the data measures overlay, specifically the SD values

Here is a (very) rough mockup that we came up with in our initial discussion.

Screen Shot 2024-02-13 at 12 18 23 PM

Let's find a balance between fixing this issue without totally overhauling the aspects of the sim design that are working well. @catherinecarter and @arouinfar can you weigh in on how you feel about solutions 1-6 above, and any others we can consider?

arouinfar commented 8 months ago

@matthew-blackman the solutions all sound reasonable to me and the mockup looks good.

catherinecarter commented 8 months ago

Before I weigh in about a suggestion given above, let's also consider that the interval tool also occludes the field sign: image

catherinecarter commented 8 months ago

I like the idea of

I'm on the fence about

I'm not a big fan of the mean readout being under the mean for two reasons

Questions

matthew-blackman commented 8 months ago

@catherinecarter how do you feel about the interval tool being draggable whereas the data measures overlay is not? The interval tool starts out in the middle of the field, and in order to block the sign the user would need to actively move it there. This is distinct from the data measures overlay, which could appear in front of the sign and be unable to move.

It seems okay to me that a draggable component should be allowed to move in front of other components. For example, the user can move the measuring tape or stopwatch in front of other components, which is totally okay. There could be further improvements to make on the interval tool once the field sign and data measures overlay are resolved, but I think we can focus our attention on these before turning our attention to draggable tools.

catherinecarter commented 8 months ago

@matthew-blackman - yes, I thought of that, too. The interval tool is much less of a concern for me as well. My previous comments were solely for the non-draggable components like the field sign and the data measures.

matthew-blackman commented 8 months ago

We reached a healthy compromise here by making adjustments to the field sign and data measures overlay as described above. Now in cases where the standard deviation text overlaps the field sign, all text and UI is still fully visible and readable. @catherinecarter mentioned that the data measures overlay is a bit cramped now, and we adjusted its sizing to make improvements within the constraints we have. I would consider this issue closed. If ideas for further improvements come up please reopen.