Basically, this is what I'm trying to acheive in its simplest form.

[IMG]http://img72.imageshack.us/i/dsgjgsfnhfn.jpg/[/IMG]

Does anyone know how to change sin/cos in this way? I just require them to linearly increase/decrease over the set amount of time set on the x axis.

In case of the link not working, these are the kinds of values I require:

x=0, y=0;

x=0.1, y=0.1;

x=0.9, y=0.9;

x=1.1 y=0.9;

x=1.9 y=0.1;

x=2.1 y=-0.1;

x=2.9 y=-0.9;

x=3.1 y=-0.9;

x=3.9 y=-0.1;

x=4.0 y=0;

Thanks in advance.