need interpolation algorithm... not cosine

BlitzMax Forums/BlitzMax Programming/need interpolation algorithm... not cosine

TomToad - yeah that does give the shape I want but it's just too much calculation....

Warpy... off the bat what you said does look good but I can't seem to find the right calculation for the full curve(both sides)

a parabolic calc using I using for reference would look like this on the grapher link you posted

a*(x^2)+b*x
filling in the numbers...
x range(0 to 60)
y range(-50 to 50
a = -.045
b = 2.699
for
-.045*(x^2)+x*2.699