-
pygame
-
math
-
time
-
os
-
Click on one of the grey rectangles and begin typing in the initial conditions. Use the
UP_ARROW
andDOWN_ARROW
keys to switch between the rectangles. Text boxes will appear as light-grey when selected. Enter the following initial conditions:-
Initial x-velocity in the top most text box.
-
Initial y-velocity in the middle text box.
-
Launch angle in the bottom most text box.
A recommended initial condition would be
x-vel = 4.5
,y-vel = 16
andangle = 45
. -
-
Press Enter to start Simulation.
Simulation would rom for 60 seconds
, then after the program will close.
- To quit the program click the x in the top right corner, or press
q
at anytime while the program is running. - To reset the program when running press
r
at anytime the program is running. - To delete inputs from the text boxes before pressing enter, select the text box and use the
BACK_SPACE
key.