PROGRAMS  INDEX


Go to:  START

PHP Astronomy and General Science Programs (v7.4.9 - v8.2.0) and Some Astronomical Tables

Computed by Jay Tanner - Many of these programs are available with complete PHP source code.

Kontakt:
Jay-T  ât  PHPScienceLabs • com


FOCUS:  Astronomy, Physics, Mathematics, General Science, Math and Science Programming in PHP.
Each program attempts to open in its own tab. To exit a program, simply close its tab.

Many of the calculators are based on the NASA / JPL DE405 ephemeris model, used for several years as the basis of the Astronomical Almanac published by the US Naval Observatory.  It is not entirely obsolete, as it gives reliable computations for several years past and into the future.

The same can be said for the VSOP87 theory.  It is old, but not entirely obsolete and still has some practical applications and is still widely used today.

Some of the more recent calculators are based on the new JPL Horizons API and subject to its availability.  These programs are first-generation experiments, since I'm still learning how to apply the API functions remotely. It can be vexing sometimes.


Obliquity of the Ecliptic and Latitudes of the Arctic and Antarctic Circles Calculator
Original Laskar Paper Used as the Basis of the Ecliptic Obliquity Calculator Above


Calendrical Date/Time Computations

Various Calculators To Handle Calendar Date and Time-Related Computations.

Sidereal Time Calculator For Any Date, Time and Longitude
JD Number Table Calculator For Any Given Month on the Old Julian or Modern Gregorian Calendar
JD Number Tables Calculator For Any Given Year on the Old Julian or Modern Gregorian Calendar
Computes the Difference Between Two Dates and Optional Times
Inverse JD Calculator - Given any JD Number or Julian Date, Computes Corresponding Calendar Date/Time
Parallel Julian and Gregorian Calendar Calculator to Compare Dates on Both Calendars
U.S.A. Holiday Calendar Calculator
General Calendar Calculator For Any Given Year

U.S.A. Daylight Saving Time Schedule Calculator
E.U. Summer Time Schedule Calculator


The VSOP87 Theory and Source Code Generator

This is the semi-analytical theory of planetary orbits for long-term computation of planetary heliocentric and barycentric coordinates which can be used for the computation of long-term planetary ephemerides.

About the VSOP87 Theory
VSOP87 - Equations Summary - Part 1 - Heliocentric Rectangular (X,Y,Z) Coordinates
VSOP87 - Equations Summary - Part 2 - Heliocentric Spherical (L,B,R) Coordinates

Multi-Language VSOP87 Source Code Generator - Generates VSOP87 Source Code In Five Programming Languages
VSOP87 - Check Values to Test If the Heliocentric VSOP87 Source Code Functions Are Returning the Correct Values

VSOP87 Venus Ephemeris Demo 1
VSOP87 Venus Ephemeris Demo 2
VSOP87 Venus Ephemeris Demo 3
VSOP87 Venus Ephemeris Demo 4
DOWNLOAD PHP Source Code For All VSOP87 Venus Ephemeris Demos 1 to 4 Above

VSOP87 Venus - Apparent Geocentric Ephemeris Interface Demo 1 - With PHP Source Code
VSOP87 Venus - Apparent Geocentric Ephemeris Interface Demo 2 - With PHP Source Code

VSOP87 - Daily Table of Geocentric Distances For the Planet Mercury (2000 BC to 6000 AD)
VSOP87 - Daily Table of Geocentric Distances For the Planet Venus (2000 BC to 6000 AD)
VSOP87 - Daily Table of Geocentric Solar Distances For the Planet Earth (2000 BC to 6000 AD)
VSOP87 - Daily Table of Geocentric Distances For the Planet Mars (2000 BC to 6000 AD)


NASA/JPL DE405 Ephemeris Calculators

Planetary and lunar ephemeris computations based on the NASA/JPL DE405 (Development Ephemeris Model Version 405) which spans the 600-year period from 1600 to 2200. It used to be the basis of the yearly astronomical almanacs. It will still have some practical uses for some time yet to come.

DE405 - 600-Year Ephemeris Calculator For the Planet Mercury - 1600 to 2200
DE405 - 600-Year Ephemeris Calculator For the Planet Venus - 1600 to 2200
DE405 - 600-Year Ephemeris Calculator For the Planet Mars - 1600 to 2200
DE405 - 600-Year Ephemeris Calculator For the Planet Jupiter - 1600 to 2200
DE405 - 600-Year Ephemeris Calculator For the Planet Saturn - 1600 to 2200
DE405 - 600-Year Ephemeris Calculator For the Planet Uranus - 1600 to 2200
DE405 - 600-Year Ephemeris Calculator For the Planet Neptune - 1600 to 2200
DE405 - 600-Year Ephemeris Calculator For the Planet Pluto - 1600 to 2200

DE405 - Solstices and Equinoxes Calculator - Computes the Local Dates and Times the Seasons Begin

DE405 - 600-Year Lunar Ephemeris Calculator - 1600 to 2200

DE405 - 600-Year Monthly Lunar Events Calculator - Computes Lunar Phases, Perigees and Apogees for Any Given Month/Year
DE405 - 600-Year Monthly Calendar of Lunar Phases at 12-Hour Intervals For Any Year and Month

DE405 - 600-Year Table of New Moons For The Years 1600 to 2200
DE405 - 600-Year Table of First Quarter Moons For The Years 1600 to 2200
DE405 - 600-Year Table of Full Moons For The Years 1600 to 2200
DE405 - 600-Year Table of Last Quarter Moons For The Years 1600 to 2200

DE405 - Comparison of the Current Relative Sizes of the Sun and Moon


NASA/JPL Horizons API-Based Computations With Optional PHP Source Code

Planetary and Lunar Perigee/Apogee and Earth Perihelion/Aphelion Computations Based On The NASA/JPL Horizons API

We generally think of the moon when we refer to apogee and perigee, but apogee and perigee points can also be applied to the planets as well. The point of closest approach to Earth is the perigee point and the farthest distance is the apogee point of the body in its orbit.

Here, the definition of the perigee and apogee points refers to the points where the radial velocity of the body, relative to Earth, equates to 0 (zero), after which, the radial distance trend (numerical sign of sequential difference) reverses.  The points where the radial velocity equates to zero are at the minimum and maximum distance points from Earth.

When the radial velocity changes sign from positive to negative, the body has reached an apogee point and when the radial velocity changes sign from negative to positive, the body has reached a perigee point.  By this definition, a body, such as the moon or the planet Mercury, can have more than two perigee/apogee events per calendar year.

NASA/JPL Horizons API - Earth Perihelion and Aphelion Calculator - For the 9799-Year Span From 200 AD to 9998 AD
NASA/JPL Horizons API - Lunar Perigees and Apogees Calculator - For the 8999-Year Span From 1000 AD to 9998 AD

NASA/JPL Horizons API - Mercury Perigee and Apogee Calculator - For the 9799-Year Span From 200 AD to 9998 AD
NASA/JPL Horizons API - Venus Perigee and Apogee Calculator - For the 9799-Year Span From 200 AD to 9998 AD
NASA/JPL Horizons API - Mars Perigee and Apogee Calculator - For the 899-Year Span From 1601 AD to 2499 AD
NASA/JPL Horizons API - Jupiter Perigee and Apogee Calculator - For the 599-Year Span From 1601 AD to 2199 AD
NASA/JPL Horizons API - Saturn Perigee and Apogee Calculator - For the 499-Year Span From 1751 AD to 2249 AD
NASA/JPL Horizons API - Uranus Perigee and Apogee Calculator - For the 999-Year Span From 1600 AD to 2598 AD
NASA/JPL Horizons API - Neptune Perigee and Apogee Calculator - For the 299-Year Span From 1801 AD to 2099 AD
NASA/JPL Horizons API - Pluto Perigee and Apogee Calculator - For the 399-Year Span From 1700 AD to 2098 AD


Lunar Hemispheric Phase Explorer, Image Sets and Lunar Phase and Craters Reference Tables

Lunar Hemispheric Phase Explorers - HD Edition - A Virtual Space Telescope to View the Entire Moon From Four Hemispheres

LUNEX For POV-Ray - A Photo-Realistic Lunar Surface Ray Tracing Program For Use With POV-RAY 3D Rendering Software

Special HD Lunar Hemispheric Views Rendered by LUNEX

Lunar Craters With Selenographic Coordinates Listed by Name:  A to M
Lunar Craters With Selenographic Coordinates Listed by Name:  N to Z
Lunar Craters With Selenographic Coordinates Listed by Size or Diameter

Lunar Phase Images Reference Table at 1-Degree Intervals

Complete Lunar Phase Image Sets in Six Sizes at 1-degree Intervals of Phase


U.S. Naval Observatory Asteroid Ephemeris Computations

Apparent Asteroid Coordinates Based On The USNO AE98 (U.S. Naval Observatory Asteroid Ephemeris - 1998)

US Naval Observatory AE98 - Asteroid Ceres Ephemeris Statistics For the Current Date and Time
US Naval Observatory AE98 - Asteroid Ceres Ephemeris Calculator For the Years 1800 to 2099

US Naval Observatory AE98 - Asteroid Pallas Ephemeris Statistics For the Current Date and Time
US Naval Observatory AE98 - Asteroid Pallas Ephemeris Calculator For the Years 1800 to 2099

US Naval Observatory AE98 - Asteroid Juno Ephemeris Statistics For the Current Date and Time
US Naval Observatory AE98 - Asteroid Juno Ephemeris Calculator For the Years 1800 to 2099

US Naval Observatory AE98 - Asteroid Vesta Ephemeris Statistics For the Current Date and Time
US Naval Observatory AE98 - Asteroid Vesta Ephemeris Calculator For the Years 1800 to 2099


Various Computations Related to the Stars and Sun

Distance Between Two Stars or Planets in 3D Space Calculator

Combined Stellar Magnitudes Calculator - Combines Two Or More Stellar Magnitudes Into a Single Value
Stellar Magnitude vs Distance Calculator - This Program Allows Us To Mathematically Move a Star To Any Distance
Stellar Magnitude of Sun Calculator - Computes How Bright The Sun Would Be at Any Given Distance

Starlight Times - Calculate What Year Light Left a Star and What Year Light From Our Sun Will Reach There.

IAU Stellar Constellation Charts of All 88 Constellations


Some Special Math and Metrics Tools

Relativistic Accelerated Linear Motion Type-1

Metric and Other Length Units Equivalents Calculator For 19 Different Units
Temperature Scale Equivalents Calculator For 8 Temperature Scales

N-Point Lagrangian Interpolation Tool Performs Linear and Non-Linear X vs Y Interpolation Within a 2-Column Data Table
Variance and Standard-Deviation Calculator For a Given Tabular Data Set

Combinations Calculator - Computes Exact Number of Possible Unique Combinations = C(N, R)
Permutations Calculator - Computes Exact Number of Possible Unique Permutations = P(N, R)

Word Permutations Listing For Up to 8 Unique Words or Items

Integer Base Interconverter Converts Any Integer Given In One Base Into Its Equivalent In Another Base

Basic Integer Fraction Arithmetic Calculator

Sphere - Properties Calculator - Given the Radius, Circumference, Area or Volume, Computes the Other 3 Properties
Sphere - Angular Diameter vs Distance Calculator
Sphere - Distance to Horizon Calculator
Sphere - Visible Fraction of Surface vs Distance Calculator

GPS Spheroid 3D (X,Y,Z) Coordinates Calculator
Geodetic Earth Surface Distance Between Points Calculator
Historical Oblate Spheroid 3D (X,Y,Z) Parameters Calculator


Randomizing Tools

Various Randomizing Tools and a Few Toys

Random Alpha-Numeric String Generator Creates Randomized Alpha-Numeric Strings of Up to 10,000 Characters
Random Multi-Base Digits String Generator Creates Randomized Strings of up to 10,000 Digits in Any Base
Random Text String Generator Creates Strings of up to 10,000 Randomized Letters From A to Z
Random Cards Dealer - Deals Any Number of Cards Without Replacement From a Standard Deck of 52 Playing Cards
Random Coin Flipper - Randomly Flips From 1 to 5 Coins
Random Dice Roller - Randomly Rolls From 1 to 6 Standard Dice
Random Latinoid Text Generator - Generates Randomized Dummy Text Resembling Latin
Random Names Generator Creates Lists of up to 1000 Randomized Male or Female Names
Randomize or Shuffle a Given List of Items


MISCELLANEOUS

Miscellaneous Things That May Prove Useful

HTML Character and ASCII Codes Table For Programmers
HTML, CSS Color Names, Composite and RGB Color Codes Reference Table and Related RGB Formulas For Programmers


xxxxxxxxxxxxxxxxxx