Hi, I was wondering if some one could help me with this problem I have?
I have a routine that Shockwave knocked up for me to draw a sinewave scroller.
It works great but now I would like to make some changes to it and as maths is not
my strong point I once again find my self stuck again!
I have been trying to get the sinewave to randomly change like on some of the old
Amiga demos Amplitude change and so on, god this is hard to explain

Here is my code for the scroller.
Function Do_Scroller()
ScrlPos:+2
If ScrlPos > 16 Then
ScrlPos:-16
Textpos:+1
If Textpos > Len(ScrollText) - 52 Textpos = 1
End If
Local DrawPos:Int
Local TextAdd:Int
Local Letters:Int
TextAdd = 0
DrawPos = (-16) - ScrlPos
Repeat
Letters = (Asc(Mid(ScrollText, (Textpos + TextAdd), 1)) - 32) * 16
For Local IL:Int = 0 To 15
DrawImage Font, DrawPos + IL, 300 + (70 * Sin(Sineadd + DrawPos + IL)), Letters + IL
Next
TextAdd:+1
DrawPos:+16
Until DrawPos >= xRes
End Function
Thanks for any help.