Ended up with,
PHP Code:
function onCreated()
{
this.amp = 0.2;
this.period = 4;
this.initialy = 2;
setTimer(0.05);
}
function onTimeout()
{
this.value += 0.05;
temp.value = (this.amp*sin((this.value*this.period)+this.initialy));
setTimer(0.05);
}
Created a nice little bob =)
End result is on Litheria above a sign =D