Created
December 14, 2009 23:20
-
-
Save padolsey/256540 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.easing.flicker = function(p, t, b, c) { | |
// p = progression: between 0 and 1 | |
// t = current time | |
// b = beginning value | |
// c = change in value | |
return (Math.random() > .5 ? p : 1) * c + b; | |
}; | |
// See the demo: http://jsbin.com/ihama |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment