Easing Function

Easing Function

An easing function is a mathematical rule that describes how change occurs over time. In practice, it generally is used to control things such as opacity or positioning, such that something may slowly or rapidly fade in/out or bounce into view.

RPG Architect supports many easing functions that can be used with Transitions, user interfaces, commands, and more. These easing functions include simple linear to complex multi-parametric calculations.

Note: A user interface may use a bounce easing function to fall into place with a gentle recoil on land.

Note: A screen transition may leverage an exponential easing function to gradually, and then sharply, adjust how quick a fade-in occurs.


Easing Functions


Bounce

Bounce is an elastic change that will be influenced by gravity and elasticity, while performing a number of bounces, emulating a bouncing ball.

Properties

System

Name Explanation Type
Bounces The number of bounces. Number
Elasticity The elasticity in each bounce. Number
Gravity The gravity effecting the bounce. Number

Circular

Circular is a change that occurs by accelerating, decelerating, or a combination of the two, emulating the rotational velocity of a ball.

Properties

System

Name Explanation Type
Mode The mode for the function. Circular Easing Mode

Circular Easing Mode

Name Explanation
In Easing in.
Out Easing out.
In and Out Easing in and out.

Elastic

Elastic is an elastic change that will be influenced by amplitude and frequency, emulating a spring that compresses and expands.

Properties

System

Name Explanation Type
Amplitude The amplitude of the spring. Number
Frequency The frequency of the spring. Number

Exponential

Exponential is a linear change that will be influenced by an exponent.

Properties

System

Name Explanation Type
Exponent The exponent. Number

Instant

Instant occurs instantly and does not change.


Linear

Linear is a change that remains constant from beginning to end.


Sinusoidal

Sinusoidal is a change that occurs by accelerating, decelerating, or a combination of the two, emulating the natural feel of a wave.

Properties

System

Name Explanation Type
Mode The mode for the function. Sine Easing Mode

Sine Easing Mode

Name Explanation
In Easing in.
Out Easing out.
In and Out Easing in and out.