Do you like cookies? 🍪 We use cookies to ensure you get the best experience on our website. Learn more
Home.
This is the Home Page with all sections and systems.
Astronomical Divination Systems
Initially a horary astrology calculator, also with the idea to include other astrological traditions and systems.
Five Arts
Click to see a choice of calculators by systems in the Five Arts
Liu Yao/Wen Wang Gua simple calculator.
Simple calculator for Liu Yao/Wen Wang Gua.
The old views can be selected from here as well.
BaZi Calculator with Symbolic Stars...
Bazi calculator implementing part of Ani Pecheva's book 'The Stars in the Four Pillars of Destiny' (2010)
Flying Star XKFX Beta Calculator
Simple calculator for Flying Star.
Experimental Version, there may be bugs.
8 Mansions/Houses Beta Calculator
Simple calculator for 8 mansions.
Experimental Version, there may be bugs.
Solar Time and True North calculator.
Calculator for measurement of direction from map and aligning it to True North.
And some other things. : )
Yi Globe.
3D representation of the Hexagrams. Still experimental..
XKDG calculator with Lo Pan.
Can relate 2 directions(facing and qi mouth), still under development.
Ze Ri 择日
A simple Date Selection calculator. We do use it day to day, but professionally there is a lot more that is also looked at.
Loading...
-->
Astrology Calculator Part 2 (3.July.2024)
Lets now look into how to use it. In general the horary astrology partion of it is very easy to use. If we want to know what is happening with a planet, its speed, aspects, applying or seperating, fixed stars, dignities and receptions, speed and exact degrees it is at we just click the Planet. If we want to know what is a significator for a house, we just click the house.
There are some parts of the material in the book that we haven't implemented yet. Triplicity and face, for example. The idea is to get used to the rest then will decide if we add that as well. And some work differently then the usual approach, that is explained in the book. The aspects is one point where people may find it suprising. Most calculators use a wide range for the aspects, meaning even 10 degrees away from it it would sitll count. In the book the idea seem to be to not go higher then 3-5 degrees, so that is how its implemented. Someday will add in the options some selector to allow wider aspects I think. Until then other calculators and ways of measuring it may provide a lot more aspects then what we will work with here. That is not a mistake, its on purpose. Although how and if its actually better only time will tell.
So this is for the horary astrology part. There are arrows in top left and right corners of the screen. Left one will lead to selection of place to align the chart with. By default it will work as if in Bulgaria. The right one will lead to degrees and relations in more table/text format, if one is more used to that.
Now, the other interesting aspect is the connection to the bazi生辰八字 astrology. This is another representation of the same ideas that can be useful to get more Images. Either from western practitioner that want to see what Month and Hour branch images they can deduce from the Rings for specific planets or for Five Arts practitioner that wants to go into more details on what is happening at that branch or stem. My expectation, currently, is that while this is likely to work well in Month and Hour pillars, the Day and Year Pillars are just a guess of how it may need to be represented, so we can use it. So if you want to stay on the safe site, just use the Month and the Hour. While if someone wants to experiment a bit, can give the other two pillars a try as well.
So how is this suppose to be used.
Here we can see the 4 rings. The outside 2 that are colored here show the Month Pillar, while the inside 2 that are black and white show the Hour Pillar. This is for clarity here, in the actual calculator all 4 are colored. The Sun at any given point of time will show the "active" pillars. Same way it does in any way of calculating it,here is how the Sun activated specific pillars from the rings: Here we can see how the Suns position has activated the Month Pillar(the outside 2 rings) and the Hour Pillar(the inside 2 rings).This is for 19 July 2024 at 12:06 with Month Pillars Xin Wei and hour pillar Ji Si That means at this specific day and time this will be the Month and Hour Pillars. The Hour Pillar, here we have aligned with MidHeaven instead of directly with Solar Noon. That choice makes most sense, although it may change the Hour Pillar from the Four Pillars compared to other calculators(even in our own website in the other section). Again, this is the most logical way of doing it, so we plan to stay with it.
All that being said, we also have added Day and Year Pillars. Yet that is very unclear, how would align in the best way. So its very experimental. What we are currently doing is positioning the Branches of Day and Year pillar, to the degrees of the ring of the Hour Pillar carrying that branch. Will that work in practice... No idea, time will tell. If unsure, can still use Month and Hour Pillar, that is very stable logically. The other 2 may need time and charts to fully align.
We change the Western/Zodiac Wheel view to the Five Arts view by clicking the button below the +- Hour and Day addition/subtraction buttons on the right of the screen.
The upcoming astrology calculator (3.July.2024)
The initial idea was to make a simple astrology calculator that will be easy to use. As in the current state of things, it seems for a person new to this field, getting to work with it can be very challenging. Even at the start they have to learn a large set of symbols, for planets, signs and other stuff, that can easily be made more accessible and clear, yet rarely are.
For that we left the names of the Planets, the full names of the signs and everything else we thought could help a person starting to learn this.
Coming with that there were some other ideas I would have liked to see a while ago, that I incorporated now. For example, the Planets distance from each other carry meaning. The fact that the asteroid belt is right after Mars, so Mars bordering the ruins seems needed to understand its role, sometimes while Jupiter is the first planet that greeds us on the other side - all this carry meaning in my humble view. And if possible can be conveyed.
So while we can't depict the accurate distance between the Planets(as Neptune is far, far away and it will be inconvenient in this format), we did what we could to save as much of the meaning as possible. In this case, that meant depict in some way the Asteroid belt and try to position the planets close to how they would be. Of course, the Sun has other role, so its position is kinda not affected by this. Also work on the relative sizes, again can't do it fully, be that apparent or mean values, but we did what was fair for this format and yet left some of the feeling of how larger the outer planets and the Sun are(although they are even more larger in reality).
So far, so good, more then that, however, the idea was to implement some of the more complex calculations and ideas, in more easily accessible way. That means we have receptions, dignities, applying/separating, speeds and a lot of other stuff, that is used in Horary Astrology and we have implemented it based on John Frowleys book. Why based on that... well, first he seems to be viewing his material as continuation of Lillys material and that is a direction we like. Also seems to be good material and that is nice by itself as well.
There was another thing we did that can be very interesting to peoples, that incorporated the 4 Pillars of Chinese Astrology on the Chart in a way that seems very logical for 2 of them. And very random for the other 2. Time will tell, how much of these should work, but so far I find the first 2 already helpful at least a little.
Well, that is it I think. One more part of this introducing the Five Arts part of the calculator and we plan to release it all. For people interested in what we are doing and following along, for the next step one may need Frowleys Horary book, as the calculator will be tailored for that.
This is first calculator of this type and it has been more ambitious project then usual. There will likely be stuff to fix and sort out for a long time going forward, so keep in mind it will be considered a 'work in progress' for long time to come.
20.July.2024Added some fixes on the astrocalculator so when someoneclicks the planets, signs or houses it shouldn't overlap the other information, but close it instead. Seems nicer that way.
6.July.2024 Disabled Apply/Seperate text, as it can be misleading sometimes.Also added larger degree distance for the aspects, so the output is closer to what other softwares will show. 3.July.2024 Introduction to the upcoming calculator. 24.June.2024 Reworking the home page, so its more friendly and easier to read. 23.June.2024 Renewed announcement for the new plan ahead together with the last planned Five Arts calculator for now and setting initial framework for the coming horary astrology calculator. 13.May.2024 Announcement about site change is added on the home page(here). 20.April.2024 Removed some of the less known calculations, like the alternative day and year calculations in flying star, or the relations of stars to palace in 8 mansions. Seems good idea, as the initial idea of the site was always to carry the base information that is public domain, that, even though in the open, seemed to go outside of what we aimed to cover. 3.April.2024 Added relations of Wondering Stars to their Palaces in Eight Mansions calculator. On the page the sources are listed. Very nice methodology, in our view. 24.February.2024 Added more functionality in 8 mansions calculator(we can select House map now as well), including some 9 Star Ki calculations. Added description of alternative formulas on Home page(here below). Also added initial steps for San Yuan Da Gua 三元大卦 3d Calculator, though more info is likely needed there. 17.February.2024 Added Fiery Bazi Part 2 on home page 28.January.2023 Added change log. : ) 28.January.2023 Added Luck Pillar representation next to the extra 2 pillars. It will change if we select luck pillar from below(clicking the year range or the LPs). It will also try to calculate it based on the second selector date to the first one and LP ranges. So the suggested approach is choose date of birth in first selector. Added dates you are interested in in second one and extra 2 pillars will show with attempt to show the current LP as well.
Chapters:
Site expansion
(24.June.2024)
The current idea is to make the site a place for different calculators and calendars for traditions and systems from all over the world, current or ancient. So we will make a section for the Five Arts systems and add our last calculator from them as well, it was made for android, but we have repurposed it to work for the website as well.
Together with that, slowly we plan to start adding calculators from other systems. When there are at least 3 belonging in their own section(for example William Lillys work, where next one may also be suited for) we will open another subsection. This seems the best solution, as in this way wherever we go next after this branch of astrology can also be included in what we do with the site.
So for now we will add the last Five Arts calculator from before and the initial stuff needed to run the first horary astrology calculator when its ready in the new section - "Astronomical Divination Systems".
The name may need some improvement, but seems the best choice for now. While there are astronomical calculations for the Five Arts, there are much less then in horary astrology for example. And as the new direction is heavily focused on that and there are vast amount of systems both current and ancient that use the same base(Planets, stars and how they are seen from Earth) makes sense to call it something similar to it.
The new Date Selection calculator, was initially planned to be implementation of https://en.wikibooks.org/wiki/Ba_Zi/Date_Selection and we have stayed close to it for a lot of how it calculates, although some parts are added by us(like the rating on the hours, using purely bazi relations combinations/clash etc.) and some is from other open sources in the net.The comments are from our experience how different stuff show in some cases for the hours. Don't take it too seriously, while it may be better then nothing in some cases, its very small part of the factors that are looked before choosing a date, as far as I have noticed so far. So its more for fun and if one just need easy choice with stuff that doesn't matter much.
Some parts were removed, as they didn't work well mostly around remembering settings and personalization. But enough seems to work fine even like this, to be a good idea to release for the peoples.
Alternative Formulas
(24.Feb.2024)
Some of the formulas we use, are compressed a little, sometimes. Espesially ones from tables. Its same result, or it should be same, but this is a lot easier to calculate and shorter. Will post some of them here, as I think if people are doing it without using calculators, having shorter formulas can help much, sometimes.
There is more to some of this. Adjustment for Chou months for example or for the 5 in 9 star ki, so this is just the alternative part in calculations shown.
All this is kept in its specific range we won't write it every time. But for example for 9 star ki numbers, all is always in range of 9, if more then 9 then 9 is subtracted. For branches 12 etc.
Year is in 4 digits format, so current one would be 2024.
Four Pillars/Bazi
yearstem = year%10-3
yearbranch = year %12-3
monthbranch = solarmonth+2
monthstem = ((yearstem % 5) * 2 )+ solarmonth
hourstem = hourbranch + (((daystem % 5) *2) -2 )
Nine Star Ki
First number(male):
selfguanumber = 7- (year % 9)
First number(female):
selfguanumber = (year % 9)+4
Second number:
secondnumber = 2-(selfguanumber*6)-monthbranch
Third number:
thirdnumber = selfguanumber+5-secondnumber
We believe this can be helpful for practitioners that want to be independent of calculators or calendars and with some effort all can be done without even paper. Although formulas have to be memorized. To be continue, possibly... : )
}
Site expansion24.June.2024
Fiery Bazi Part 2(Click to see)17.February.2024
Fiery Bazi (Click to see)10.November.2023
Line position meaning and Images(Click to see)3.July.2023
Our Solar Time Scripts release...(Click to see)18.February.2023
Fiery Bazi
(16.Feb.2024)
Fiery Bazi Part 2
In the second step of our humble system, we add a small change in how branches polarity is viewed in practice. While that may make some practitioners uncomfortable, as we change the view to parts of the calendar behind it all, I think if they give it a chance they will see the change is a very well calculated and relatively small matter, so it doesn't mess up anything already there much and it adds not only more, but it also may allow the practice to be more fun and healthier for the practitioners. And that for us is the most important point, how to be more healthy, balanced and happy when practicing the system.
The main idea was to find a missing "middle" state in the branches polarities. That suggests it had to have been there all along, so we couldn't "invent" it. It had to be overlooked. That makes sense, the calendar have been there for a long time, so I get why people were hesitant to look for changes there. But if we want the practitioners to be able to practice in a more balanced and healthy way, we view that is next step in it.
So what do we change and why... The usual approach goes like this as we know:
Yin - Tiger - Yang Branch
Mao - Rabbit - Yin Branch
Chen - Dragon - Yang Branch
Si - Snake - Yin Branch
Wu - Horse - Yang Branch
Wei - Goat - Yin Branch
Shen - Monkey - Yang Branch
You - Rooster - Yin Branch
Xu - Dog - Yang Branch
Hai - Pig - Yin Branch
Zi - Rat - Yang Branch
Chou - Ox - Yin Branch
What we attempt to do is to add instead of Yin/Yang polarity that we have in the Stems, we will add Heaven(Yang) - Man(Dao) - Earth(Yin) polarity for the branches. Their hidden stems remain the same, so all done in practice with that stays the same.
Yet one may worry that in this way Pillars doesn't carry the same polarity. They may have Yin Stem with Yang Branch or Yang Stem with Dao Branch etc.
And in our humble view, that fits very well to reality, where people and matters may have receiving/nourishing quality on the surface, yet be dynamic and active deep within. Or balanced deep within and dynamic and active on the surface. Something we can never have if we always take the whole pillar polarity for stem and branch.
And while that may seemingly create contradiction, we already know even in the more known approach we can have branch polarity with different hidden stems polarity(Si, Hai etc.) so makes sense to be able to have it the other way around as well.
One may also wonder - what do we do with all techniques that are based on branch polairty?Well, if we look carefully around we may see there aren't many of those. The ones that are, I assume may be handled in 2 ways.
1. They may not work very well, so can be abandoned for something else.
2. The ones that do work, can just be said they use the stem polarity. So Chen Dragon for example, will always carry Yang Stem, as usual, so instead of saying "we use branch polarity" we say "we use the stem polarity of that branch".
Seems like a clever switcharoo, but again - we attempt to preserve the state of balance for the practitioner, so its not random at all.
So then we have this:
Yin, Si, Shen, Hai - Yang Branches, Seeking their balance in an dynamic way
Mao, Wu, You, Zi - Dao Branches, in balance, not moving initially
Chen, Wei, Xu, Chou - Yin Branches, waiting to receive, in their usual state, also waiting to receive their middle component, so again searching for balance. There are more then this states, but that is already viewed in some details in bazi reading styles out there.
And that is all there is. : )
I think if we give it a chance, we will see it doesn't take away anything working practically, yet adds a whole another layer on top of it that can be observed. And that is how Yang and Yin branches will be searching for their Dao Branch, so for balance, basically.
Making the whole chart a matter of balance. We know what parts of the chart the person is stable in and the other parts are attempting to "find" them.
Yang branches by active search, Yin branches by being open to receive it and awaiting it.
So then in practice, lets say we has:
DM
X Jia X X
X X SiYou
Usually we can say communication(Si - output) is important for the person.
We can also say, now, that Si(that communication) is seeking its You, as that is its balance. And that You is authority(Officer) in far away places and in early years of their life(Year Pillar).
So now, they communicate, seeking to gain authority related to far away places, or events in their early years.
Basically, one more level of "movement" and staying still and that is all there is.
So what happens with all the other stuff, combinations, clashes, temperature adjustment and all else?
Well, all still there, one still reads charts with all that, this is just a small added layer of more Images that in our humble perspective will be beneficial for the practitioner reading.
Fiery Bazi
(10.Nov.2023)
Fiery Bazi
Through the years I have develop my own style of looking at bazi. While the essence is still the same, there are some additions, some readjustments and changes... I will try to present the idea of one of the first base steps of it here.
If we look at current, popular bazi reading styles, we can see a few different focus places people look. Some will look at strength of DM. How strong the images of the personality of the person is. Others will look at grouping. What are the strongest Images of the more prelevent groups in the chart. Some will look at interactions. Images of the strongest interactions in the chart, and this approach we also will take in some cases(work done or working god etc). Finally, some look at where the Wealth is and how the person obtains it.
While all of them can do interesting work in different parts of life, what I was personally more interested in was other aspects of life specifically where one is most useful to the whole and themselves, where they can contribute the most. And for that we will use the 5 shens of TCM Images on top of the elements of stems and branches. And we will look at where the Fire is. : )
"Why?!"A curious reader may ask."If all is suppose to be in balance, why look at the fire?!"
Well... There is a movement in my humble understanding. It goes deep within(Water) for renewel and connection to the whole. When its that deep its outside influence is heavily diminished. And with time it starts to move out(Wood) spreading its influence until it reaches the peak of what it bring to the process(Fire). Then it contracts again(Metal) and it goes for renewel again(Water) and on, and on...
Similar to someone going to take water for their home in times of old. They go outside their house where they are with the people they love and they travel to the Source of it all, lets say a well in nearby village. They fill their vessel from the water(Water phase). Then start going back bringing the new fresh water home(Wood). Then they go home and share it with everyone(Fire). Then they are at peace in Earth until its time to go again for fresh water.
But their opening to the group of people in their own home, happens after renewel and the path home have been walked, so what they can provide back happens at Fire. Having that water all for themselves is useless, so sharing it and how best to do it is what each chart can show. And in most cases that will be by looking where the Fire is, in my humble experience.
That being said, we should clarify that to use this, one may still need to know all or at least most other styles. Interactions and rules there are very valid, this is just suppose to provide 1 more layer of Images and connections, from the 5 shens and to provide where to look at and why look at it.
So what are the 5 shens. Link to interesting material here:
https://giovanni-maciocia.com/shen-and-hun-psyche-in-chinese-medicine/ This is good starting point, then can just check around the net. While they are viewed somewhat differently in martial arts then in TCM, we will advice focusing on TCM perspective first, then with time can see they aren't that different.
Lets go into some Images we will use for it:
Shen(Fire) - awareness, clarity, highest point someones movement can make(highest frequency etc). Hun(Wood) - dreams, intuition, movement in that awareness Po(Metal) - Connection to the Earth and nature, the borrowed component, that we need to be here. May seem sad, or looking at death - reason for that is as the Earth may have problems, as we all know now. Zhen(Water) - drive, perpetual movement that brings life and sustains it, "will" in the sense of will to live, lowest point of the cycle, one can receive from it Yi(Earth) - thinking, thoughts,
We look at the Fire and use the other Shens to understand what happens to it. So where the person has clarity, what is his highest degree of contribution to the whole and to themselve, and how to get there(as fire will in some cases need support). If someone doesn't have Fire in their initial chart, then understanding the movement that is there instead, becomes the focus, together with the period in their life(LP, AP) when that Fire and clarity will be present, but that may be out of the scope of this initial steps view.
Yi as thinking, has another level to it. That is what we call Tombs/Storages.
Wei - Storage of Wood.
Xu - Storage of Fire.
Chou - Storage of Metal.
Chen - Storage of Water and Earth.
So now each of these 4, is not only thinking, but its thinking about what it contains. That is based on Images, so we look at the 10 gods/shens of each elements.
Lets say we have Wood DM. Then Wood is their Sibling, Earth is their Wealth/Asset etc.
So Wei in their chart, suggest they are thinking about value/wealth. As we have Yi from Earth coming together with Wei Goat being Earth. And then we have the Wood within, carrying Images of Sibling element and that also carry Images of people. So value coming from people(like manager etc.)
Then we can say - Wei carry Images of a structure. As something containing people looks like organization or structure of some kind. If in the month, often may be Government related etc.
And for the persons processes, that is thinking about people, like many in connection to that type of organizations will have to do and their value, so looking for that specifically.
Lets look at some theoretical cases of how to use that.
DM
X Bing X X
X X Chou X
So we have the person bringing their highest point of connection to the whole in their own personality. Nearby all around them they see structure(Chou) containing Metal/Asset.
So they may be thinking at this point in way that contains and revolves around expression and creativity containig wealth. How to express value.
Now, lets say we have this:
X Bing Xin X
X Wu Chou X
Bing combining with Xin , suggests Bing wants it. So now we have Bing as personality wanting to obtain something from the world around them. That something carry Images of something very basic related to life, basic human needs, physical body and/or to Metal.Looking at it from Natures perspective, we have Earth containg Metal that comes in Stem from in more refined way.
Then DM wants to take that. May be jewelry, tool, or any product coming from the Earth.
Yet when we add the 5 shens, Chou becomes thinking about Wealth. Thinking is from Yi from the 5 shens and Chou being Earth and Wealth from the Metal within and its 10 god/shen Image. So we have something as a product of thinking about wealth. It comes in the open where all can see it and DM tries to obtain it.
However, then we have another level Wu deep within them is still part of the 5 shens as Fire. So within them there is another, deeper form of clarity. As soon as they get near the Wealth they want, the Images coming from Chou muddle the clarity in the inner Wu and is pushed away. As seen as too cold. That process we can follow in the person itself in most cases. They will think of 'wealth' what is valuable. They will reach a product in Xin. Try to obtain it in Bing<>Xin. Then push it away, as they will dispise the thinking process leading to it as too cold in Wu<>Chou.
To be continue if approperiate...
Information for Today
Line position meaning and Images
(13.July.2023)
Its interesting to try to use different systems together at times.In Astrology, channeling was used many years ago for the 360 symbols for the degrees, we do use channeling to fill some parts of the Five Arts systems as well. Of course, the base have to be there, so its also based on experience.
We will post some of the Images of lines we use. There is more to it, there are reasons and ideas connected to them that is one approach to figuring out right and wrong, in the sense of balance and flow. But that is more complex as well even with the second step. Anyway that part is connected to a technique used by a big school out there, so if we see them using it in the open we will look into releasing that as well. For now good step is just the initial images. There is also different amount of Images where we use Earth/Earth/Man/Man... etc instead. But they are very few and since in practice I'm using the ones below as key part in one of our more useful Settings, this is the important part, although not all yet.
Its made by experience, base is from channeling and aligned with just observing Images. : )
All lines carry also the 'out of place' meaning, that we haven't yet gotten to posting, more on that some other time, possible. Its not bad, however, its with specific purpose, as all is.
Line 1 - Space.what we step on, where the roots are, ground, the earth below car garages of congrete and stuff. The background, things happen on.
In reading a letter it can be paper.
In eating it would be food.
In life it would be mechanical activities one does every day or annually. Routine. The things one does to stay alive and in shape, without thinking about them much.
Line 2 - Human.the community of people, variaty, merging and going apart, life(organical and not only) home, homie,fireplace, gathering around something, closeness(human and just closeness).
Can show enclosed spaces like room, or house, or car, as its between heaven and earth. Strongly here, I am presence in the nearby places etc. So relaxation, but not as much as it carries life ideas as well(activity, again depends yin or yang line I guess).
In spiritual systems can show the Deva of a place in its effect, while line 3 would show in presence.
Would be the written words if we look at letter.
Would be the human being that is eating and his process of doing it.
Line 3 - Time.the ideas and abstract concepts related to what is happening.
If we look at letter will be the meaning the reader is seeing in it.
Would be the original Qi and sustains derived from the food.
In orchestra while the room and instruments can be line 1, people line 2, the music can be line 3(intangible and moving through time).
Very connected to time in the sense of 'plans at home', so the view of the person to their family and their own personally 'future'. Hope. Plans.
Whole upper trigram is the environment this(lines 1-3) is happening at. Line 4 - Larger, usually open ended encompassing space where the first 3 lines are in. Can show floor on the second floor(the concrete etc.) Floor of an escalator, or a swimming pool the surace of the water(floor above the floor).
Also whole humanity support, so firefigthers, police departments, anything that is giving the support for humanity on a outside perspective(when out of home).
Streets outside as well, stores etc. Line 5 - Leader. Cross section of roads. Someone carring the burden for others(firefighter in the car, police regulating force etc.)
Meeting point of roads or ideas.Hub. Someone taking the blame(as it comes with responsibility and see from a far). Carring the ideas from above to below. Mailservice. Weather service etc.Responsible(can be betrayal or a good leader and organizer of flow).
Line 6 - All outside of the situation, things we don't know are part of the question, thoughts and emotions, outsiders, beggers and hermits, the state ones are if/when they carry the light or are just happy and in the moment, clouds and Images.
Our Solar Time Scripts release...
(18.February.2023)
Its time to release some stuff as open source, for the community. In my humble view there are 2 parst that are needed the most. Automated daylight saving and Solar Time scripts, and some astronomy clarification. We will release the Solar Time and Daylight Savings scripts. They can be better, there may be bugs and problems, but I think in the long run they have good parts making them better choice even with people already having Solar Calculations.
My code is messy. Comments are for my own use, stuff is intertwined and difficult to follow... I have done all I can do make this specific part clear, with useful comments and optimized in the attached file. Can see the messy version in the new Flying Star Beta Calculator, there its used together with the 4 Pillars.The rest is technical informatino for people planning to use them in their sites or software. Important functions in the code:
map.on('click', function(e) Geographical information is added to the map and variables.
function datechanged() With new date it will adjust it to the information frmo the map then convert it to the final date.
The converted date is always hold in the variable dateafteradjustment.
I think in the Five Arts community people, sometimes avoid mentioning sources... And that is silly, reviewing our sources is a strength, not a weakness. In this case we are using:
This takes latitude and longitude and it shows the timezone name and the numbers we convert to minutes offset from GMT 0. Basically from time withut timezone and daylight saving. The great and awesome thing is that it works back in time. So if a country removed daylight saving adjustment in specific year then set it again later, this will adjust to that. And that is the best part of the script as this is what people usually don't know for their own countries and happens a lot.
What I don't know is if that is in the tz.js file or it takes it by zone name from the browser. In first case it may need to be updated, in the link it says how. We havent done it, so far, so can't comment on it. But it was working well for what we used it.
In second case all is good, should work by itself moving forward. Yet in first one using alternative library for this step or updating this my be wise, as EU is going thruogh big changes in the way it works with daylight savings so for days in the last few years it may not handle it perfectly.
Control.Geocoder.js
https://github.com/perliedman/leaflet-control-geocoder This finds the place by the name in the search and gives latitude and longitude. Currently, it uses google services. This is the only part of the process we couldn't make offline back then. There are ways, just couldn't do it then and ahven't tried since. There are many alternatives, esri was one of them.
We are using leaflet for the map. Much of the code is related to the map, so if one needs to improve stuff leaflet documentation is the place to check: https://leafletjs.com/
jquery, popper, promise all js libraries for some of the other stuff used.
License. This is open source and free, use it for whatever you want. Can use it by itself, then input it in another calculator after conversation, or make an app out of it. We are fine with it. Some great improvements can be made to it if one has resources for it. If someone does that, we will appreciate to keep it open source, lets try to build a better community here, we have what we need for it.
Some notes: Can run offline, currently only the geocoder we haven't found offilen alternative(uses google services, right now). Needs offline tiles, long story there.
Bounderies of countries aren't exact. That saves a lot of space. Can use exact ones, up to what its used for. Info in the tz page.
There are likely bugs. Its complex code and it uses many libraries. Its very segmented, however, if a library is buggy just replace with alternative doing the same. In general we are happy with the tests we made, but its big projects and there is so much 2 people can do on something like that.
This won't work on Safari. It can be fixed if date selector is changed.
Anyway, I believe this can be helpful for big and small players in the community. Feel free to use and enjoy! : )
Edit 1(18Feb2023): Images showing the map are called 'tiles'. They are loaded from tile servers. Currently is set to open street maps, but for servers with heavy load(many users) they may cut the traffic. If that happens there are many alternatives, from hosting ones own tile server using open sources maps, to using paid or free tile server providers.
Edit 2(6march2023): Did this some years ago so didn't remember all functions. I looked into it. Good news is the UTC offset(the actual minute difference frmo GMT 0 happens from the browsers. So dont have to worry about updating it should update with the browsers version when country changes the way it handles daylight changing again.
The code in XKFX calculator was buggy, however. The last 2 are experimental versions as it says, so bugs can be expected. I removed solar adjustment there for now. Just use the .html provided with the package to download on here, it has all one should need,
Donations for the project are appreciated. It can be done by bitcoin with bitcoin receive address:
We are using heavy javascript and python code through ajax, so any script blockers will disable half of the functionality and probably more. If you want to use the site, disable script blockers for here. Recommended browsers are last versions of Firefox and Chrome. IE, other browsers, or very, very old versions of these may disable parts of the functionality as well.
We switched the astronomy calculation engine to py ephem as all tests we did show its much more accurate then what we were using before.
Sun calculations for all offline calculators are made using Orb.JS from here. Big thanks to the author for the help in the calculations!
Yi Globe 3D calculator is powered by Babylon JS framework and Blender.
Bibliography.
Date Selection calculator is based on https://en.wikibooks.org/wiki/Ba_Zi/Date_Selection and the other calculators usually have explanation of sources at the bottom of the page itself.