Press space key to jump. Use number keys 1, 2, 3, 4 and 5 to see gravity simulation in different places.
The instructions for this project are available on the Raspberry Pi projects website https://projects.raspberrypi.org/en/projects/gravity-simulator