4 ms·
So does it mean it can be used with things like Rebound.js (http://facebook.github.io/rebound-js/examples/ http://facebook.github.io/rebound-js/examples/) to pr
by fredliu 11y ago
So does it mean it can be used with things like Rebound.js (http://facebook.github.io/rebound-js/examples/ http://facebook.github.io/rebound-js/examples/) to provide spring like animation?
- rich_harris 11y agoSpring physics might be a bit challenging, because it involves updating a physical model on a timer loop until the system reaches equilibrium, whereas an easing function crudely approximates a physical system with a very simple formula. Having said that, the rebound.js example page mentions 'pre-recording' the animation, so in theory it ought to be possible to use that as the basis of a timing function. Definitely an area worth investigating.