Skip to content

bshack/easingjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easingjs

Simplified Penner easing functions.

Each function only takes a position argument, for example:

easeInQuad(pos);

View Robert Prenner's original code:

http://robertpenner.com/easing/

Authors

Based on the original Robert Penner equations, ported over from Jeremy Kahn's Shifty easing methods and then forked from Dan Rogers' easing-js to be published in the npm directory.

Shortcuts

swingFromTo
swingFrom
swingTo
easeFromTo
easeFrom
easeTo
easeInQuad
easeOutQuad
easeInOutQuad
easeInCubic
easeOutCubic
easeInOutCubic
easeInQuart
easeOutQuart
easeInOutQuart
easeInQuint
easeOutQuint
easeInOutQuint
easeInSine
easeOutSine
easeInOutSine
easeInExpo
easeOutExpo
easeInOutExpo
easeInCirc
easeOutCirc
easeInOutCirc
easeOutBounce
easeInBack
easeOutBack
easeInOutBack
bounce
bouncePast
elastic

MIT License

This code may be freely distributed under the MIT license.

About

simplified Penner easing functions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%