Various fixes and changes for animations.

This commit is contained in:
firebingo 2018-04-29 14:14:09 -07:00
parent 57ddeb08f4
commit 00eaff29fb
4 changed files with 92 additions and 32 deletions

View file

@ -87,7 +87,7 @@ class commonFunctions {
break;
//Some of the stuff here is just kinda arbitrary
case "dampsin":
t = (1 * (Math.pow(0.3, t)) * Math.sin((2*Math.PI*t/0.5) + 0)) / 1.25;
t = (1 * (Math.pow(0.3, t)) * Math.sin((2*Math.PI*t/1.0) + 0)) / 1.25;
if(t < -0.45) {
t = -0.45;
}