MCPcopy Create free account
hub / github.com/idank/explainshell / d3_ease_reverse

Function d3_ease_reverse

explainshell/web/static/js/d3.v3.js:4903–4907  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

4901 };
4902 }
4903 function d3_ease_reverse(f) {
4904 return function(t) {
4905 return 1 - f(1 - t);
4906 };
4907 }
4908 function d3_ease_reflect(f) {
4909 return function(t) {
4910 return .5 * (t < .5 ? f(2 * t) : 2 - f(2 - 2 * t));

Callers 1

d3.v3.jsFile · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected