Closed arouinfar closed 4 years ago
I'll fold this into to testing https://github.com/phetsims/QA/issues/524.
For https://github.com/phetsims/QA/issues/529
I thought the ball colors could be a bit more saturated. The color momentum should also be changed since we usually reserve yellow for acceleration. I experimented locally with the colors, and found some that I think work nicely.
These are color changes from the screenshots above:
BALL_COLORS: [
new Color( 37, 221, 222 ),
new Color( 325, 37, 173 ),
new Color( 149, 27, 235 ),
new Color( 235, 192, 27 )
],
MOMENTUM_VECTOR_FILL: 'rgb( 71, 79, 179 )',
@ariel-phet do these look reasonable to you? Any objections/suggestions?
@arouinfar FYI the second color in BALL_COLORS
(new Color( 325, 37, 173 )
) is equivalent to new Color( 255, 37, 173 )
) since rgb values only go up to 255.
@ariel-phet I pushed these changes to master so you can see it in action. Please close if master is good.
@arouinfar FYI the second color in BALL_COLORS (new Color( 325, 37, 173 )) is equivalent to new Color( 255, 37, 173 )) since rgb values only go up to 255.
🤦♀️ Looking at my illustrator file, I meant to use rgb(235, 37, 173)
which got corrected to rgb(255, 37, 173)
. However, I think it was a happy accident because a red value of 255 leads to an improved contrast between the magenta and purple balls.
@arouinfar generally I think these work quite nicely, but I have to say I am not a big fan of the "yellow" color. It feels a bit mustard to me...could it be more orange? That feels like it would be more consistent.
@ariel-phet we already use orange for the center-of-mass. Would it be a problem if we have colliding colors?
Thanks for the feedback @ariel-phet. I originally went with mustard because it was a color that doesn't already appear in the sim and is dark enough for the path to be seen against the background.
If we want to go with something more in the vein of yellow-orange, rgb( 248, 151, 16 )
is an option. It's a bit close to the current COM color, so I experimented with alternatives for the COM.
CENTER_OF_MASS_FILL: new Color( 39, 145, 86 ),
CENTER_OF_MASS_FILL: new Color( 248, 4, 37 ),
CENTER_OF_MASS_FILL: Color.BLACK,
CENTER_OF_MASS_STROKE: Color.BLACK,
Personally, my preference would be to stick with mustard or go with option 1. What would you prefer @ariel-phet?
@arouinfar I think @kathy-phet had some thoughts. We should probably have a quick collision lab meeting at design this week anyhow since it is so close to publication to finalize.
Sounds good @ariel-phet. Please include a link to this issue in the preflight.
Discussed in the 8/27/20 design meeting.
rgb( 255, 90, 0 )
rgb( 70, 70, 70 )
rgb( 50, 50, 255 )
@kathy-phet gave these colors a 👍 over Slack.
@jonathanolson please make the following changes:
rgb( 255, 90, 0 )
rgb( 50, 50, 255 )
rgb( 70, 70, 70 )
Should be complete with the above commit, can you verify?
Looks great!
Self-assigning to experiment with CollisionLabColors.js.