Permalink
Browse files

More documentation on bounce gravity parameter

  • Loading branch information...
1 parent e3681c9 commit 5b3a6d5a3bd8c85ec63846a830edf42730df42a1 @brianchirls committed Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -471,7 +471,7 @@ Animation accelerates towards and end bounces against it multiple times like a b
###### Parameters
-`gravity` - Rate of acceleration towards the end point. Since the animation scales to the duration of the Popcorn event, you will probably need to play around with this value until you find the setting that looks good. Must be a number greater than zero.
+`gravity` - Rate of acceleration towards the end point. Since the animation scales to the duration of the Popcorn event, you will probably need to play around with this value until you find the setting that looks good. Must be a number greater than zero. A `gravity` value of 2.0 will make the first "drop" from 0 to 1 take the entire time of the animation.
`bounce` - A number from 0 to 1 that represents the "height" of each bounce. When set to 0, the animation will accelerate to the end and then stop. At 1, the animation will bounce without diminishing until the end of the event (and stop abruptly).

0 comments on commit 5b3a6d5

Please sign in to comment.