It seems the time remaining will increase with time, while the browser implementation will typically start with ~50ms and decrease.
timeRemaining: function () { return Math.max(0, relaxation + (performance.now() - start)); },
What was the thinking behind this, would it make more sense to start with 50ms and subtract as the performance.now value increases?
It seems the time remaining will increase with time, while the browser implementation will typically start with ~50ms and decrease.
timeRemaining: function () { return Math.max(0, relaxation + (performance.now() - start)); },What was the thinking behind this, would it make more sense to start with 50ms and subtract as the performance.now value increases?