web: update dynamic metrics

This commit is contained in:
Rasmus Andersson 2018-09-28 13:33:56 -07:00
parent 9dc29342aa
commit 92d6ad5724
5 changed files with 64 additions and 79 deletions

View file

@ -82,7 +82,8 @@ var HUDNotification = {
//
function InterUIDynamicTracking(fontSize) {
// tracking = a + b * e ^ (c * fontSize)
return -0.016 + 0.21 * Math.pow(Math.E, -0.18 * fontSize)
var a = -0.017, b = 0.202, c = -0.175;
return a + b * Math.pow(Math.E, c * fontSize)
}