cosinekitty / astronomy

Astronomy Engine: multi-language calculation of Sun, Moon, and planet positions. Predicts lunar phases, eclipses, transits, oppositions, conjunctions, equinoxes, solstices, rise/set times, and other events. Provides vector and angular coordinate transforms among equatorial, ecliptic, horizontal, and galactic orientations.
MIT License
456 stars 63 forks source link

how to add planet ceres in astronomy.js? #349

Closed testori1972 closed 2 months ago

testori1972 commented 3 months ago

I want to modify astronomy.js and astronomy.ts, I want to know how to calculate the planet Ceres and what various websites?

cosinekitty commented 3 months ago

There is probably an algorithm for the 4 major asteroids somewhere. I would start by looking at Stellarium to see how they do it.

testori1972 commented 3 months ago

Yes, don't forget to include a tutorial on how to calculate the formula for 4 asteroid bodies so you can make more planetary bodies, and now I have to learn a lot about Blender to render to ThreeJS then render to HTML, CSS and JS