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