jChicote / jChicote/Asteroid_Visualizer

Implement calculations to determine the planet's orbital position

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Game folder and the planet creator, then trace how ephemeris data from the API gateways is supplied to the visualizer. The work is done when accessible calculations produce x, y, and z vectors, are connected to planet creation, and rendered planets closely match current orbits.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.