phetsims / build-an-atom

"Build an Atom" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/build-an-atom
GNU General Public License v3.0
11 stars 10 forks source link

Nucleons do not return to center after going from unstable --> stable #146

Closed phet-steele closed 7 years ago

phet-steele commented 7 years ago

Labeling as "dev:phet-io" since I do not see this bug in any production version.

  1. From start, put two protons in the atom (any screen).
  2. Check Stable/Unstable.
  3. Take a proton out. The remaining proton will not be centered. Can happen with neutrons.

Easily seen with the center mark:

screen shot 2017-03-06 at 11 46 06 am

The phet-io reported values of that proton's position:

screen shot 2017-03-06 at 11 33 04 am

Seen on macOS 10.12.3 Chrome. For phetsims/tasks#792.

phet-steele commented 7 years ago

@jbphet, interestingly, this is not fixed after a reset all, or taking everything out of the atom.

phet-steele commented 7 years ago

Fixed, thanks.