News for hackers. Stuff that matters.
Re:Easing Functions by greggman on Tuesday May 12, 2015 @01:01PM (#9533131)
I had never used a tweening library with easing functions. I had used my own easing function before but not a library. So I threw one together, made a small sample to test it. Turned out better than I expected.

http://greggman.github.io/doodles/tween.html

Re:Easing Functions by amelius on Tuesday May 12, 2015 @12:44PM (#9533005)
Very handy. Ideas for next version: allow control points of the bezier curve to be moved; generate a javascript function (for those of us who want to run the animation from within javascript completely).
Re:Easing Functions by 91bananas on Tuesday May 12, 2015 @02:27PM (#9533827)
Re:Easing Functions by agumonkey on Tuesday May 12, 2015 @03:20PM (#9534196)
Always liked Verou's single-functions websites http://lea.verou.me/projects/.
Re:Easing Functions by anezvigin on Tuesday May 12, 2015 @03:23PM (#9534219)
It would be neat if they included the elegant easing equations themselves. IIRC they're usually based on Robert Penner's work in 2001.
Re:Easing Functions by glhaynes on Tuesday May 12, 2015 @06:50PM (#9535525)
Agreed. This (indirectly linked from the op) has code: http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js
Re:Easing Functions by lux on Tuesday May 12, 2015 @02:08PM (#9533698)
I love this. Would be handy to include examples of when particular functions map well to specific types of interactions.
Re:Easing Functions by pizza on Tuesday May 12, 2015 @03:40PM (#9534328)
The contrarian in me wants to say that if you want to make something move like a natural object, just make a force diagram and derive x(t) from first principles. This is neat for visualizing other easing functions, though.
Re:Easing Functions by Rangi42 on Tuesday May 12, 2015 @02:10PM (#9533708)
I expected that clicking on a easing function would use that function to transition to its detail page. Instead, it uses what looks like easeInOutQuint for all of them.