This is not my code, thank Juraj Novák for this website. But in essence, this is a really cool [javascript?] visualizer for interpolation functions. It's really really useful to give an idea, visually, of what the difference between different functions are. I thought that since we were talking about movement code, it might be relevant.
http://inloop.github.io/interpolator/