A game played on a tabletop, usually with several balls, one or more of which is hit by a cue.
Questions tagged [billiards]
27 questions
1
vote
0 answers
Python 3.3 Threading.Semaphore does not accept the verbose argument
I have a problem.
I want to use celery on python 3.3, I have installed this packet and it works fine.
But if I run it, there is a problem in the library of billiard. the first problem was that he didn't know the library _subproces. now I have change…

Kristof Dochez
- 290
- 3
- 12
0
votes
2 answers
How can I detect when multiple rigid body velocities are under 0.1?
I am developing an 8 ball pool/billiards game in which I want to find out when all the balls on the table stop.
I tried using this piece of code however the number of balls that have stopped keeps on incrementing to massive numbers when the value…

Coder
- 21
- 2
0
votes
1 answer
Finding collision between two balls
QUESTION:
Given the position, velocity, and acceleration of two balls (Ball#1 and Ball#2). Is there a way to figure out when they will collide?
(The acceleration is constant and caused by friction)
WARNING I'm looking for a function that can take an…

Coltroc
- 1
- 2
0
votes
1 answer
2D Collision between Ball and Immovable object(wall) (Elastic collision?)
So I am making a simple pool game (no ball to ball collisions only ball to wall) and I'm kind of struggling (especially with an actual ball (diameter>0)). (After I figure out the logic and physics I am going to make it on c++ code)
So basically I…

User_Not_Found
- 67
- 7
0
votes
1 answer
How to calculate position of a moving object on a line
So basically I'm making a pool game (sort of) on c++. I'm still thinking about the theory and how exactly to make it before I start coding and I'm a bit stuck. So the ball starting coordinates are given and also an input is given on how much power…

Iliqn Gawrilow
- 13
- 6
0
votes
2 answers
How can I remove the white background and how can i add a stick?
I am trying to create a Billiards game for my project and I am having difficulty in adding the stick and the balls at the same time. Also, when I add the balls the background of the JFrame goes white, it is actually supposed to be green (the color…
0
votes
3 answers
How to create 'billiard ball' reflection boundary condition in python?
According to Erwin Schrodinger (in What is Life?), diffusion can be explained entirely by the random motion of particles. I want to test this myself by create a program the creates a time-step visualization of the diffusion of "gas molecules" in a…

bart cubrich
- 1,184
- 1
- 14
- 41
0
votes
1 answer
Balls colliding - vPython problems
So I'm coding a snooker game, and I decided the best way to figure out how to make the balls collide with one another was to do so in a separate program then copy it in. I'm a pretty competent mathematician, so I've sat down, drawn the event and…

Cowmilker
- 11
- 3
0
votes
1 answer
Python billiards collision response some angle problems with my formula
This is my collision response code for a billiards simulation of 2 moving balls colliding. I used newton's laws of equation and then parametrised the components of the velocity vectors,
Alpha is the trajectory of ball 1
Beta is the trajectory of…

user1998184
- 1
- 1
0
votes
1 answer
Crash in billiard after celery upgrade to 3
I recently did a django-celery upgrade using on a ubuntu 10.4 server. It upgraded celery to 3.0.1 and then also installed billiards. Output as follows.
sudo easy_install --upgrade django-celery
Searching for django-celery
Reading…

mithuntnt
- 507
- 1
- 5
- 17
-1
votes
2 answers
I cannot figure out a way to move the balls
I am currently working on a 3 cushion billiards game project. I have added two balls on the table so far. I am trying to move one of the balls but I am having a hard time doing that. Should I use a timer? If so then could you tell me an effective…

Farhan Hasan
- 21
- 6
-3
votes
1 answer
How do you solve this Pool Game?
I know the answer is B, but I am unclear as to why it is. If someone could kindly explain the process of finding the answer or possibly show a simulation, it would be awesome.
Thank You.

Karandeep Singh
- 13
- 2