phetsims / capacitor-lab-basics

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

Change battery slider to have snap-to behavior at 0.05 jumps? #227

Closed kathy-phet closed 4 years ago

kathy-phet commented 6 years ago

@arouinfar - Comparison of doubling/halving is challenging with the voltage slider right now because it does not "snap to" nice values. What do you think of making them 0.05 jumps reproducible? Currently jumps seem to be around 0.03, so you would have close to as much flexibility in exact numbers.

Note that voltage readout would need to stay 3 decimal places because changing area and separation can change voltage too.

kathy-phet commented 6 years ago

@jonathanolson - How invasive would the proposed change be? (It would be great for the study if Amy agrees and it is small enough that it can happen today and republish).

arouinfar commented 6 years ago

@kathy-phet I think 0.05 V jumps would be great, but we'll still need to keep the BATTERY_VOLTAGE_SNAP_TO_ZERO_THRESHOLD at 0.150 V due to the behavior at small voltages (see #138).

kathy-phet commented 6 years ago

OK - makes sense. I will touch base with JO.

phet-steele commented 6 years ago

This is working in 1.6.4 phet-io. Will keep open to spot check in phet brand

DianaTavares commented 6 years ago

Working well when testing with https://www.colorado.edu/physics/phet/dev/html/capacitor-lab-basics/1.6.6-rc.1/phet/capacitor-lab-basics_all_phet.html, closing

arouinfar commented 6 years ago

Reopening with status:fixed-awaiting-deploy for #237.

arouinfar commented 4 years ago

Not sure when it happened, but this behavior is present in latest. Closing.