# choir l'environement python 
python_mecanique

# Parametres
./billard.py -h  

options:
  -h, --help         show this help message and exit
  --x_a X_A          x coord of ball a
  --y_a Y_A          y coord of ball a
  --x_b X_B          x coord of ball b
  --y_b Y_B          y coord of ball b
  --v_a V_A          initial velocity of ball a
  --v_b V_B          initial velocity of ball b
  --alpha_a ALPHA_A  initial velocity angle of ball a
  --alpha_b ALPHA_B  initial velocity angle of ball b
  --r_a R_A          initial radius of ball a
  --r_b R_B          initial radius of ball b
  --dT DT            time steps size
  --Tend TEND        final time
  --full-screen      start with full screen mode
  --CM               focus on the center of mass


# même masses, vitesses égales et opposées
./billard.py --v_a 1.5 --v_b 1.5
./billard.py --v_a 1.5 --v_b 1.5 --CM

# même masses, vitesses égales
./billard.py --v_a 1.5 --v_b -1.5
./billard.py --v_a 1.5 --v_b -1.5 --CM


# même masses, vitesse de même norme, angles identiques
./billard.py --v_a 1.5 --v_b 1.5 --alpha_a 30 --alpha_b 150        --dT 0.1 --Tend 30
./billard.py --v_a 1.5 --v_b 1.5 --alpha_a 30 --alpha_b 150 --CM   --dT 0.1 --Tend 30


# même masses, vitesse de même norme, angles différent (paramètre d'impacte !)
./billard.py --v_a 1.5 --v_b 1.5 --alpha_a 40 --alpha_b 150        --dT 0.1 --Tend 30
./billard.py --v_a 1.5 --v_b 1.5 --alpha_a 40 --alpha_b 150 --CM   --dT 0.1 --Tend 30


# parametre d'impacte nulle
./billard.py --v_a 1.5 --v_b 1.5  --dT 0.1 --Tend 30


# parametre d'impacte non nulle
./billard.py --v_a 1.5 --v_b 1.5  --dT 0.1 --Tend 30  --y_a 1.7


# parametre d'impacte grand
./billard.py --v_a 1.5 --v_b 1.5  --dT 0.1 --Tend 30  --y_a 7


#######################################
# Masses différentes
#######################################

# m1 > m2 
./billard.py --v_a 1.5 --v_b 0  --r_a 10

# m1 = m2 
./billard.py --v_a 1.5 --v_b 0

# m1 < m2 
./billard.py --v_a 1.5 --v_b 0  --r_b 10
./billard.py --v_a 1.5 --v_b 0  --r_b 30











