Identify and visualize star constellations from celestial coordinates using angular distance calculations and graph pattern matching.
- Real star data from Hipparcos catalog (RA, Dec, magnitude)
- Angular distance calculations using spherical trigonometry
- Constellation pattern matching via graph-based edge comparison
- ASCII sky maps with stick-figure constellation lines
- Scale-invariant identification (works regardless of projection)
python constellations.py- Stars are stored with RA (right ascension) and Dec (declination) coordinates
- Angular distances computed using the spherical law of cosines
- Constellation patterns defined as graph edges between named stars
- Unknown star sets matched against known patterns with tolerance
- Orion β 8 stars (Betelgeuse, Rigel, Belt)
- Ursa Major β 7 stars (Big Dipper)
- Cassiopeia β 5 stars (W-pattern)
MIT