Closed aintHuman closed 1 year ago
Relase published: https://github.com/AstroDraw/AstroChart/releases/tag/v2.3.2
hey @aintHuman can you share the project/company where you are using this astrochart? I'm always curious to know, where it is been used
In radix.js, the text formatting is incorrect:
This absolutely SHOULD NOT use the
Math.round
function, it should useMath.floor
Consider a planet with a position of say 29.7 degrees, by using the round function it will render it as "0", which visually implies that the planet sits in the in the next sign (round up to 30, then modulo 30 of 30 is 0). Now this cascades to suggest an entirely different meaning from an astrological interpretation point of view, relative to how it should be interpreted at 29 degrees of the correct sign.
I realise that the actual positioning will be correct since that is done using the float value, but this is almost irrelevant given the size of the typical chart. If a glyph is positioned on the cusp between sign A and sign B, and the label says '0deg' then the visual interpretation is that the planet is sitting at 0deg of Sign B, however, if the label says 29deg, then it is unambiguously in the last degree of sign A.
I cannot stress enough, how using the round function, has critical implications when it comes to astrological interpretations.
Can you either change it to floor, or provide a means to provide our own formatting function, which could even have a default using the function as it is currently defined.
Many thanks.