Small bug report. The +-20% on the Duration in edge mode is really -80% to +20%. Replacing "(Math.random() + 0.2)" With "((Math.random() - 0.5) * 2 * 0.2 + 1)" on line 482 (file: Heat Control v1.2.5 win\resources\app\files\main.js) will make it +-20%.
Viewing post in Heat Control - edging trainer comments
I think someone mentioned it felt off, thanks a lot for figuring it out!
I'll change now and it'll be included whenever the next update comes.
No idea how I got it that wrong, it's nonsense but it happens.
Your formula works, but I prefer making something more generic instead:
function getRandInInterval(min, max)
{
return Math.random() * (max - min) + min;
}
getRandInInterval(1.0 - 0.2, 1.0 + 0.2);
I like showing intention clearly when possible!