Home / Function/ bounceOut() — svelte Function Reference

bounceOut() — svelte Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/svelte/src/easing/index.js lines 46–61

export function bounceOut(t) {
	const a = 4.0 / 11.0;
	const b = 8.0 / 11.0;
	const c = 9.0 / 10.0;
	const ca = 4356.0 / 361.0;
	const cb = 35442.0 / 1805.0;
	const cc = 16061.0 / 1805.0;
	const t2 = t * t;
	return t < a
		? 7.5625 * t2
		: t < b
			? 9.075 * t2 - 9.9 * t + 3.4
			: t < c
				? ca * t2 - cb * t + cc
				: 10.8 * t * t - 20.52 * t + 10.72;
}

Subdomains

Frequently Asked Questions

What does bounceOut() do?
bounceOut() is a function in the svelte codebase, defined in packages/svelte/src/easing/index.js.
Where is bounceOut() defined?
bounceOut() is defined in packages/svelte/src/easing/index.js at line 46.
What calls bounceOut()?
bounceOut() is called by 2 function(s): bounceIn, bounceInOut.

Analyze Your Own Codebase

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

Try Supermodel Free