Skip to main content
Version: Phaser v4.0.0

Phaser.Math.Easing.Quintic

Scope: static

Source: src/math/easing/quintic/index.js#L7

Static functions

In

<static> In(v)

Description:

Applies a quintic ease-in curve to the given value. The value starts changing very slowly and accelerates sharply toward the end, following a fifth-power (v^5) curve. This produces a more pronounced acceleration effect than cubic or quartic ease-in functions, making it suitable for animations that need to start with near-zero velocity and build up to full speed very rapidly.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be eased.

Returns: number - The eased value.

Source: src/math/easing/quintic/In.js#L7
Since: 3.0.0


InOut

<static> InOut(v)

Description:

Applies a Quintic ease-in/out function to the given value. The motion begins slowly, accelerates sharply through the midpoint, then decelerates back to a slow stop. The quintic curve (raised to the 5th power) produces a more dramatic acceleration and deceleration compared to cubic or quartic easings, making it well suited for animations that require a strong, punchy feel with smooth start and end transitions.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be eased, in the range [0, 1].

Returns: number - The eased value, in the range [0, 1].

Source: src/math/easing/quintic/InOut.js#L7
Since: 3.0.0


Out

<static> Out(v)

Description:

Quintic ease-out.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be eased.

Returns: number - The eased value.

Source: src/math/easing/quintic/Out.js#L7
Since: 3.0.0