(x)
| 49 | |
| 50 | |
| 51 | def ease_out_bounce(x): |
| 52 | n1 = 7.5625 |
| 53 | d1 = 2.75 |
| 54 | if x < 1 / d1: |
| 55 | return n1 * x * x |
| 56 | elif x < 2 / d1: |
| 57 | x -= 1.5 / d1 |
| 58 | return n1 * x * x + 0.75 |
| 59 | elif x < 2.5 / d1: |
| 60 | x -= 2.25 / d1 |
| 61 | return n1 * x * x + 0.9375 |
| 62 | else: |
| 63 | x -= 2.625 / d1 |
| 64 | return n1 * x * x + 0.984375 |
| 65 | |
| 66 | |
| 67 | def ease_out_elastic(x): |
nothing calls this directly
no outgoing calls
no test coverage detected