disclaimer I've put in data that looks right. But cannot guarantee the accuracy of any of the data used. The main purpose was to demonstrate the maths, php and gd used together. |
Starmap is a PHP program that produces a PNG image of the night sky from any location, viewing in any direction, over a date range from 1000AD to 9999AD. The actual position data used is only approximate but seems to fit the present situation. The 25772 year precession cycle of the earth is also demonstrated. However the projected positions centuries ago or in the future will be less accurate. The sun, moon and planets are displayed in approximately the correct locations for the century 2000 to 2100.