(x)
| 65 | |
| 66 | |
| 67 | def ease_out_elastic(x): |
| 68 | if x == 0: |
| 69 | return 0 |
| 70 | elif x == 1: |
| 71 | return 1 |
| 72 | else: |
| 73 | c4 = (2 * math.pi) / 3 |
| 74 | return pow(2, -10 * x) * math.sin((x * 10 - 0.75) * c4) + 1 |
| 75 | |
| 76 | |
| 77 | def get_tracks(distance, seconds, ease_func) -> Tuple[List[int], List[int]]: |
nothing calls this directly
no outgoing calls
no test coverage detected