You’re reading the docs for Phaser v4.0.0. The latest is Phaser v4.1.0.

Phaser.Math.Easing.Quadratic

Scope: static

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

Static functions

In

staticIn(v)

Description:

Quadratic ease-in.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be eased.

Returns: number - The eased value.

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


InOut

staticInOut(v)

Description:

Quadratic ease-in/out. Applies a quadratic curve that accelerates in the first half of the range and decelerates in the second half, producing a smooth S-curve transition. Useful for animations that need to start gently, move briskly through the middle, and settle smoothly at the end.

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/quadratic/InOut.js#L7
Since: 3.0.0


Out

staticOut(v)

Description:

Quadratic ease-out.

Parameters:

nametypeoptionaldescription
vnumberNoThe value to be eased.

Returns: number - The eased value.

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