I\'ve been helping out at a navigation library to implement Shared Element Transitions. I\'ve tried to implement a custom Spring interpolation function which looks like the one