diff --git a/sketch.js b/sketch.js index 8032c3b..3033c2a 100644 --- a/sketch.js +++ b/sketch.js @@ -3,7 +3,7 @@ let scl = 40; // set viewport size let fr = 60; // 60hz display frequency -let court = {w: 36, h: 5} // real-life court dims, scaled by scl +let court = {w: 23.77, h: 5} // real-life court dims, scaled by scl // constants for drag let DENSITY = 1.293 @@ -185,4 +185,4 @@ class Ball { this.pos.y = court.h; } } -} \ No newline at end of file +}