Solving Billiard Problem - Get Help Here

  • Context: Undergrad 
  • Thread starter Thread starter DavidSnider
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving a billiard problem involving a ball with a constant velocity traveling within a rectangular boundary. The challenge is to create a function that calculates the ball's position after a given time, considering reflections off the walls. A suggested approach involves extending the ball's trajectory beyond the rectangle's borders and "folding" it back onto the original plane. Participants emphasize the need for a general formula to effectively map this behavior.

PREREQUISITES
  • Understanding of vector mathematics and reflection principles
  • Familiarity with 2D coordinate systems
  • Basic knowledge of programming functions and algorithms
  • Concept of infinite planes and tiling in geometry
NEXT STEPS
  • Research "2D vector reflection algorithms" for handling wall collisions
  • Explore "infinite tiling techniques" to visualize the ball's trajectory
  • Learn about "mathematical modeling of motion" in constrained environments
  • Investigate "function mapping techniques" for periodic boundary conditions
USEFUL FOR

Mathematicians, game developers, physics enthusiasts, and anyone interested in computational geometry and motion simulation.

DavidSnider
Gold Member
Messages
511
Reaction score
147
This is not homework, I'm just having trouble solving a problem of my own.

Say you have a ball with a constant velocity traveling with an initial direction vector inside a rectangle. Every time it hits a wall the direction vector gets reflected. I am trying to come up with a function that given the initial state of the ball and time-elapsed will return the position of the ball on the table at that time.

Somebody told me something about letting the ball continue across the border and then "folding" back onto the original plane, but I couldn't come up with a general formula for mapping this.

Any help would be appreciated, thanks.
 
Physics news on Phys.org
DavidSnider said:
This is not homework, I'm just having trouble solving a problem of my own.

Say you have a ball with a constant velocity traveling with an initial direction vector inside a rectangle. Every time it hits a wall the direction vector gets reflected. I am trying to come up with a function that given the initial state of the ball and time-elapsed will return the position of the ball on the table at that time.

Somebody told me something about letting the ball continue across the border and then "folding" back onto the original plane, but I couldn't come up with a general formula for mapping this.

Any help would be appreciated, thanks.

Hm. Try seeing the pool table as 2D infinite plane of rectangles and have the ball trace out a straight line across them. Not sure where to go from there though.
 

Similar threads

Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
4K