Newton's Cannonball Simulator
The idea of this game comes from
Newton's cannonball:
https://en.wikipedia.org/wiki/Newton%27s_cannonball
Thanks, Newton.
The result of the calculation is only an approximate value !
============================================================
Try to input these values and have fun!
Planet | Planet value | Mass | Diameter |
Mercury | 107.9 | 330.22 | 487.8 |
Venus | 169.5 | 4869 | 1210.36 |
Earth | 173.7 | 5965 | 1275.6 |
Mars | 127.5 | 642.19 | 679.4 |
Jupiter | 553 | 1900000 | 14298.7 |
Saturn | 522.5 | 568800 | 12054 |
Uranus | 339.3 | 86810 | 5111.8 |
Neptune | 345.4 | 102470 | 4953.2 |
============================================================
How to play:
- Press F to fire.
- Enter the number and press Enter key to confirm.
- Click restart button to restart the scene.
- Click fixed button to switch camera model. In fixed model, press the zoom button to zoom in and out. In free model,press WASD to move, and hold right mouse button to change perspective.
- Click clear button to clear all bullet in the scene
- Click info button to show this page.
Value introduce:
1.The planet value is generated by algorithm criticism, in which the default is earth (173.7). Please click the question mark button beside it for other planet value. It is only used to control the correct circular motion of the bullet without affecting the calculation results.
2.When the gravitational constant (G) value is the default value, the planet mass (M) fills the 10^-21 times of the original value, unit is kg.
3.Planet diameter (R*2) is 0.1 times the original value, unit is km.
These data can be found on Wikipedia!
The calculation formula used is:
============================================================
Screenshots:
============================================================
You can check out the Wikipedia to get more information about gravity :
Newton's laws of motion:
https://en.wikipedia.org/wiki/Newton%27s_laws_of_motion
Gravitational constant:
https://en.wikipedia.org/wiki/Gravitational_constant
Gravity:
https://en.wikipedia.org/wiki/Gravity
Escape velocity:
https://en.wikipedia.org/wiki/Escape_velocity
Solar System:
https://en.wikipedia.org/wiki/Solar_System#Inner_Solar_System
============================================================
Wish you can like it!
Please leave comment below help me make it better.
Have fun!
Leave a comment
Log in with itch.io to leave a comment.