I’m close to accomplishing what I want for this project, and I will probably ship it soon.
I have made some adjustments and rearrangements to the layout of the user interface to improve the user experience. I have also added a paragraph to explain how to use it and explain what the result and technical terms mean, and also explain the colors on the graph.
The z=0 problem: currently, my script uses the z position provided by the user to determine the position of the apogee and perigee relative to the equator; thus, when the input for z is 0, the result isn’t satisfactory. I will probably use the velocity and the direction of rotation relative to the Earth to solve the problem.
I will also add additional information to notify the user of the problems with their parameters(for example, their parameters will send the satellite into the ground or the orbit is physically impossible).
The scroll function: I want the website to automatically scroll down to the result when the user presses the ”Calculate” button, but it seems like my script can’t detect where to scroll down yet. To fix this, I will try to update my internal JS script.
I have finished transferring the Python code to the website. Now I will be custommizing and improving the user interface.
I’m transferring my Python script to a website so that it’s easier to use, but the process is really messy. I plan to use PyScript, so if anyone knows how to pull this off, please let me know.
I have completed the calculation for the apogee and perigee positions relative to the equator. I have also made some adjustments to the display of the result
I’m trying to determine the theta position of a given position. This will be a step toward determining where the apogee/perigee are relative to the equator.