Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement calculations to determine the planet's orbital position #15

Open
jChicote opened this issue Oct 22, 2023 · 0 comments · Fixed by #19
Open

Implement calculations to determine the planet's orbital position #15

jChicote opened this issue Oct 22, 2023 · 0 comments · Fixed by #19
Labels
enhancement New feature or request

Comments

@jChicote
Copy link
Owner

Description

With the data extracted from the API-Gateways, we have what we need to calculate the positions of the planet. Use simpler heliocentric calculations to pinpoint the position of a planet within the provided capture timestamp. Each of these calculations should provides a vector with values: x, y and z.

Acceptance Criteria

  • Outputted vector is in an x, y and z format.
  • Should exist as accessible functions for the planet creator (might be moved into its own service or logic class in the future)
  • Calculations should be performant
  • Rendered planets should be closely accurate to current planetary orbits

Implementation

  • Create a folder within the Game folder that will contain all the functions for the game / visualiser
  • Write calculations with the ephemeris data
  • Hook up outputted positions to the planet creator
@jChicote jChicote added the enhancement New feature or request label Oct 22, 2023
@jChicote jChicote linked a pull request Oct 25, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant