phetsims / build-a-molecule

"Build a Molecule" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
8 stars 7 forks source link

Intermediate pixel polishes #139

Closed Denz1994 closed 4 years ago

Denz1994 commented 4 years ago

This BAM dev has come across far enough where some pixel polishing could be addressed.

I'll note some points that I think are worth review but will leave to the design team for further input:

Note: There is an ?easyMode query parameter to fill collections easily.

Assigning @ariel-phet for intial review.

Denz1994 commented 4 years ago

Raising priority. Many bug related issues have been addressed. It was suggested that we should include pixel polishes in the next round of dev testing.

arouinfar commented 4 years ago

For the ResetAllButton, we could bottom-align it with the body of the carousel and right-align it with the collection panel. image image

ariel-phet commented 4 years ago

@Denz1994 here are some polishes I would like:

ariel-phet commented 4 years ago

@arouinfar two questions for you

arouinfar commented 4 years ago

It might be better in the 3d window to just have icons for "Space Filling" and "Ball and Stick" view, that would reduce issues we could run into with layout and translation and such. Thoughts?

I like this idea, though I wonder if it's important to include the actual names of the representations of molecular structure. I've pinged @emily-phet to ask her thoughts.

Here's a rough mockup of what the dialog could look like. image

I was thinking on the playground screen it might be nice if the bottom of the buckets stayed aligned as you flip the carousel back and forth, on some carousel pages that would leave a fair bit of white space at top. Does that bother you as is, thoughts on aligning the buckets across carousel pages?

@ariel-phet I think the tallest bucket is vertically centered in the carousel, with the other buckets bottom-aligned. The most noticeable contrast is between the 3rd page (containing a tall stack of chlorine) and the 5th page (relatively short bucket contents). image image

I am fine with the current behavior, though I can see that the vertical jumping could look a bit odd. My guess is the current alignment approach is likely the easiest, but if you feel strongly about the alignment, then I would suggest using the bucket position on the 3rd page everywhere within the carousel.

arouinfar commented 4 years ago

As long a the color scheme used for the atoms is the same as Java, no need to change (I believe those follow some sort of chemistry standard)

@Denz1994 we've defined the various colors for atoms in Nitroglycerin/Element. I believe BAM is already using this. While similar to the Java colors, we did end up making some changes to improve colorblind contrast in https://github.com/phetsims/nitroglycerin/issues/12.

ariel-phet commented 4 years ago

@Denz1994 let's leave the bucket alignment as is for now on the third screen.

Let's also wait until we get some chemist input from @emily-phet if we should consider icons or not.

Denz1994 commented 4 years ago

Most of the changes have been committed. Just awaiting input from @emily-phet on text vs. icon representation for the radio button.

@Denz1994 we've defined the various colors for atoms in Nitroglycerin/Element. I believe BAM is already using this.

This is true. There would be nothing to change here.

emily-phet commented 4 years ago

Weighing in on text vs icon:

Let me know if that helps!

arouinfar commented 4 years ago

@emily-phet thanks for reviewing! Let's move forward with the iconic radio buttons.

n Molecule Shapes, we use purple and white (or is it silver...@arouinfar would know) to convey "generic" molecules. I suggest considering using that same convention in this case, and probably a diatomic, or simple linear triatomic to further simplify the example.

This is great to keep in mind. I think a diatomic molecule with the generic coloring would work nicely.

@Denz1994 the generic molecules in Molecule Shapes are purple/white:

rgb( 159, 102, 218 ) rgb( 255, 255, 255)

I cobbled together a rough mockup using screenshots (ignore the atom colors). I chose a molecule with a double bond so there'd be a bit more contrast between the two options. image

Denz1994 commented 4 years ago

@arouinfar Can you check this dev version to make sure this behavior and appearance are in the correct direction?

Note: I still need to add the radio buttons. Will need @jonathanolson advice to get pass assertion check for the parent type when rendering icons.

arouinfar commented 4 years ago

@Denz1994 that's exactly what I was thinking!

For future reference, icons in the dev version look like this: image

Denz1994 commented 4 years ago

During status meeting on 02/06/20, @arouinfar asked to be reassigned to this issue for additional input on the design of the radio buttons. Is this correct @arouinfar?

arouinfar commented 4 years ago

@Denz1994 here's a mockup of the RadioButtonGroup. image

Denz1994 commented 4 years ago

Master now includes the RadioButtonGroup for the two models. Can you review @arouinfar?

image

arouinfar commented 4 years ago

Looks great @Denz1994!