Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
135
const
pi2 = Math.PI * 2;
136
137
const
getOffset = (strength, period) =>
138
period / pi2 * Math.asin(1 / strength);
139
140
const
easings = {
141
"linear"
: progress => progress,
Callers
1
animateplus.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected