
I've been researching curves all day but I can't find info on how to do the kind of curve I want to do.
http://img64.echo.cx/img64/5442/curve6ra.jpg
Here we have a set of curves.
The first is a linear interpolation between A and B, through C. The next is a halfcosine interpolation through C. The next is halfway between the halfcosine and a square wave, And the last is a squarewave interpolation through C.
As you can see, C remains in a fixed location.
I would like to be able to move smoothly between these curves by adjusting a value from 0..1, where 0 is linear, and 1 is the square wave interpolation.
Also, note that the line does not break in the middle until the full square wave is achieved.
I'm thinking that that is where some value reaches infinity, and that at 0.999 it will almost look like a square wave, but not quite.
I'm also thinking that maybe it is possible that exponential numbers might allow me to achieve this sort of curve, but I'm not sure how. I do know that you can produce curves of varing "sharpness" by increasing an exponent.
