This simulator models the motion of an object falling under gravity. In physics this motion is called free fall. The only force acting on the object is gravity, which causes a constant acceleration toward the ground.
The position of the falling object is calculated using the classical kinematic equation:
h = h₀ − ½ g t²
Here h₀ is the starting height, g is the gravitational acceleration, and t is time. On Earth, gravity is about 9.8 m/s².
As the simulation runs, the program calculates the object's height at each moment in time and records the values. Those values are then plotted on the graph above, showing how the height decreases as time passes. The curve forms a parabola because the distance fallen grows with the square of time.
Try changing the gravity value to see how motion changes on different planets. For example:
Notice how stronger gravity makes the object reach the ground faster. This simple model is the same mathematics used in basic mechanics problems and is a first step toward understanding more complex motion like planetary orbits and rocket trajectories.