phetsims / friction

"Friction" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/friction
GNU General Public License v3.0
4 stars 6 forks source link

numberOfAtomsEvaporated should be a Property #246

Closed zepumph closed 2 years ago

zepumph commented 2 years ago

It has continued to feel sloppy to me that this is just a number on the model, it would be cleaner to make it a Property.

zepumph commented 2 years ago

This is mostly important for phet-io (data stream, state, studio customization)

zepumph commented 2 years ago

@arouinfar, will you please review the new numberOfAtomsShearedOffProperty, this should have been a Property ages ago, I just hadn't gotten around to it just yet.

arouinfar commented 2 years ago

Looks good, thanks @zepumph!