better exponential accumulation
This commit is contained in:
parent
7a8097d035
commit
4383b703f1
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ impl Timer {
|
|||
}
|
||||
|
||||
self.done =
|
||||
(1.0 - (remaining.as_millis() as f32) / (self.duration.as_millis() as f32)).powf(3.1);
|
||||
(1.0 - (remaining.as_millis() as f32) / (self.duration.as_millis() as f32)).powf(4.1);
|
||||
|
||||
let (sender, rx) = channel();
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue