ajmas / StuffInSpace

A real-time interactive WebGL visualisation of objects in Earth orbit
https://ajmas.github.io/StuffInSpace/
24 stars 9 forks source link

fix: :bug: remove unnecessary transforms from worker #58

Open thkruz opened 8 months ago

thkruz commented 8 months ago

This migrates both workers and the frontend from satellite.js to ootk for better TypeScript support and modernization for alpha 5. As I am the main contributor to satellite.js I can tell you with certainty that it will not be supported as we reach 6 digit satellites and sgp4-xp formats. I know we had a discussion about AGPL vs MIT. You can hold off merging this until I either update the license or write you an exception to it. I am looking at ways to split the core functions from the ones I have added and will happily leave the core ones under MIT.

thkruz commented 8 months ago

It is going to take me a few days, but I have all of the core orbital functions from ootk moved to a new library under MIT (ootk-core). That will give you all of the functionality of satellite.js plus the fixes I have made for alpha-5 (satellite number 100,000+) element sets and a lot of useful transforms - all under MIT. I will keep the more advanced math for initial orbit determination and other tasks common in commercial software under AGPL, but I don't imagine you ever needing any of that for this project.

I'll change the dependencies once the new library is on npm.

ajmas commented 8 months ago

No rush. I'm trying to balance things the best I can too.

thkruz commented 8 months ago

Ton of updates/fixes:

I am using this project to determine what will be in ootk-core and to standardize terms like rightAscension vs raan, but I am confident you can proceed at this point (if you think it is ready). If there are any adjustments you'd like in the syntax of ootk-core just let me know, and if nothing is heard in the next few weeks I will mark it is officially version 1.

Let me know what you think.