Expression based animation with custom easing
I'm working on a templated project where I need to animate the X position between two frames using expressions to feed in the values. I've done this before but only using the basic ease() function and this expression:
In practice this uses two keyframes as a reference to the time to animate between, and then eases the x position of the layer from 800 to 1200.
This time I want to try and get a much smoother ease, and I've seen someone adapting the expressions from Ian Haigh's Ease and Whizz plugin here:
I've managed to get this working as intended for scale, but just can't figure out how to translate this to the x position value of a layer (plus not including the "SCALE LINES" element which Chiara Morlacchi is adding to the equation).
Any suggestions would be appreciated, I'm still learning to write expressions and maths isn't my strong suite! :)