This is the rough spline that I'm trying to find the simplest equation for.
The only data point constrains are {0,0} and {1024,256}
The closest I've got is this: 
How can I go about refining the equation so that it intersects the two points?
Or is there a better / simpler way of doing this other than with tanh?
Thanks!
viable solution found:
$\frac{x-512}{128+|x-512|}$*160+128
(thanks to Joel Reyes Noche!)