Creating Easing Operators

Let's see what easing is and how we can create our own easing operators for different transitioning styles between two points.

Easing

Now that the observable stream emits progressive values, we can run them through a converter to create different styles of transitioning between two points (also known as easing).

Each possible easing relies on an equation that answers the question, “Given that we are halfway through, where should the center be rendered?” For instance, the following starts slowly, and then accelerates to catch up at the end:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy