summaryrefslogtreecommitdiff
path: root/mechanics.py
diff options
context:
space:
mode:
Diffstat (limited to 'mechanics.py')
-rw-r--r--mechanics.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mechanics.py b/mechanics.py
index d242493..1f9d5cc 100644
--- a/mechanics.py
+++ b/mechanics.py
@@ -1,3 +1,6 @@
def speed(size):
return 86 / (size**0.45)
+def viewport_diag(sizesum):
+ return 370 * max(sizesum,70)**0.431776
+