Home / Function/ elasticIn() — svelte Function Reference

elasticIn() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  07f467ef_7bb4_3ad0_0a94_fbf2e3b48817["elasticIn()"]
  8d8f0ca3_5d92_5886_ea4e_cf91e157cffe["index.js"]
  07f467ef_7bb4_3ad0_0a94_fbf2e3b48817 -->|defined in| 8d8f0ca3_5d92_5886_ea4e_cf91e157cffe
  style 07f467ef_7bb4_3ad0_0a94_fbf2e3b48817 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/easing/index.js lines 146–148

export function elasticIn(t) {
	return Math.sin((13.0 * t * Math.PI) / 2) * Math.pow(2.0, 10.0 * (t - 1.0));
}

Subdomains

Frequently Asked Questions

What does elasticIn() do?
elasticIn() is a function in the svelte codebase, defined in packages/svelte/src/easing/index.js.
Where is elasticIn() defined?
elasticIn() is defined in packages/svelte/src/easing/index.js at line 146.

Analyze Your Own Codebase

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

Try Supermodel Free