The Moon Age Calendar ... DrawUp 1998/04/07 .. Renovate 1998/07/20
The position computation by the moon and the sun
This page is using JavaScript.
Use Netscape Navigator 3.x (or higher) and Internet Explorer 4.0.
In Internet Explorer 3.0, the error occurs.
[The reading sometimes takes time because the Script size is big.]
As for the real time computation, look at
There is an error from the trick of the computation precision of the Java Script double-precision fluctuation point and the precision with trigonometrical function but it is the degree which is not in the problem in case of practical use.
It reduced an attempt size to about 30 % in the efficient-ization of the program.
Because it is easy, it will be better not to see a source code. :-)