Orbit Simulation Project 1 (Java):
This is a project I worked on in the Fall of 2022 which aimed to simulate the motion of celestial bodies
relative
to
each other.
The program uses a pre-made graphical interface called Plot.java, which is adapted from an online resource I
found
exploring simulations in Java.
The program uses a very simple methodic approach to calculating the motion of the celestial bodies, which is
based
on Newton's laws of motion.
This was done in place of a more complex approach such as using the Runge-Kutta method, which is a more accurate
method of calculating the motion of celestial bodies.
The reason for this was to keep the program simple and easy to understand, as well as to keep the program
running
at
a reasonable speed.
The other main reason to do this is because I wanted to make it so if there were an object in a very eccentric
orbit, it would be able to affect the others' paths
without needing to calculate a parameterized path, and perform several derivatives, which would be
time-consuming.
This program can be found on my GitHub here.