Space Program X

Open-source space software · SPX

Space Program X

The planets, the stars and the Earth for the web, drawn from the numbers of NASA, JPL and the IAU, checked against them, and free to use under the MIT licence.

Planet positions, 1800 to 2200, from JPL Horizons
< 5″
Stars with names, colours and distances
10,645
Earth map at its sharpest, in pixels across
16,384
Languages in every demo and guide
EN · 日本語

Ready today

Three packages for the web

Each one is an npm package with a live demo, an embed page you can drop into any site, and guides in English and Japanese.

Mars, the Earth, Saturn with its rings, Jupiter and Neptune drawn in the package's shaded look

The solar system

Wakusei Planets 惑星

The Sun, the planets, the dwarf planets and their moons, as clean line drawings, a shaded 3D look or NASA surface maps, at their real sizes and tilts.

  • Positions within 5 arcseconds of NASA JPL Horizons from 1800 to 2200
  • Conjunctions, closest approaches and the distance between any two bodies on any date
  • A space view to fly the solar system and run time forwards or back
npm i @johnmorrisdotca/wakusei-planets
A sky chart of Orion with its constellation lines over the Milky Way

The stars

Hoshi Stars 星

The stars you can see, and the Sun's neighbours, as data and as sky charts you can turn, zoom and search.

  • 5,080 naked-eye stars and 5,565 nearby stars with distances and their error
  • The 88 constellations with lines and boundaries, and 11,898 Messier, NGC and IC objects
  • The nearest stars to any star or point, in the sky or in 3D
npm i @johnmorrisdotca/hoshi-stars
Two globes: a line drawing of country outlines and a realistic Earth with clouds and city lights

The Earth

Chikyu Earth 地球

A globe for the web: country outlines, day and night, city lights and clouds, centred on where you are, with satellites on their real orbits.

  • NASA Blue Marble and Black Marble imagery, sharp down to 20 times zoom
  • The ISS and other satellites from current orbit data, and all 135 Space Shuttle flights
  • A line drawing or a realistic 3D Earth from the same element
npm i @johnmorrisdotca/chikyu-earth

In development

A space program you fly yourself

We are building a game where you design rockets from real parts and fly them on real orbits, through the same solar system the packages above describe: true positions, true distances, true moons.

The rockets are open source already, so you can use them in your own work today.

Line drawings of rockets standing side by side

Uchusen Rockets 宇宙船

Line drawings and 3D views of real rockets, every variant with sourced sizes. Assemble a rocket from parts, stack it and separate the stages.

Built on public science

Every number has a source

IAUSizes, poles and rotation of the bodies; constellations and their boundaries
NASA JPLHorizons for checking positions; orbits of the dwarf planets and moons
NASA imageryBlue Marble, Black Marble and planetary maps, with USGS
VSOP87The planetary theory behind the planet positions
Yale cataloguesThe Bright Star Catalogue and the parallax catalogue
2MASS and WikidataModern star positions; deep-sky objects (CC0)

Each package credits its sources in its NOTICE file and documents how accurate it is and how that was tested.

Who makes it

Space Program X is made by John Morris. For now the packages are published from his own GitHub account and npm scope, johnmorrisdotca, and they will stay free and open source.

github.com/johnmorrisdotca
npmjs.com/~johnmorrisdotca