Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update colors #131

Closed
arouinfar opened this issue Jul 31, 2020 · 12 comments
Closed

Update colors #131

arouinfar opened this issue Jul 31, 2020 · 12 comments
Assignees

Comments

@arouinfar
Copy link
Contributor

Self-assigning to experiment with CollisionLabColors.js.

@arouinfar arouinfar self-assigned this Jul 31, 2020
@arouinfar
Copy link
Contributor Author

I'll fold this into to testing phetsims/qa#524.

@arouinfar
Copy link
Contributor Author

For phetsims/qa#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.
Collision Lab screenshot (3)
Collision Lab screenshot (1)
Collision Lab screenshot (2)
Collision Lab screenshot

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 arouinfar assigned ariel-phet and unassigned arouinfar Aug 12, 2020
brandonLi8 added a commit that referenced this issue Aug 12, 2020
brandonLi8 added a commit that referenced this issue Aug 12, 2020
@brandonLi8
Copy link
Contributor

@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
Copy link
Contributor Author

@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.

@ariel-phet
Copy link

@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 ariel-phet assigned arouinfar and unassigned ariel-phet and arouinfar Aug 13, 2020
@brandonLi8
Copy link
Contributor

@ariel-phet we already use orange for the center-of-mass. Would it be a problem if we have colliding colors?

@arouinfar
Copy link
Contributor Author

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.

Option 1: Original Color

Collision Lab screenshot (8)
Collision Lab screenshot (9)

Option 2: Forest Green

  CENTER_OF_MASS_FILL: new Color( 39, 145, 86 ),

Collision Lab screenshot (1)
Collision Lab screenshot

Option 3: Red

  CENTER_OF_MASS_FILL: new Color( 248, 4, 37 ),

Collision Lab screenshot (2)
Collision Lab screenshot (3)

Option 4: Black

  CENTER_OF_MASS_FILL: Color.BLACK,
  CENTER_OF_MASS_STROKE: Color.BLACK,

Collision Lab screenshot (6)
Collision Lab screenshot (7)

Personally, my preference would be to stick with mustard or go with option 1. What would you prefer @ariel-phet?

@arouinfar arouinfar assigned ariel-phet and unassigned arouinfar Aug 19, 2020
@ariel-phet
Copy link

@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.

@arouinfar
Copy link
Contributor Author

Sounds good @ariel-phet. Please include a link to this issue in the preflight.

@arouinfar arouinfar removed their assignment Aug 24, 2020
@arouinfar
Copy link
Contributor Author

arouinfar commented Aug 27, 2020

Discussed in the 8/27/20 design meeting.

  • The mustard color is too muddy. Use a more saturated version of the COM orange, rgb( 255, 90, 0 )
  • Change COM to be a dark gray. rgb( 70, 70, 70 )
  • Try something closer to a royal blue for momentum so its saturation is similar to velocity and has better contrast with the black used for the total momentum in the Momenta Diagram. rgb( 50, 50, 255 )
    Collision Lab screenshot

@kathy-phet gave these colors a 👍 over Slack.

@jonathanolson please make the following changes:

  • Ball 4: rgb( 255, 90, 0 )
  • MOMENTUM_VECTOR_FILL: rgb( 50, 50, 255 )
  • CENTER_OF_MASS_FILL: rgb( 70, 70, 70 )
  • CENTER_OF_MASS_STROKE: Color.BLACK
  • Make the COM Values background transparent white to match the other value readouts.
    image

@jonathanolson
Copy link
Contributor

Should be complete with the above commit, can you verify?

@arouinfar
Copy link
Contributor Author

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants