Learn to Program with ZedLX

Free Online Programming Course for Beginners

Time and Animation [8/9]

Here is a simulation of a bouncing ball.

Press left and right arrow keys to move the ball.

After running and studying the program, change the strength of the gravity. Can you find out which number needs to be changed? Try tripling the gravitiy and then also try halving it.

Loading...