phetsims / inverse-square-law-common

GNU General Public License v3.0
1 stars 2 forks source link

Update documentation for pullForceRange in ISLCObjectNode #44

Closed jessegreenberg closed 6 years ago

jessegreenberg commented 6 years ago

For phetsims/gravity-force-lab-bascis#49

The documentation for pullForceRange says

  • @param {Range} pullForceRange - the max and min possible force values

but I noticed its usage in gravity-force-lab-basics:

var pullForceRange = new RangeWithValue( 35, 1070 ); // empirically determined for linear mapping of pull objects

@mbarlow12 can you update the documentation in ISLCObjectNode to indicate that this is not the physical range of force but an empirical mapping for the view?

Also, are these values in view coordinates or are they in Newtons?