Skip to content

johanley/constellation-lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Constellation Lines

Data for creating lines joining bright stars, used to create stick figures in the sky representing the constellations.

There are no standard constellation stick figures. It's largely a matter of taste.

The outputs of this project are several text files with structured data. Each file expresses the same stick figures, but uses different identifiers for the stars. The identifiers are taken from these widely used catalogs:

  • HR: Yale Bright Star Catalog
  • HD: Henry Draper catalog
  • HIP: Hipparcos catalog

The version that uses the HIP identifier is also compatible with my own catalog of bright stars based on the Hipparcos data.

Here is an example showing how the stick figures are represented for the constellation of Cancer:

Cnc = [74739, 74198, 74442, 76756];[69267, 74442]

For Cancer the stick figure is implemented using two series of line segments, each represented as a list (or array) of integers:

  • [74739, 74198, 74442, 76756] - joins four stars (using three line segments)
  • [69267, 74442] - joins two stars

The integers are identifiers in an underlying catalog (in this case, the Henry Draper catalog). Of course, in order to actually plot the stick figures, you will need to calculate the positions of the corresponding stars, according to your context.

The magnitude limit of all stars used in all stick figures is stated at the end of the logging output.

This project takes as its core input a data file that has been used in other projects. That data file has a defect: it uses ad hoc identifiers for the stars, which are not related directly to any catalog. This project amends that defect, and publishes the result in a form that's useful to others.

About

Data for creating stick-figures for constellations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages