Home / Function/ bounceInOut() — svelte Function Reference

bounceInOut() — svelte Function Reference

Architecture documentation for the bounceInOut() function in index.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  fae35990_30b7_7cca_f8b8_afc6f70911a2["bounceInOut()"]
  8d8f0ca3_5d92_5886_ea4e_cf91e157cffe["index.js"]
  fae35990_30b7_7cca_f8b8_afc6f70911a2 -->|defined in| 8d8f0ca3_5d92_5886_ea4e_cf91e157cffe
  aa43f591_f5e8_3cc1_717e_948467b101dc["bounceOut()"]
  fae35990_30b7_7cca_f8b8_afc6f70911a2 -->|calls| aa43f591_f5e8_3cc1_717e_948467b101dc
  style fae35990_30b7_7cca_f8b8_afc6f70911a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/easing/index.js lines 67–69

export function bounceInOut(t) {
	return t < 0.5 ? 0.5 * (1.0 - bounceOut(1.0 - t * 2.0)) : 0.5 * bounceOut(t * 2.0 - 1.0) + 0.5;
}

Subdomains

Calls

Frequently Asked Questions

What does bounceInOut() do?
bounceInOut() is a function in the svelte codebase, defined in packages/svelte/src/easing/index.js.
Where is bounceInOut() defined?
bounceInOut() is defined in packages/svelte/src/easing/index.js at line 67.
What does bounceInOut() call?
bounceInOut() calls 1 function(s): bounceOut.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free