quadInOut() — svelte Function Reference
Architecture documentation for the quadInOut() function in index.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD a885824d_b878_ed21_9725_16a909a1e039["quadInOut()"] 8d8f0ca3_5d92_5886_ea4e_cf91e157cffe["index.js"] a885824d_b878_ed21_9725_16a909a1e039 -->|defined in| 8d8f0ca3_5d92_5886_ea4e_cf91e157cffe style a885824d_b878_ed21_9725_16a909a1e039 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/easing/index.js lines 190–195
export function quadInOut(t) {
t /= 0.5;
if (t < 1) return 0.5 * t * t;
t--;
return -0.5 * (t * (t - 2) - 1);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does quadInOut() do?
quadInOut() is a function in the svelte codebase, defined in packages/svelte/src/easing/index.js.
Where is quadInOut() defined?
quadInOut() is defined in packages/svelte/src/easing/index.js at line 190.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free