phetsims / hookes-law

"Hooke's Law" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 4 forks source link

Should equilibriumXProperty be a Property? #59

Closed pixelzoom closed 6 years ago

pixelzoom commented 6 years ago

While working on PhET-iO instrumentation, I have yet to see equilibriumXProperty change. So I suspect that it should be a constant, not a Property.

pixelzoom commented 6 years ago

Each spring has its own equilibriumXProperty, and it does change for springs in series. What is displayed is the equilibriumXProperty for the equivalent spring, which does not change. So in the general Spring model, it needs to be a Property.