add tilt field to chart

This commit is contained in:
2026-07-17 16:14:10 -04:00
parent 93acf143f2
commit 35f0ea6db3
3 changed files with 42 additions and 13 deletions

View File

@@ -53,4 +53,8 @@ export function numberToStringWithCommas(n: number):string {
}
return result;
}
export function clamp(val: number, min: number, max: number) : number {
return Math.min(Math.max(val, min), max);
}