phetsims / pendulum-lab

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

Pixel polishing #165

Closed arouinfar closed 7 years ago

arouinfar commented 7 years ago

Reviewed the latest dev with @jonathanolson this afternoon to discuss pixel polishing. I have a handwritten list on my desk, so self-assigning myself so I remember to convert it to a checklist tomorrow morning.

arouinfar commented 7 years ago

Colors

Sizing

Alignment

Energy Graph

Period Timer

Misc

I can also make some recommendations for the spacing in the length/mass and gravity/friction panels, but I'd like to see how much space the alignment tweaks will buy us.

jonathanolson commented 7 years ago

On Intro, left align default position of Ruler with the toolbox panel

This currently happens for horizontally-constrained aspect ratios, but resizing the window keeps it in the same "view" location relative to the pendula: pendulum-ruler-1 pendulum-ruler-2

Since this sim is NOT using the default (default is 1024x618, it's using 768x504), it causes it to pull away on things like iPads by default.

@arouinfar and @ariel-phet, is this at a non-standard aspect ratio for a reason, or can I set it to the standard one and rework the sim to fit?

@arouinfar, will other changes to the ruler initial positioning be needed? Any sort of "move the ruler based on the current screen size" would come with complications.

jonathanolson commented 7 years ago

Height of Energy graph should be consistent on Energy and Lab screens.

Then what is the desired behavior for its position? Currently on the Energy screen, it is top-aligned.

I was imagining the energy graph would be sized on each screen to fit nicely between the top and the tool checkbox panel.

Instead it sounds like we need to decide to keep the graph on the top (on the Energy screen), or on the bottom?

jonathanolson commented 7 years ago

Move vector icons to the right so that there is ~10px padding between the point and right edge of the panel

Is this describing moving these icons to the right?: pendulum-vectors

arouinfar commented 7 years ago

is this at a non-standard aspect ratio for a reason, or can I set it to the standard one and rework the sim to fit?

There is NO reason why the sim should be at a non-standard aspect ratio. Please use the standard size @jonathanolson.

Then what is the desired behavior for its position?

My original thought was that the height would be defined by the amount of space available on the Lab screen, and it would be the same size on the Energy screen. However, it sounds like the height can be defined by how much available space there is on each screen? If that's the case, then I think it would be nice to allow for a taller Energy Graph on the Energy screen (top of screen down to toolbox panel) and scale it down a bit to fit the space between the vectors and toolbox on the Lab screen.

Is this describing moving these icons to the right?:

👍

jonathanolson commented 7 years ago

I believe all of the relevant changes have been made, so I'd love to get feedback on the current version (published http://www.colorado.edu/physics/phet/dev/html/pendulum-lab/1.0.0-dev.13/pendulum-lab_en.html so it would be easy).

What further tweaks should be made?

arouinfar commented 7 years ago

@jonathanolson overall things are looking really good! A few more things

jonathanolson commented 7 years ago

Implemented those three changes, let me know how they look.

arouinfar commented 7 years ago

Looks good @jonathanolson! When I requested for the Friction control to be moved down 10 px, my thinking was that giving the readout extra padding would reduce the padding between Gravity thumb and Friction title. I'd like to keep the same relative spacing between the thumb on the Gravity slider and the Friction title, so can you move the Friction controls back up? image

jonathanolson commented 7 years ago

Ok, reverted the extra space between the "gravity controls" and "friction controls". Sorry about that!

Let me know if that looks good, and if there are any other related changes.

arouinfar commented 7 years ago

Thanks, looks great! I don't have any further requests @jonathanolson.