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

Function d3_ease_reflect

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

Source from the content-addressed store, hash-verified

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));
4911 };
4912 }
4913 function d3_ease_quad(t) {
4914 return t * t;
4915 }

Callers 1

d3.v3.jsFile · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected