mivion / swisseph

Swiss Ephemeris binding for node.js
GNU General Public License v2.0
205 stars 71 forks source link

How to determine the sign position of planets, etc.? #75

Closed kingram6865 closed 3 years ago

kingram6865 commented 3 years ago

The code is really fast. My test code retrieved the position of the Sun: { longitude: 77.2707032514088, latitude: 0.00017030973477109325, distance: 1.0150754072616814, longitudeSpeed: 0.9562904992667407, latitudeSpeed: -0.000018033602508116673, distanceSpeed: 0.00011533146435347834, rflag: 258 }

So how do I have the calculations return the Sign position of the planet? Is there an API function I have overlooked? Is that sign(constellation) data something that is not provided by Swiss Ephemeris?

kingram6865 commented 3 years ago

Figured it out.