Spherical Trigonometry

This site has been created so that I can experiment with spherical trigonometry. On the home page you will find a place to enter two sets of equatorial coordinates (latitude and longitude), and the Javascript will calculate the heading and the angular distance to the specified destination.

I'm still correcting the code so don't be surprised if you find a flaw or two - it's an experiment after all!