INNER CODE UNIT · JavaScript
t
ensisoft/detonator · docu/OpenGL Camera_files/songho.js:321
t = 0.5 * (1 - Math.sqrt(1 - alpha * alpha));
else
t = 0.5 * Math.sqrt(1 - (1 - alpha) * (1 - alpha)) + 0.5;
}
else if(mode == AnimationMode.BOUNCE)
{
}
else if(mode == AnimationMode.ELASTIC)
{
}
return t;
}
///////////////////////////////////////////////////////////////////////////////
// add scroll animation method to an element