Giter Club home page Giter Club logo

moshier-ephemeris-js's People

Contributors

0xstarcat avatar blucobalto avatar kibo avatar mivion avatar xerik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

moshier-ephemeris-js's Issues

Solar / Lunar ecplises

I noticed the Eclipses are mentioned among the Future work. It would be great to have this feature as eclipses, both lunar and solar have significant impact in astrology.

Swiss Ephemeris

Starcat.

I noticed you based this library from one library from mivion which is exclusively the moshiers ephemeris, but he has another which is the swiss ephemeris binding in nodejs.

https://github.com/mivion/swisseph

I wonder if this would be a better choice, since by default it uses the moshiers ephemeris, but then you can supply the swiss ephemeris files as well (using their free or professional licence), and gain the extra precision.

html code not working

    <script>
        const ephemeris = new Ephemeris({
            year: 2000, month: 0, day: 1, hours: 0, minutes: 0, latitude: 41.37, longitude: -71.1, calculateShadows: false
        })
        ephemeris.Results;
    </script>
    
    gives: Ephemeris is not a constructor

Eclipses

How do you calculate the eclipses?
For the Lunar, it comes down to finding how close the moon is to either of the nodes.

Ephemeris.moon.orbit .meanAscendingNode.apparentLongitude
Ephemeris.moon.orbit .meanDescendingNode.apparentLongitude

and comparing it to

Ephemeris.moon.position.apparentGeocentric.longitude

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.