|
|
|
@@ -173,6 +173,16 @@ math.createUnit("footballFields", { |
|
|
|
prefixes: "long" |
|
|
|
}); |
|
|
|
|
|
|
|
math.createUnit("peopleInLooseCrowd", { |
|
|
|
definition: "1 m^2" |
|
|
|
}) |
|
|
|
math.createUnit("peopleInCrowd", { |
|
|
|
definition: "0.3333333333333333 m^2" |
|
|
|
}) |
|
|
|
math.createUnit("peopleInDenseCrowd", { |
|
|
|
definition: "0.2 m^2" |
|
|
|
}) |
|
|
|
|
|
|
|
math.createUnit("people", { |
|
|
|
definition: "75 liters", |
|
|
|
prefixes: "long" |
|
|
|
@@ -387,6 +397,9 @@ const unitChoices = { |
|
|
|
"miles^2" |
|
|
|
], |
|
|
|
"relative": [ |
|
|
|
"peopleInLooseCrowd", |
|
|
|
"peopleInCrowd", |
|
|
|
"peopleInDenseCrowd", |
|
|
|
"footballFields" |
|
|
|
], |
|
|
|
"quirky": [ |
|
|
|
@@ -2597,6 +2610,13 @@ const backgroundColors = { |
|
|
|
"light": "#555" |
|
|
|
} |
|
|
|
|
|
|
|
const settingsCategories = { |
|
|
|
"background": "Background", |
|
|
|
"controls": "Controls", |
|
|
|
"info": "Info", |
|
|
|
"visuals": "Visuals" |
|
|
|
} |
|
|
|
|
|
|
|
const settingsData = { |
|
|
|
"show-vertical-scale": { |
|
|
|
name: "Vertical Scale", |
|
|
|
|