Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ bounceInOut
Function
bounceInOut
external/.d3.js:5121–5123 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
5119
}
5120
5121
function
bounceInOut(t) {
5122
return
((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;
5123
}
5124
5125
var
overshoot = 1.70158;
5126
Callers
nothing calls this directly
Calls
1
bounceOut
Function · 0.85
Tested by
no test coverage detected