just tweak the constants of exponentiation

This commit is contained in:
Joe Ardent 2022-10-23 22:14:47 -07:00
parent 4383b703f1
commit 033db88b8e

View file

@ -127,7 +127,7 @@ impl Timer {
}
self.done =
(1.0 - (remaining.as_millis() as f32) / (self.duration.as_millis() as f32)).powf(4.1);
(1.0 - (remaining.as_millis() as f32 / self.duration.as_millis() as f32)).powi(3);
let (sender, rx) = channel();
{