mivion / ephemeris

Pure javascript implementation of ephemeris calculations for sun, planets, comets, asteroids and stars.
148 stars 66 forks source link

North and south moon nodes #11

Closed wclr closed 6 years ago

wclr commented 7 years ago

@mivion any advice how north and south moon nodes can be calculated?

mivion commented 7 years ago

This library provides calculations only for bodies. To calc nodes of moon see swisseph.

wclr commented 7 years ago

Thanks for the reply. I'm interested in the solution that can be used on JS client-side. Is it possible to implement it in JS? What is needed for this?

mivion commented 7 years ago

May some one helps?

wclr commented 7 years ago

Is this the place where algorithm can be taken from?

0xStarcat commented 4 years ago

@whitecolor fwiw I found the formula for the Mean Ascending Node and Mean Perigee in a book titled Astronomical Algorithims by Jean Meeus and implemented them into my fork of this repo. Here's the commit and the implementation is in src/utilities/luna.js https://github.com/0xStarcat/Moshier-Ephemeris-JS/commit/1d3b02d8024d63f27e8532901a7581a417a282c5