Antikythera: Calculate the phase of the moon!
Rayman
Posts: 14,887
Here's a little app that I wrote for my wristwatch a few years ago and just ported to SPIN...
I was inspired when more details of the Antikythera mechanism were discovered a few years ago:
http://en.wikipedia.org/wiki/Antikythera_mechanism
Anyway, just give it the date your interested in, and this program will calculate the phase of the moon in a similar way to the Antikythera mechanism.
It's accurate to 1 day in 500 years.
No floating point here, this is integer math.
I was inspired when more details of the Antikythera mechanism were discovered a few years ago:
http://en.wikipedia.org/wiki/Antikythera_mechanism
Anyway, just give it the date your interested in, and this program will calculate the phase of the moon in a similar way to the Antikythera mechanism.
It's accurate to 1 day in 500 years.
No floating point here, this is integer math.
Comments