Skip to content

Commit

Permalink
fix court length
Browse files Browse the repository at this point in the history
  • Loading branch information
abhobe authored Dec 7, 2023
1 parent 57dea27 commit eab8524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -185,4 +185,4 @@ class Ball {
this.pos.y = court.h;
}
}
}
}

0 comments on commit eab8524

Please sign in to comment.