MCPcopy Create free account
hub / github.com/bendc/animateplus / getOffset

Function getOffset

animateplus.js:137–138  ·  view source on GitHub ↗
(strength, period)

Source from the content-addressed store, hash-verified

135const pi2 = Math.PI * 2;
136
137const getOffset = (strength, period) =>
138 period / pi2 * Math.asin(1 / strength);
139
140const easings = {
141 "linear": progress => progress,

Callers 1

animateplus.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected