added tape

This commit is contained in:
2025-06-06 19:49:18 +10:00
parent 45a77a59d3
commit 9b0519c89a
10 changed files with 583 additions and 15 deletions

View File

@@ -9,7 +9,7 @@
const minRotation = 0.5;
const maxRotation = 2.5;
const minHeight = 200;
const maxHeight = 700;
const maxHeight = 600;
// Linear interpolation between min and max rotation based on height
let rotation = maxRotation - ((height - minHeight) / (maxHeight - minHeight)) * (maxRotation - minRotation);