https://github.com/jesperancinha/orbit-simulator
https://github.com/jesperancinha/orbit-simulator
java
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jesperancinha/orbit-simulator
- Owner: jesperancinha
- License: apache-2.0
- Created: 2016-04-12T20:02:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-21T15:42:51.000Z (8 months ago)
- Last Synced: 2025-02-21T16:36:59.096Z (8 months ago)
- Topics: java
- Language: Java
- Homepage:
- Size: 362 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Orbit simulator
---
[](https://github.com/jesperancinha/orbit-simulator)
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/jesperancinha/orbit-simulator/actions/workflows/orbit-simulator.yml)
[](https://www.codacy.com/gh/jesperancinha/orbit-simulator/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jesperancinha/orbit-simulator&utm_campaign=Badge_Grade)
[](https://www.codacy.com/gh/jesperancinha/orbit-simulator/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jesperancinha/orbit-simulator&utm_campaign=Badge_Coverage)
[](https://coveralls.io/github/jesperancinha/orbit-simulator?branch=master)
[](https://codecov.io/gh/jesperancinha/orbit-simulator)[](#)
[](#)
[](#)---
## Description
This project is intended to be a realtime orbiting planets simulation.
This is just a codebase that intends to explore the multithreading world.
More updates coming soon...
## Build
Here is a quick description on how to run this example:
To build it and make the executable jar:
```
$ mvn clean install
$ cd orbit-simulator-csv
$ mvn clean compile assembly:single
```The following is an example on how to run from the command line:
```
java -jar target/orbit-simulator-csv-1.0.0-SNAPSHOT-jar-with-dependencies.jar -n planet1,planet2,planet3,planet4,planet5 -k 1,2,3,4,5 -min 1000 -max 1500 -laps 10 -t 1000 -of /tmp/results.csv
```## References
* http://www.phy6.org/stargaze/Smotion.htm
* https://www.grc.nasa.gov/www/k-12/rocket/corbit.html
*Note: The code presented was initially intended to be used for a race game. That is not the case anymore, but the base code stays for record*
## About me
[](https://github.com/jesperancinha)