phetsims / unit-rates

"Unit Rates" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 2 forks source link

major marker units for Racing Lab screen? #145

Closed pixelzoom closed 7 years ago

pixelzoom commented 7 years ago

@arouinfar What are the desired major marker increments for the Racing Lab screen? Since the denominator (hours) updates when the rate is changed, major markers must be defined in terms of the numerator (miles).

I'm working on this now, so I will proceed with major markers at 10-mile increments (10, 20, 30,...)

arouinfar commented 7 years ago

@pixelzoom 10-mile increments seems like a natural choice to me. However, I know we'll run into crowding issues if a student adds all 20 major markers to the DNL, though it may be a somewhat unlikely use case.

Alternatively, we could use 20-mile or 25-mile increments. The former won't align with the track markers (perhaps not important), and the latter may not offer enough resolution.

@pixelzoom is this something that you can easily adjust later? I'd like to to play with a version with 10-mile increments, though I'm not sure I can commit to it yet.

pixelzoom commented 7 years ago

@arouinfar asked:

is this something that you can easily adjust later?

Yes, easily adjusted later.

arouinfar commented 7 years ago

Good to know @pixelzoom. Thanks!

pixelzoom commented 7 years ago

Note to self: Major marker interval is currently set to 25, implemented in RacingLabModel, as an option to DoubleNumberLine:

48    // Specifies the interval for major markers
49    isMajorMarker: function( numerator, denominator ) {
50      return ( numerator % 25 === 0 );
51    }
pixelzoom commented 7 years ago

After playing around with this... My feeling is that the interval should be the same for the track markers and the major markers on the double number line (DNL). I also think the track markers are a bit large and perhaps don't need to be yellow (and perhaps not even triangles).

1.0.0-dev.48 has track markers at intervals of 50, major markers on the DNL at intervals of 25.

1.0.0-dev.49 uses 25 for both intervals, and has a less prominent track marker (smaller black triangles).

@arouinfar your thoughts?

pixelzoom commented 7 years ago

Screenshots, with identical configuration and markers:

1.0.0-dev.48:

screenshot_139

1.0.0-dev.49:

screenshot_138

arouinfar commented 7 years ago

Thanks for the recommendations and dev versions @pixelzoom. After playing with dev.48 and dev.49, I think major markers in 25-mile increments feels really natural. I also like the amount of space between the major markers as well. It feels really clean.

image

I agree that the track markers could be downplayed a bit, but I think that increasing the number of markers gives them too much visual weight. The track markers help the user "eye-ball" distances and can make resizing a bit more efficient. I find it harder to think about the track length when it's split into 1/8ths.

I like the smaller black markers in dev.49, but I'd rather we kept the spacing at 50 miles.

pixelzoom commented 7 years ago

1.0.0-dev.50 has: • 25-mile increments for major markers on DNL • 50-mile increments for track markers • smaller black track markers

@arouinfar If this looks OK, you can close this issue.

arouinfar commented 7 years ago

Looks great!