Commit graph

3 commits

Author SHA1 Message Date
Andrew Meadows
21b2d14956 converting existing JS scripts to use new damping
Old formula the scripts were using:  v *= damping

So a value of 0.999 was "little damping" and a value of 0.001 was "very strong damping",
but now that is reversed.

New formula: v *= (1 j- damping)^dt

A damping value of 0.001 now means "very little damping"
and a value of 0.999 means "very strong damping".
2015-01-05 11:25:15 -08:00
ZappoMan
68d2be97f7 formatting fixes 2014-09-03 19:46:33 -07:00
ZappoMan
31716697c0 new example script 2014-09-03 18:35:09 -07:00