double EaseCircOut(num t, num b, num c, num d) { t = t/d - 1.0; return (c*math.sqrt(1.0 - t*t) + b); }