Visualizations of constellations in three dimensions. Rotate the figures to see how the stars in each are actually related to one another. Click the “Reset View” button to return to the way they appear from earth.

Constellation names come from this web page. Data for the stars in each constellation come from the linked content on that same page, as processed by a local JavaScript file that retrieves remote pages via a simple PHP proxy. Details are available upon request.

Since stars were filtered primarily for magnitude 5.21 and lower, irregularities in the data for that value were addressed during initial retrieval. For later inspection of radial data values, the function function testAllRs(criterion) can take a string containing the variable r with the desired condition.

Constellation lines come from this interesting repository. Two official IAU constellations, Mensa and Microscopium, have no lines and do not appear in this dataset. They have been removed from the star data as well for this reason.

Given that there are two separate datasets, a few corrections are necessary to ensure accurate linkage between the two. The function testLinkage() identifies the problem stars, with the star data emendations in a separate file.

Astronomical right ascension is related to decimal degrees by

αdecimal =15( hours+minutes60 +seconds3600 )

The initial factor is 360° divided by 24 hours.

Astronomical declination is given rather oddly with a leading plus or minus sign that is meant to apply to all digits. Otherwise the conversion to decimals is straightforward:

δdecimal =±( degrees+minutes60 +seconds3600 )

The data unfortunately uses an em dash for the minus sign, which must be converted to the character JavaScript uses for math. The four stars with negative magnitudes were treated similarly during data retrieval.

These two quantities provide variables for visualizing the normal view of a constellation. Since they vary over comparable ranges in each constellation they can be used for this purpose without modification. This is known as celestial coordinates: a NASA composite is available here of the constellations depicted in this manner.

The third variable, distance in light years, has a much larger spread in values and needs to be scaled in some way for visualization. It is set so the middle of the constellation appears at a distance of ten light years, thereby providing relative star distances in a form more easily viewed.

Four constellations contain stars that are not part of constellation lines and detract from the visualization. Two of the relevant stars (Aquila ν and Centaurus ω) are very distant radially and cause the figures to appear smaller compared to other constellation. Four more stars (Camelopardalis 106112 and Cepheus OV, 25007 and 30338) are relatively distant in right ascension because the constellations are near the poles, causing the figures to be offset. Telescopium is not particularly near a pole, but its ξ star has the same effect. These seven stars are listed in the same file as linkage emendations and simply removed from the data.


Uploaded 2026.10.28 analyticphysics.com