Skip to content

MrMineev/GravitySimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravity Simulator

This is a gravity simulator. To run the code run:

python3.11 main/main.py

Here are the commands to steer the rocket:

Movement:

w - forward
a - left
s - backward
d - right

To change the speed of movement:

p - increase speed
l - decrease speed

Scaling:

z - zoom in
x - zoom out

Change speed of scaling:

b - increase scaling speed
n - decrease scaling speed

Rocket:

i - on
j - off

Rotation:

0
9

Rocket Force:

1 - increase rocket force
2 - decrease rocket force

Link

https://mrmineev.github.io/articles/gravity-simulator/gravity-simulator

About

Simulates gravity using Newton's law of gravity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published