0xStarcat / CircularNatalHoroscopeJS

An ES6 library for many astrological chart calculations.
The Unlicense
248 stars 74 forks source link

Import module and SunSign #36

Open Moziezez opened 2 years ago

Moziezez commented 2 years ago

so far i can only import the module by typing const { Origin, Horoscope } = require('circular-natal-horoscope-js'); and then run node js-file.js in console, which is not part of the readme.md. Maybe i just don't get it, because i am new to this topic. Another thing is that it seems like the shift in the star constellation for 'sidereal'-SunSigns are calculated in the wrong direction and are also mislabled as 'tropical'. For example for 07.04.1997 the tropical Sign is Aries, but sidereal Sign is Pisces (according to Stellarium and wikipedia), because our Sun changed the position over the thousands of years from when the dates for Zodiac Sign were set: en.wikipedia.org/wiki/Sidereal_and_tropical_astrology. But when i type Horoscope.SunSign for this date it will give me 'Taurus', as if the shifting happened in the wrong direction (Taurus is after Aries, Pisces is before Aries). Could someone verify this please?

Moziezez commented 2 years ago

So if my code works correctly, i assume that zodiac: 'tropical' is incorrectly implemented in this module and zodiac: 'sidereal' is working, but actually calculates the Sun Signs for the 'tropical' time, which most people use for Zodiac Signs. But as i mentioned these are not the star constellations where the sun is actually positioned. (See wikipedia)