Cosinus Interpolation
def cosineInterpolate(y1, y2, x)
{
xv = (1 - cos(x * 3.1415927)) / 2
return y1 + (y2 - y1) * xv
}
Xerothermic Xenomorph
def cosineInterpolate(y1, y2, x)
{
xv = (1 - cos(x * 3.1415927)) / 2
return y1 + (y2 - y1) * xv
}
def cosineInterpolate(y1, y2, x):
xv = (1 - cos(x * 3.1415927)) / 2
return y1 + (y2 - y1) * xv