Easing functions

"Easing functions specify the rate of change of a parameter over time.

Objects in real life don’t just start and stop instantly, and almost never move at a constant speed. When we open a drawer, we first move it quickly, and slow it down as it comes out. Drop something on the floor, and it will first accelerate downwards, and then bounce back up after hitting the floor.

This page helps you choose the right easing function."

https://easings.net/#

The Lua package includes an example for LOVE 2D
This is a set of 30 scripts for JavaScript , LUA and Game Maker Studio 2!
The kit includes:

EaseInSine, EaseOutSine, EaseInOutSine, EaseInQuad, EaseOutQuad,        EaseInOutQuad, EaseInCubic, EaseOutCubic, EaseInOutCubic, EaseInQuart,   EaseOutQuart, EaseInOutQuart, EaseInQuint, EaseOutQuint, EaseInOutQuint,   EaseInExpo, EaseOutExpo, EaseInOutExpo, EaseInCirc, EaseOutCirc,   EaseInOutCirc, EaseInBack, EaseOutBack, EaseInOutBack, EaseInElastic,   EaseOutElastic, EaseInOutElastic, EaseInBounce, EaseOutBounce, EaseInOutBounce

Download

Download
Easing functions.yymp 25 kB
Download
Ease_Functions.js 3 kB
Download
Ease_Functions.lua 5 kB

Leave a comment

Log in with itch.io to leave a comment.