Search topics and sections

Celestia is a free astronomy program that shows the universe in 3D in real time. Most planetarium software shows the sky only from Earth's surface. Celestia lets you fly anywhere: through the Solar System, to any of more than 100,000 stars, or out past the edge of our galaxy.[1]

Chris Laurel released the first version on February 26, 2001.[2] Celestia is free and open-source software under the GNU General Public License, version 2 or later.[3] It runs on Windows, macOS, GNU/Linux, and FreeBSD, and since 2020 also on iOS and Android.[4][5]

What Celestia does

Celestia can show any place at any time. Its main features are listed below.[1]

Feature What it means
Travel anywhere All movement is seamless, with no jumps between places. You can visit any object in the database and view it from any point in space.
Zoom across scales An exponential zoom, where each step changes the viewing distance by the same factor rather than the same amount, covers everything from galaxy clusters down to spacecraft a few meters across. To fly to an object, you point at it and tell Celestia to go there.
Change the time Celestia works out where Solar System objects are, and how they move, as the program runs. You can set the date and run time faster or slower.
Planetarium on any world You can land on another planet or moon and see where Solar System objects appear in its sky.
Add more Add-ons supply new objects, sharper surface images, 3D models of spacecraft, and even fictional worlds.
Planetarium view versus Celestia free camera Typical planetarium software Celestia View fixed on Earth's surface Fly anywhere Land on other worlds
Typical planetarium software shows the sky from a fixed spot on Earth's surface. Celestia lets the camera fly freely through space toward planets, stars, and galaxies, and land on other worlds.
Range of scales in Celestia's zoom Celestia's exponential zoom covers this whole range Smaller Larger Spacecraft(a few meters) Moon Planet Planetarysystem Starneighborhood Galaxy Galaxycluster Sample stops in order of size, not to scale
Celestia's exponential zoom spans many scales, from a spacecraft a few meters across to a galaxy cluster. The seven stops are examples in order of size and are not drawn to scale.

Moving around

Celestia starts with Earth in front of a field of stars. On-screen text shows the selected object, your speed, and the current time in Universal Time, a worldwide time standard. This may differ from your computer's clock by a few hours.[3]

A first trip takes a few steps:[3]

  1. Click a star to select it. Details about the star replace the details about Earth.
  2. Press G to fly toward the selected object. Press G again to get closer.
  3. Press H to select the Sun, then G to return to it.
  4. Right-click the Sun to open a menu of its planets and other objects. Pick one and press G.
  5. Hold the right mouse button and drag to orbit the object. A left drag turns the camera in place instead.
  6. Roll the mouse wheel to change your distance. You can go light-years away and roll back again.

There are several other ways to find objects.[3]

Tool How it works
Select by name Press Enter and type a name. Stars can be named by common name, by Bayer designation (a Greek letter plus the constellation name, such as Alpha Centauri), or by number in the HIP, HD, or SAO catalogs.
Tour Guide This menu lists some of the most interesting objects to visit.
Star browser This window lists the 100 nearest stars by default, with their distance, brightness, and type. It can also list the brightest stars or stars with planets.
Solar system browser This window shows a tree of every object in the nearest planetary system within one light-year.

Built-in data

Celestia ships with catalogs, which are organized lists of real objects and their data. The project describes its default set as more than 100,000 stars and more than 10,000 galaxies.[6]

Each kind of object has its own data file. The CelestiaContent README credits the author of each file.[7]

Objects Data file Notes
Planets and major moons solarsys.ssc Other natural moons are in minormoons.ssc[8]
Stars stars.dat Updated by Andrew Tribick using Gaia Early Data Release 3 (EDR3)[7][9]
Binary stars (pairs of stars that orbit each other) stars-visualbins.stc, stars-spectbins.stc Visual binaries, seen as two stars, and spectroscopic binaries, found from their light; by Fridger Schrempp[7]
Galaxies galaxies.dsc Galaxies from the New General Catalogue (NGC) and Index Catalogue (IC), plus galaxies of the Local Group, the group that includes the Milky Way; by Fridger Schrempp[7]
Star clusters globulars.dsc, openclusters.dsc Globular clusters by Schrempp, open clusters by Tribick[7]

Stars are identified by their numbers in the Hipparcos and Tycho-2 catalogues. The current star database keeps these numbers. To keep the download small, it uses data from Gaia EDR3 only for stars that already have one of these numbers, and fills in with the Extended Hipparcos Compilation (XHIP).[9]

Star distances come from parallax measurements, which have limits. The older star database used distances measured by the Hipparcos satellite, whose errors varied a lot. Distant stars have tiny parallaxes, so their Hipparcos distance errors were large.[10]

How Celestia computes positions

Celestia works out where each body is from a mathematical model of its orbit. Each object in a solar system catalog names the model it uses. For most large bodies in the Solar System, this is a "custom orbit" built into the program.[8]

Orbit models

Different bodies use different models.[8]

Bodies Model used
Planets VSOP87 (Bretagnon and Francou, 1988)
The Moon Built-in custom orbit
Galilean moons of Jupiter Lieske's E5 theory, as given in Jean Meeus's Astronomical Algorithms
Mimas, Enceladus, Tethys, Dione, Rhea, Titan, Hyperion, Iapetus TASS theory (Vienne and Duriez, 1996)
Five largest moons of Uranus Theory of Laskar and Jacobson
Triton Emelyanov and Samorodov (2015)
Most other bodies in the file Fixed ellipse from orbital elements

Other bodies use an "elliptical orbit" given by orbital elements. These are numbers that fix the size, shape, and tilt of an orbit and where the body is on it at a set date, called the epoch. If a body has both a custom orbit and an elliptical orbit, the custom orbit is used and the elliptical one is ignored.[8]

How Celestia places a body Simulation time(any date,any rate) Object entryin a catalog file(.ssc) Orbit model Built-in theory(CustomOrbit)VSOP87: planetsE5: Galilean moonsTASS: Saturn moons Orbital elements(EllipticalOrbit) External dataSPICE kernel orsampled positions Rotation model(IAU rotationelements) Position andorientation in 3D Renderer(OpenGL) Image on screen CustomOrbitoverridesEllipticalOrbit
How Celestia places a body. The simulation time and a body's catalog entry feed an orbit model, which may be a built-in theory, a set of orbital elements, or external data. A rotation model then sets which way the body faces, and the renderer, the part of the program that draws the scene using OpenGL graphics software, puts it on screen.

VSOP87 in Celestia

Celestia uses a shortened version of VSOP87, in two of its forms.[11]

  • VSOP87B for the planets. It gives positions centered on the Sun, as two angles and a distance.
  • VSOP87E for the Sun. It gives positions centered on the Solar System's center of mass (its balance point), as x, y, and z.

In VSOP87, each coordinate is a sum of periodic terms, which are parts that repeat over time. The terms are grouped by powers of time:[12][13]

X=∑α=05Tα∑iAicos⁡(Bi+CiT)X = \sum_{\alpha=0}^{5} T^{\alpha} \sum_{i} A_i \cos(B_i + C_i T)
  • XX is one coordinate, such as a planet's longitude or its distance from the Sun.
  • TT is time in thousands of Julian years since the year 2000.0 epoch (Julian day 2451545). A Julian year is 365.25 days.
  • α\alpha is the power of time for a group of terms, from 0 to 5.
  • AiA_i is a term's amplitude, or size.
  • BiB_i is its phase, the point in its cycle where it starts, in radians (a unit of angle).
  • CiC_i is its frequency, how fast it repeats, in radians per thousand Julian years.

Celestia stores each term as the three numbers AA, BB, and CC. Its shortened series keep only the larger terms from the full lists. One Venus series, for example, keeps 38 terms.[11]

Example definition

This shortened entry from solarsys.ssc defines Mars's moon Phobos.[8] It gives the moon's name and parent body, its shape model, its surface image, its size, and its orbital elements.

"Phobos:Mars I" "Sol/Mars"
{
	Class	"moon"
	Mesh	"phobos.cmod"
	Texture	"phobos.*"
	Radius	12.95  # maximum semi-axis
	EllipticalOrbit
	{
		Epoch	2460000  # 2023 Feb 24 12:00
		Period	0.31891023  # mean
		SemiMajorAxis	9378.938
		Eccentricity	0.01468
		Inclination	2.097806
		AscendingNode	38.701507
		ArgOfPericenter	66.811489
		MeanAnomaly	173.124729
	}
	CustomRotation	"iau-phobos"
}

The epoch is written as a Julian day, a running count of days used in astronomy. Here 2460000 is 2023 February 24 at 12:00, as the comment in the file says.[8]

More exact data

Users who need more accuracy can replace the orbit of any Solar System body.[8]

Data What it is
SPICE kernels Data files in the SPICE format of NASA's NAIF group that record an object's path over time. SPICE support is a build option that is off by default.[1][14]
Sampled orbits Files of positions and velocities at many times, often used for spacecraft paths.[1][8]
JPL ephemerides An ephemeris is a table of computed positions over time. The JPL Development Ephemeris DE405 or DE406 can supply positions of the planets, the Moon, and Pluto.[8]

Rotation

Celestia also models how each body spins, which sets which way it faces. For most bodies it uses rotation values recommended by the IAU Working Group on Cartographic Coordinates and Rotational Elements, taken from its 2015 report.[8]

Add-ons and catalog files

Users can add real, imagined, or fictional objects by writing new catalog files. The project advises against editing the built-in data files. New files go in Celestia's extras folders instead.[3]

There are three kinds of catalog file, and all are plain text that any text editor can change.[3]

File type Holds
.ssc (solar system catalog) Planets, moons, spacecraft, and similar bodies
.stc (star catalog) Stars
.dsc (deep sky catalog) Galaxies, star clusters, and nebulae

Add-ons can supply much more than new objects.[1]

Add-on content Description
Surface images High-resolution textures cover Earth and other well-mapped bodies.
Virtual textures Very large surface images split into tiles. Celestia loads only the tiles it needs to show, which keeps it fast.
3D models Models of asteroids and spacecraft can follow precise trajectories.
Fictional worlds Users can build whole planetary systems, nebulae, and galaxies, including objects from science fiction.

Two plain-text files control startup. The script start.cel sets what Celestia does when it opens, and celestia.cfg holds other settings.[3]

Scripting

Scripts make Celestia run a sequence of actions by itself, such as a guided tour. Celestia has two script languages: CEL and CELX.[15]

CEL scripts

A CEL script is a plain-text file with a list of commands for Celestia to carry out. The startup file start.cel and the demo file demo.cel are both CEL scripts. Lines that start with # are comments and are not run.[16]

This script flies to Mars:[16]

select { object "Mars" }
goto { time 5 }
wait { duration 5 }

The select command picks Mars, and goto flies there over 5 seconds. A command that takes time must be followed by a wait at least as long, or the next timed command may run instead. Commands must be written in lowercase.[16]

Other CEL commands include:[16]

  • time sets the date as a Julian day.
  • timerate speeds up the clock.
  • print shows text on screen.
  • labels turns labels on or off.

CELX scripts

CELX scripts, available since Celestia 1.3.1, are written in Lua, a full programming language. They add control structures, which are code that repeats actions or chooses between them based on conditions. They also add features such as reading keyboard input.[15]

Celestia builds with Lua 5.1 to 5.4 or LuaJIT, and LuaJIT is preferred.[14]

The two languages use different units, so converting a script needs care.[15]

CEL CELX
Language Celestia's own simple commands Lua
Available since Before version 1.3.1 Version 1.3.1
Angles Degrees Radians
Positions Kilometers Millionths of a light-year

A script can also be started from the command line, a text window where users type commands to run programs. For example, celestia --url name-of-script.cel starts Celestia with a script. Adding --once passes the script to a copy of Celestia that is already running.[15]

Software design

Celestia is written in C++ and draws its graphics with OpenGL. A build option switches the drawing code to OpenGL ES 3.0.[14]

The core program is separate from its user interface, called a front end. On Unix-like systems there are two front ends.[14]

Front end Description
Qt6 The preferred front end, with all features
SDL A minimal front end with a basic interface

Optional build features include:[14]

  • video capture through FFmpeg
  • textures in AVIF, an image file format
  • audio playback
  • support for SPICE files

The default catalogs and textures live in a separate repository, CelestiaContent. Its README lists the authors of each data file and image.[7]

Uses

Celestia has been used in education and in space agency work.

Education

NASA's Learning Technologies Project Office made an online "Celestia Exploration Activity" that used Celestia links. It is no longer available from NASA.[17]

Space agency tools

The French space agency CNES makes VTS, a tool that keeps several viewing programs in step for space data. VTS uses Celestia as its main 3D view.[18]

By 2015, VTS was in wide use at CNES, including for ATV, Galileo, the Rosetta probe, and all operations work.[19]

VTS was also used outside CNES, for example at Airbus Defence and Space.[19]

Research

CNES used Celestia for internal research work.[19]

  • Calculations for the solar arrays of Rosetta's Philae lander.
  • Depth maps for LIDAR simulations. LIDAR measures distance with laser light.

History

Chris Laurel created Celestia.[16] The project's author list also names many other developers, among them Fridger Schrempp, Grant Hutchison, Andrew Tribick, and Hleb Valoshka.[3]

Date Event
February 26, 2001 First version released by Chris Laurel[2]
April 30, 2001 Version 1.0.7[2]
January 8, 2003 Version 1.2.5[2]
February 16, 2006 Version 1.4.1[2]
January 26, 2008 Version 1.5.0, after nearly two years of work[5]
July 9, 2009 Version 1.6.0 for Mac, Windows, and Linux[5]
June 10, 2011 Version 1.6.1, with bug fixes and new data on exoplanets (planets around other stars)[5]
July and August 2016 Website moved to a new address with Laurel's permission, and old forums restored[5]
November 2, 2018 Hleb Valoshka re-imported the code to GitHub and started a fork that later became the main one[5]
July 7, 2020 iOS version released, ported by Levin Li[5][2]
September 3, 2020 Android version released on Google Play[2]
November 19, 2020 Version 1.6.2, with 64-bit Windows and macOS support[5]
April 20, 2023 Version 1.6.3[5]
November 5, 2023 Version 1.6.4, which fixes building with Lua 5.4[5]

No new version came out between 1.6.1 in 2011 and 1.6.2 in 2020.[5]

The 64-bit builds in 1.6.2 mattered most for macOS Catalina and later, which no longer run 32-bit apps.[5]

Version 1.7.0 is the newest line. The download page offers it for Windows, and macOS users get it from the Mac App Store.[4]

References

  1. Celestia: Home, Celestia Development Team, accessed 2026.
  2. 25 Years of Celestia, celestia.mobi, 2026.
  3. Celestia README, Celestia Development Team, GitHub, 2023.
  4. Celestia: Download, Celestia Development Team, accessed 2026.
  5. Celestia: News, Celestia Development Team, 2023.
  6. Celestia, SourceForge, accessed 2026.
  7. CelestiaContent README, Celestia Development Team, GitHub, accessed 2026.
  8. solarsys.ssc, Celestia Development Team, GitHub, accessed 2026.
  9. Gaia EDR3 for Celestia/celestia.Sci, Andrew Tribick, GitHub, accessed 2026.
  10. Selden's Catalogs of Objects for Celestia, Selden Ball, Cornell University, accessed 2026.
  11. vsop87.cpp, Chris Laurel and Celestia Development Team, GitHub, accessed 2026.
  12. Planetary theories in rectangular and spherical variables: VSOP 87 solutions, P. Bretagnon and G. Francou, Astronomy and Astrophysics 202, 1988.
  13. VSOP87 notice for use of files (vsop87.txt), G. Francou, Bureau des Longitudes, copy on GitHub, accessed 2026.
  14. Celestia INSTALL.md, Celestia Development Team, GitHub, accessed 2026.
  15. Preliminary Scripting FAQ, Celestia Forums, 2011.
  16. Celestia .CEL Scripting Guide, Don Goyette, celestiaproject.space, accessed 2026.
  17. The Celestia Motherlode: Documentation, The Celestia Motherlode, accessed 2026.
  18. VTS, Connect by CNES, accessed 2026.
  19. VTS: a long-term approach for synchronization of all visualization software, Thomas Crosnier, Mathieu Joubert, and Quentin Minster, SESP 2015 (ESA), 2015.

Figure