domhofmann/PRTween — pull request #42 by chris838 (2014-05-06 12:09:56+00:00)
Title: Linear damping

I've been playing around with linear damping as an alternative to the elastic tween timing functions. I have some code that is able to better mimic (I think) the iOS UIView spring animation:

https://developer.apple.com/library/ios/documentation/uikit/reference/uiview_class/uiview/uiview.html#//apple_ref/occ/clm/UIView/animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:

Currently it is not a really timing function since the duration parameter is ignored. If the duration could be incorporated then I think this would come very close to how Apple implements their function internally.