Namespace: ease

This namespace contains functions related to easing animation.

Methods

H.util.animation.ease.EASE_IN_OUT_QUINT (val)number static

This function defines easing in and out with slope.

Name Type Description
val number

A value in range [0…1] to translate

Returns:
Type Description
number The translated value

H.util.animation.ease.EASE_IN_QUAD (val)number static

This function defines quadratic easing in.

Name Type Description
val number

A value in range [0…1] to translate

Returns:
Type Description
number The translated value

H.util.animation.ease.EASE_OUT_CIRC (val)number static

This function defines easing out with circ function.

Name Type Description
val number

A value in the range [0…1] to translate

Returns:
Type Description
number The translated value

H.util.animation.ease.EASE_OUT_QUAD (val)number static

This function defines quadratic easing out.

Name Type Description
val number

A value in range [0…1] to translate

Returns:
Type Description
number The translated value

H.util.animation.ease.LINEAR (val)number static

This function defines linear easing.

Name Type Description
val number

A value in the range [0…1] to translate

Returns:
Type Description
number The translated value