cubic_in_out() — svelte Function Reference
Architecture documentation for the cubic_in_out() function in index.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 5b91d924_1ee9_7325_0742_4b26927dd4d4["cubic_in_out()"] 8795a504_2189_bf07_fb96_096bc8c92d25["index.js"] 5b91d924_1ee9_7325_0742_4b26927dd4d4 -->|defined in| 8795a504_2189_bf07_fb96_096bc8c92d25 style 5b91d924_1ee9_7325_0742_4b26927dd4d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/transition/index.js lines 19–21
function cubic_in_out(t) {
return t < 0.5 ? 4.0 * t * t * t : 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does cubic_in_out() do?
cubic_in_out() is a function in the svelte codebase, defined in packages/svelte/src/transition/index.js.
Where is cubic_in_out() defined?
cubic_in_out() is defined in packages/svelte/src/transition/index.js at line 19.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free