Cosmicate

Credits

Cosmicate is built on open data and open-source software. These are the sources, their licences and the attributions they ask for.

Data

Our derived catalogue files (/data/catalog/stars.json and dsos.json) are adaptations of CC BY-SA databases and are released under CC BY-SA 4.0. The IAU does not endorse Cosmicate.

d3-celestial licence (BSD 3-Clause)

Copyright (c) 2015, Olaf Frohn
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of
   conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of
   conditions and the following disclaimer in the documentation and/or other materials
   provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to
   endorse or promote products derived from this software without specific prior written
   permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Software

Adapted code

MIT licence

Each package and project above is licensed under these terms, with the copyright line shown for it.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

Fonts

All three are licensed under the SIL Open Font License, Version 1.1 and are served from our own domain.

Full source notes

The complete notes each part of Cosmicate keeps on its sources, methods, licences and verification references.

Sky catalog: sources, licences, formats

Owner: catalog pipeline (scripts/build-catalogs.ts, scripts/catalog/*, src/engine/catalog/*). Output: public/data/catalog/*.json. Licences were checked on 2026-10-11 by reading each licence text at the URLs below. This file records what we found. It is not legal advice.

Sources used

DataSource & versionLicenceCommercial use
Stars (V ≤ 6.5): HR, HD, HIP, J2000 position, proper motion, parallax, RV, V, B−V, spectral type, Bayer/Flamsteed, constellation, proper namesHYG Stellar Database v4.4, by David Nash (astronexus). Codeberg astronexus/hyg commit 53e3df311869e813ace5f1ad2ec4ce909f13256c (2026-07-12), file data/hyg/CURRENT/hyg_v44.csv.gzCC BY-SA 4.0. Licence file: https://codeberg.org/astronexus/hyg/src/branch/main/LICENSE. Text: https://creativecommons.org/licenses/by-sa/4.0/Yes (ShareAlike)
Deep-sky objects: NGC/IC/Messier cross-ids, type, J2000 position, magnitudes, dimensions, common namesOpenNGC, by Mattia Verga. GitHub mattiaverga/OpenNGC commit 4e2398a263de663d83f7b86be80c368c34335764 (2026-10-10), files database_files/NGC.csv and addendum.csvCC BY-SA 4.0. Per .reuse/dep5 (Files: * … License: CC-BY-SA-4.0) and LICENSES/CC-BY-SA-4.0.txtYes (ShareAlike)
Constellation stick figures and label positionsd3-celestial, © 2015 Olaf Frohn. GitHub ofrohn/d3-celestial commit 7e720a3de062059d4c5400a379146a601d9010e0, files data/constellations.lines.json and data/constellations.json (label positions only)BSD-3-Clause (https://github.com/ofrohn/d3-celestial/blob/master/LICENSE)Yes
Constellation names, abbreviations, genitives, English meanings, pronunciations; official boundary corners (J2000)IAU, "The Constellations": https://iauarchive.eso.org/public/themes/constellations/ and the 89 boundary files …/static/public/constellations/txt/<abbr>.txt (Serpens has two). The archive of iau.org; the current iau.org URLs return 404.CC BY 4.0. Usage policy at https://iauarchive.eso.org/copyright/ covers "images, videos and web texts", with the credit "IAU".Yes, with credit. The IAU must not be presented as endorsing the product, and the IAU logo may not be used.

SHA-256 digests of every raw file read by the build are written into each output file's meta.sources[].sha256.

Upstream acknowledgements carried through the sources
  • HYG combines the Hipparcos catalogue (ESA 1997; van Leeuwen 2007 reduction), the Yale Bright Star Catalogue 5th ed. (Hoffleit & Warren 1991) and the Gliese/Jahreiss Catalogue of Nearby Stars. Its proper names are the IAU Working Group on Star Names (WGSN) list, via https://github.com/mirandadam/iau-starnames.
  • OpenNGC acknowledges the following, and we repeat them: "This research has made use of the NASA/IPAC Extragalactic Database (NED), which is operated by the Jet Propulsion Laboratory, California Institute of Technology, under contract with the National Aeronautics and Space Administration." "We acknowledge the usage of the HyperLeda database (http://leda.univ-lyon1.fr)." "This research has made use of the SIMBAD database, operated at CDS, Strasbourg, France." OpenNGC also uses HEASARC tables and Harold Corwin's NGC/IC notes.
  • d3-celestial's constellation lines follow the IAU constellation charts (IAU and Sky & Telescope: Roger Sinnott, Rick Fienberg, Alan MacRobert; CC BY 4.0), with modifications by Olaf Frohn.

Attribution the site must show

Put this on a public credits page that every catalog view links to. CC BY and CC BY-SA need credit next to the material or on a linked credits page, and the links must work.

Star data: HYG Database v4.4 by David Nash (astronexus), https://codeberg.org/astronexus/hyg, licensed CC BY-SA 4.0. Derived from Hipparcos (ESA), the Yale Bright Star Catalogue and the Gliese Catalogue of Nearby Stars. Star names: IAU Working Group on Star Names.

Deep-sky data: OpenNGC by Mattia Verga, https://github.com/mattiaverga/OpenNGC, licensed CC BY-SA 4.0. OpenNGC uses NED (NASA/IPAC Extragalactic Database, JPL/Caltech under contract with NASA), HyperLeda and SIMBAD (CDS, Strasbourg).

Constellation names and boundaries: IAU (https://www.iau.org), CC BY 4.0.

Constellation figures: d3-celestial, Copyright (c) 2015, Olaf Frohn. All rights reserved. Use is subject to the BSD 3-Clause licence reproduced below. The figures are based on the IAU / Sky & Telescope constellation charts.

Our derived catalog files (/data/catalog/stars.json, dsos.json) are released under CC BY-SA 4.0.

Because of the BSD-3 notice requirement, the credits page must reproduce this text:

Copyright (c) 2015, Olaf Frohn
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of
   conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of
   conditions and the following disclaimer in the documentation and/or other materials
   provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to
   endorse or promote products derived from this software without specific prior written
   permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

ShareAlike scope. stars.json and dsos.json are adaptations of CC BY-SA databases, so we must distribute them under CC BY-SA 4.0 and must not add DRM or extra terms to them. They are public static files, which satisfies this. constellation-lines.json holds d3-celestial geometry (BSD-3) resolved to our star IDs. We treat it as CC BY-SA 4.0 too, to be safe. The site's code reads these files but is a separate work, so ShareAlike does not reach it.

Sources considered and rejected

SourceWhy not used
Yale Bright Star Catalogue 5th ed., VizieR V/50 (Hoffleit & Warren 1991)The ReadMe has no licence or copyright statement. The CDS licence page (https://cds.unistra.fr/vizier-org/licences_vizier.html) says "The commercial usage of the data is subject to rules depending of the origin". The origin is Yale University Observatory (1991), and we found no published terms from them. Because commercial use couldn't be confirmed, we don't read it directly. Its content reaches us through HYG under CC BY-SA 4.0.
Stellarium "modern" sky culture (constellation lines)Licence is "Text and data: CC BY-SA 4.0; Illustrations: Free Art License" (skycultures/modern/description.md). That would allow commercial use, but the brief says not to use any Stellarium assets, and d3-celestial is more permissive (BSD-3, no ShareAlike).
Davenhall & Leggett 1989, VizieR VI/49 (constellation boundaries)No licence statement in the ReadMe, and the same CDS "depends on origin" rule applies. We use the IAU's own boundary files (CC BY 4.0) instead. A few VI/49 J2000 coordinates appear in boundaries.test.ts as independent reference values; they are not shipped.
d3-celestial constellations.json names and genitivesThe licence is fine, but the data has errors (for example "Corona Austrina" for Corona Australis, and genitive "Crux" for Crucis). We use the IAU table for names and keep only d3's label positions.
IAU-CSN text list (https://www.pas.rochester.edu/~emamajek/WGSN/IAU-CSN.txt)Its header says "All IAU-produced products … are released under Creative Commons Attribution". It is only updated to 2022-04-04, and HYG v4.4 carries names approved through 2026, so we take names from HYG.

Output files (public/data/catalog/)

Every file is JSON with a meta block: schema (currently 1), sources (name, version, URL, licence, sha256) and notes. The writer is scripts/catalog/write.ts. Column order is defined once in src/engine/catalog/format.ts, which both the writer and the loader use. Load the files with loadCatalog() from src/engine/catalog/load.ts.

FileRawgzipbrotliContent
stars.json976 KB376 KB307 KB8,922 stars
dsos.json194 KB56 KB45 KB1,788 deep-sky objects
constellation-names.json21 KB8 KB6 KB88 constellations
constellation-lines.json12 KB3 KB3 KB88 figures, 150 polylines, 743 segments
constellation-bounds.json254 KB104 KB54 KB88 constellations, 89 rings

We considered a binary Float32 file for star positions and rejected it. The six numeric render columns would take 214 KB raw as Float32. The JSON already compresses to 307 KB with brotli, and most of that is the string metadata, which a binary split would still need as JSON. The saving didn't justify a second format.

stars.json: { meta, fields, rows }

Each row is a tuple in fields order: id, hr, hd, hip, ra, dec, pmRa, pmDec, plx, rv, mag, bv, spect, bayer, flam, con, name.

  • id: hr-<HR>. If the star has no HR number, hip-<HIP>; if it has neither, hyg-<HYG id>. When HYG has two rows with the same HR number, the brighter row gets the hr- ID.
  • ra, dec: degrees, ICRS, epoch J2000.0, 6 decimals. pmRa = μα·cosδ and pmDec = μδ, in mas/yr.
  • plx: mas (1000 / HYG dist), or null when HYG flags the distance as unknown (≥ 100000 pc). rv: km/s, or null. HYG uses 0.0 to mean unknown, so 0.0 becomes null.
  • mag: V. bv: B−V or null. spect: MK type. bayer: display form (α, κ¹, p). flam: number. con: IAU abbreviation.
  • name: IAU WGSN proper name. HYG v4.1 added "<primary> B" companion labels, which its own release notes call unofficial; those are dropped. So are catalogue-number labels such as "Groombridge 1830", because WGSN names never contain digits.
  • Contents: every HYG star with V ≤ 6.5 (8,920), plus 2 fainter stars that d3-celestial's figures use (ι Cnc B, HR 3474; κ¹ Boo, HR 5328). Rows are sorted by V.
dsos.json: { meta, fields, rows }

Fields: id, designation, messier, ngc, ic, type, ra, dec, vMag, bMag, majAx, minAx, pa, con, names, dupOf, note.

  • id: m<n> for Messier objects. Otherwise <catalog>-<number>: ngc-7000, ic-434, b-33, mel-22, eso-56-115, ngc-520-ned1.
  • ngc and ic are string arrays (the object's own number plus cross-identifications). type uses OpenNGC codes (G, OCl, GCl, PN, HII, Cl+N, …).
  • majAx/minAx in arcmin, pa in degrees N→E. Serpens Caput and Cauda (Se1/Se2) are folded into Ser.
  • Selection: all Messier objects; plus everything else with a common name or V (else B) ≤ 12, except stars, double stars, Other, novae, duplicates and nonexistent objects.
  • m102 is an alias entry (type: "Dup", dupOf: "m101"). OpenNGC follows NED in identifying M102 with M101. The ngc-5866 entry keeps OpenNGC's note "This may be M102".
constellation-names.json: { meta, items }

Each item is { id: "con-ori", abbr: "Ori", name, genitive, meaning, pronunciation, label: [ra, dec] }. label comes from d3-celestial; everything else comes from the IAU. On the IAU page some pronunciations ended in a footnote digit ("aw-STRAL-iss3"); the digit is stripped.

constellation-lines.json: { meta, items }

Each item is { id: "con-ori", polylines: [["hr-2061", "hr-1948", …], …] }, where the IDs are star IDs in stars.json. Each d3-celestial vertex was matched to the nearest HYG star within 36″. Every vertex matched (the build throws otherwise). The median offset is 0.16″ and the largest is 16.3″.

constellation-bounds.json: { meta, items }

Each item is { id, rings: [[ra0, dec0, ra1, dec1, …, ra0, dec0]] }: closed rings in J2000 degrees, 5 decimals. Serpens has two rings. How they are built:

  1. Read the IAU J2000 corners. Back-precessing them to B1875.0 recovers Delporte's round grid to within 0.04″.
  2. Drop the IAU's extra path from Octans down to the pole and back. It is only there to make a lat/long polygon.
  3. Densify each B1875 edge in ≤ 1° steps: parallels by RA, meridians by Dec. Precess the inserted points to J2000.

Corners keep the IAU's published values exactly. Points between vertices are at most 3.9″ from the true boundary (chord sagitta), which the boundary test confirms against the VI/49 interpolated points.

Methods and citations (src/engine/catalog/)

  • Precession (precession.ts): IAU 1976 angles from Lieske et al. 1977, A&A 58, 1, as given in Meeus, Astronomical Algorithms 2nd ed., eqs. 21.2–21.4. Tested against Meeus Example 21.b to 0.05″. B1875.0 = JD 2405889.25855.
  • Proper motion (properMotion.ts): rigorous space-motion propagation, ESA 1997, The Hipparcos and Tycho Catalogues, Vol. 1 §1.5.5, including perspective acceleration when parallax and RV are known. Tested against Hipparcos→SIMBAD (Sirius, < 2 mas) and Gaia DR3→SIMBAD (Barnard's star, < 5 mas). SIMBAD's J2000 positions are propagated linearly, so that comparison is made with RV omitted. A separate test checks the perspective term.
  • B−V → colour (color.ts): temperature from Ballesteros 2012, EPL 97, 34008. Planckian locus (x, y) from the Kim et al. 2002 cubic spline (J. Korean Phys. Soc. 41, 865), valid 1667–25000 K. Then XYZ → linear sRGB with the IEC 61966-2-1 matrix, normalised to the brightest channel and sRGB-encoded. B−V is clamped to [−0.4, 2.0]. Tested against CIE illuminant A (2856 K Planckian, CIE 15:2004) to 0.001, and against the solar B−V (0.653, Ramírez et al. 2012) → 5772 K to within 1%.
  • Magnitude → render scale (magnitude.ts): flux uses Pogson's ratio F = 10^(−0.4 m). The point radius is r = r_min·(F/F_limit)^(γ/2) with γ = 0.5, capped at r_max. Opacity ramps from 1 down to 0.25 over the last magnitude before the limit (6.5). This is a display convention, not data.
  • Search (search.ts): matches are case- and diacritic-insensitive (NFKD, combining marks removed). Greek symbols and superscripts are normalised, and "NGC 0224" / "Messier 31" become canonical keys (ngc224, m31). Match tiers, best first: exact, then prefix, then word-prefix, then all tokens, then substring. The primary key gets a bonus, and brightness breaks ties.

Rebuilding

npm run build:catalogs          # downloads to data/raw/ on first run, then rebuilds outputs
npx vitest run src/engine/catalog scripts

To update a source, change its pinned commit in scripts/catalog/sources.ts and delete the matching files under data/raw/. Then rebuild, re-run the tests and update this file.

Astro engine — algorithms, sources and licences

Module: src/engine/astro/. Pure client-side TypeScript. No new dependencies.

Computation

WhatHowSource / licence
Ephemerides (Sun, Moon, planets, Pluto), aberration, precession, nutation, refraction ("normal"), illumination and magnitudes, constellations, rise/set, altitude and hour-angle searches, moon phases/quarters, libration, seasons, relative-longitude and max-elongation searches, lunar/solar eclipsesastronomy-engine, imported only via src/engine/time/ae.ts (which installs the project ΔT model)astronomy-engine 2.1.19 by Don Cross, MIT licence. Its constellation lookup uses the IAU constellation boundaries (defined in B1875 coordinates); our results match the constellation Horizons reports for all 50 geocentric fixture rows.
Bright-limb position angle (moon.ts)χ = atan2(cos δ☉ sin(α☉ − α), sin δ☉ cos δ − cos δ☉ sin δ cos(α☉ − α))J. Meeus, Astronomical Algorithms, 2nd ed. (1998), eq. 48.5.
Mean synodic month 29.530588861 d (phase-name window)constantMeeus 1998, ch. 49.
Body radii (bodies.ts)triaxial target radii; mean radius = (abc)^⅓NASA/JPL Horizons "Target radii" (IAU WGCCRE shape models; Sun = IAU 2015 Resolution B3 nominal radius 695 700 km), recorded in src/engine/fixtures/horizons.json.
Rise/set conventionupper limb on the horizon with 34′ refraction (scaled by air density at the observer's elevation), topocentricStandard almanac definition (USNO / Explanatory Supplement to the Astronomical Almanac), as implemented by astronomy-engine. Twilight: Sun's geometric centre at −6°/−12°/−18°.
Opposition / conjunction definition (events.ts)apparent geocentric ecliptic longitudes differ by 180° / 0°; bracketed with astronomy-engine's heliocentric SearchRelativeLongitude, then refinedAstronomical Almanac convention.

Data

DataSourceLicence / terms
Meteor showers (meteorShowers.ts): activity, λ⊙ (J2000.0) of maximum, radiant, V∞, r, ZHR; parent bodies only where the calendar names them (Perseids, Draconids, Taurids, Leonids, Ursids)International Meteor Organization, 2027 Meteor Shower Calendar, J. Rendtel (ed.), IMO INFO(3-26), Table 5 "Working List of Visual Meteor Showers". https://www.imo.net/ShCal27s.pdf, DOI 10.13140/RG.2.2.16856.46082. Fetched 2026-10-11 (the 2026 edition was not available while the IMO site was being rebuilt).© International Meteor Organization 2026; factual values cited with attribution.

IMO λ⊙ is the geometric (aberration-free) solar longitude referred to J2000.0; the engine converts it to astronomy-engine's apparent-of-date longitude by iteration. The calendar's own λ⊙ ↔ UT pairs agree with this to ≤ 2 minutes (one exception, the η-Aquariid time, is inconsistent within the calendar and is noted in the tests).

Verification references (test fixtures only, not shipped)

ReferenceUsed forGenerator
NASA/JPL Horizons System, DE441 (https://ssd.jpl.nasa.gov/horizons/, API https://ssd.jpl.nasa.gov/api/horizons.api), Solar System Dynamics Group, JPL/Caltech.Geocentric and topocentric positions, physical quantities, rise/transit/set, twilight, event series (equinoxes, conjunctions, oppositions, stations, elongations, a local solar eclipse, a lunar quarter)scripts/fixtures/fetch-horizons.ts → src/engine/fixtures/horizons.json, horizons-rts.json, horizons-twilight.json, horizons-events.json
NASA GSFC eclipse tables, F. Espenak (https://eclipse.gsfc.nasa.gov/LEdecade/LEdecade2021.html, https://eclipse.gsfc.nasa.gov/SEdecade/SEdecade2021.html)Eclipse times (TD), types, durations, visibility regionsvalues quoted in events.test.ts
IMO 2027 calendar Table 4 (lunar phases) and text (λ⊙ ↔ UT, Moon conditions)Moon quarters, shower peak timesvalues quoted in moon.test.ts, meteorShowers.test.ts
US Naval Observatory RSTT API (https://aa.usno.navy.mil/api/rstt/oneday)Intended rise/set reference — not used: the server reset every TLS connection on 2026-10-11, so Horizons R-T-S output (refined to the same almanac definition) replaced it.—
Live Sky (/sky): sources and licences

Code: src/app/sky, src/features/sky, src/scene/sky. No new dependencies.

WhatSourceLicence
Ephemerides, precession/nutation rotation matrices, Earth velocity (aberration), refraction model, Moon rotation axis (IAU WGCCRE), illumination/magnitudes, rise/transit/setastronomy-engine 2.1.19 via src/engine/time/ae.ts and src/engine/astroMIT
Stars, deep-sky objects, constellation names, figures, boundariesCatalog pipeline (see docs/credits/catalog.md): HYG v4.4, OpenNGC, d3-celestial, IAUCC BY-SA 4.0 / BSD-3-Clause / CC BY 4.0
Satellite element setsCelesTrak GP data via /api/tle (see docs/credits/live.md), propagated with satellite.js 7.1.0MIT (satellite.js); CelesTrak terms
Star coloursB−V → RGB, src/engine/catalog/color.ts (Ballesteros 2012; Kim et al. 2002)—
Planet coloursB−V colour indices Mercury 0.93, Venus 0.82, Mars 1.36, Jupiter 0.83, Saturn 1.04, Uranus 0.56, Neptune 0.41, Pluto 0.80 — Allen's Astrophysical Quantities, 4th ed. (A. N. Cox, ed., 2000). Converted with the same black-body mapping (approximate hue).Factual values
Ayanamsa, nakshatras, chart anglessrc/engine/vedic, src/engine/astrology/core.ts—
Milky Way glowESO all-sky panorama eso0932a, ESO/S. Brunier, adapted to six cube faces in public/textures/sky/ (see below), drawn by src/scene/sky/milkyWay.tsCC BY 4.0
Moon surface mappublic/textures/std/moon.webp (shared project asset; its provenance is not yet recorded in docs/credits — owner of the textures should add it)—

Milky Way background (public/textures/sky/milkyway_*.webp)

Display-only choices (not data): limiting magnitude per tier (6.5/5.5/4.5) and per twilight state, sky background palette, label priorities, point-size mapping (magnitudeToRender, γ = 0.6).

Credits and licences — live data, satellites, Chiron

Owner: live-data layer (src/app/api/, src/engine/sat/, src/engine/conditions/, src/engine/astrology/chiron.ts). Terms were read on 2026-10-11.

Licensing flags (read before any commercial launch)

ServiceFree-tier termsProblemCommercial path
Open-Meteo forecast + geocodingNon-commercial only; < 10,000 calls/day, 5,000/h, 600/min (terms)Ads or subscriptions count as commercial use. The free API cannot be used once Cosmicate earns money.Paid API plan (Standard 1M / Professional 5M / Enterprise 50M+ calls per month, pricing): same requests on customer-api.open-meteo.com / customer-geocoding-api.open-meteo.com with &apikey=. Or self-host the AGPLv3 Open-Meteo server. Hosts are set in src/app/api/_lib/openMeteo.ts.
7Timer! ASTROdoc.php: free "as long as you are not using them for commercial purpose"; asks developers to notify the author. The operator's GitHub wiki says the opposite: no permission needed "for your software (free or paid)".The two statements conflict, and there is no SLA.Get written permission from the operator (Shanghai Astronomical Observatory / Chenzhou Cui), or replace the source. /api/seeing returns 503 unavailable when 7Timer! is down.

Data sources

CelesTrak — satellite element sets (/api/tle)
  • Source: https://celestrak.org/NORAD/elements/gp.php?GROUP={stations|visual}&FORMAT=JSON (OMM JSON).
  • Usage policy: GP data formats page, FAQ addendum (updated 2026-03-26). CelesTrak "only checks for new GP data once every 2 hours". Clients must not download the same data more than once per update. A repeat download gets an HTTP 403 ("GP data has not updated since your last successful download"), and more than 1,000 error responses in a day puts the IP address in the firewall. The page also recommends formats other than TLE, because TLE cannot carry catalog numbers ≥ 100000 (newer objects already use them).
  • How we comply: we use OMM JSON only. Each group is downloaded at most once per 2-hour update: the last good copy is kept in memory and in a JSON file per group (COSMICATE_CACHE_DIR, default data/cache), so a restart or deploy does not download unchanged data again (which CelesTrak would answer with 403). One request per group is in flight at a time, and after any error no request is made for 15 minutes (or CelesTrak's Retry-After), which caps a persistent failure at 96 errors a day per group. Meanwhile the last good copy is served marked stale, up to 24 h after it was downloaded; older copies are refused (503). See src/app/api/_lib/liveSource.ts and src/app/api/tle/route.ts. We fetch only two small groups and send an identifying User-Agent. (In testing, CelesTrak answered HTTP 500 to curl's default User-Agent and 200 to ours.)
  • CelesTrak data is published free of charge by CelesTrak, a non-profit. The original element sets come from the US Space Force (18 SDS) via space-track.org.
Open-Meteo — weather and geocoding (/api/weather, /api/geocode)
  • Forecast: api.open-meteo.com/v1/forecast returns hourly cloud_cover (total/low/mid/high), visibility, relative_humidity_2m, wind_speed_10m and wind_gusts_10m, in UTC, for 3 days. We cache it for 30 min per 0.01° cell. Coordinates are rounded before they are sent upstream.
  • Geocoding: geocoding-api.open-meteo.com/v1/search returns name, admin1/admin2, country, lat, lon, elevation and IANA timezone. We cache it for 1 day per normalised query.
  • Licence: API data is CC BY 4.0 (licence). Required UI attribution: a link to open-meteo.com next to the data ("Weather data by Open-Meteo.com"). Geocoding data comes from GeoNames (CC BY): show "Location data based on GeoNames". Both strings come back in the API payloads as attribution.
  • Underlying weather models are from national services (DWD, ECMWF, NOAA, Météo-France, JMA, UK Met Office (CC BY-SA), and others). Each has its own licence, listed on the Open-Meteo licence page.
timezone-boundary-builder via geo-tz — time zone of a location (/api/timezone)
  • Lookup: geo-tz 8.1.11 (MIT, © 2016 Evan Siroky) answers the IANA zone at a latitude/longitude from polygons bundled in the package. Nothing is fetched upstream. We use its full data set (geo-tz/all), which names each place's own tzdata zone (Reykjavik is Atlantic/Reykjavik, not the Africa/Abidjan the smaller "1970" set merges it into), so local times stay right for dates before 1970 too. Coordinates are rounded to 0.01° and the answer is cacheable for 1 day. Over oceans and unclaimed land the data gives nautical zones (Etc/GMT+9 = UTC−9).
  • Data: timezone-boundary-builder by Evan Siroky, built mostly from OpenStreetMap. Licence: ODbL 1.0. We show zone names derived from it (a produced work), so attribution is required; we don't redistribute the database itself beyond the package's own copy on the server.
  • Required attribution: "Time zone boundaries: timezone-boundary-builder by Evan Siroky, derived from OpenStreetMap data © OpenStreetMap contributors, available under the Open Database License (ODbL 1.0)." Shown on /credits.
  • Package size: about 72 MB installed (three polygon data sets; only the full set, 30 MB, is read). Server-only: next.config.ts lists it in serverExternalPackages because it reads its data files from node_modules at runtime.
  • If the lookup fails, the browser falls back to the device's own zone and marks it as guessed.
IANA tz database — approximate first-visit place (src/engine/geo/tzCities*.ts)
  • Until the visitor sets a place, the site starts at the principal location of the device's time zone (Asia/Kolkata → Kolkata), labelled approximate. No request is made: the table is built into the app by scripts/build-tz-cities.ts.
  • Data: IANA tz database 2026d, files zone.tab and zone1970.tab (principal locations) and backward (old and alias zone names), https://www.iana.org/time-zones. Public domain.
  • Credit (not required, given anyway): "Time-zone principal locations and aliases: IANA tz database 2026d (zone.tab, zone1970.tab, backward), public domain."
7Timer! — seeing and transparency (/api/seeing)
  • https://www.7timer.info/bin/astro.php?...&output=json (ASTRO product): 3-hourly steps for 72 h, derived from NOAA/NCEP GFS and operated by the Shanghai Astronomical Observatory. It updates about four times a day. We cache it for 1 h and refuse model runs older than 24 h.
  • Scales come from the operator's wiki:
  • seeing 1 (< 0.5″) to 8 (> 2.5″)
  • transparency 1 (< 0.3) to 8 (> 1 mag/airmass)
  • cloud cover 1 (0–6 %) to 9 (94–100 %)
  • −9999 means undefined. Those steps are dropped, never filled in.
  • Terms: see the flag above. Required credit (our wording): "Seeing and transparency: 7Timer! (Shanghai Astronomical Observatory), GFS-based".
JPL Horizons — Chiron (src/engine/astrology/chiron.ts)
  • Horizons API, target 2060; (2060 Chiron, solution JPL#171, solution date 2026-06-05, 6026 observations 1895–2026). The full queries are stored in src/engine/fixtures/chiron-horizons.json.
  • Seed states: EPHEM_TYPE=VECTORS, CENTER='500@0', REF_PLANE=FRAME, REF_SYSTEM=ICRF, OUT_UNITS=AU-D, every 5 years 1900–2100 (41 epochs, TDB). These states are shipped in chironStates.ts.
  • Test oracle: EPHEM_TYPE=OBSERVER, CENTER='500@399', QUANTITIES='31' (apparent ecliptic-of-date longitude and latitude) at 19 instants.
  • Horizons output is produced by NASA/JPL (a US government-funded service). It is freely usable, and JPL asks that it be credited. Credit: "Chiron ephemeris seeded from NASA/JPL Horizons".
  • Regenerate with npx tsx scripts/fixtures/fetch-chiron-horizons.ts && npx tsx scripts/fixtures/gen-chiron-states.ts.
Bortle Dark-Sky Scale (src/engine/conditions/bortle.ts)
  • J. E. Bortle, "Introducing the Bortle Dark-Sky Scale", Sky & Telescope 101(2), 126–129 (Feb 2001).
  • We ship only the class names and naked-eye limiting magnitudes (facts). The one-line summaries are our own paraphrases. The article text is copyrighted, so we don't quote it.
  • The class is chosen by the user. No automatic estimate. Dataset options for one later, all unverified for licence fit and needing review:
  • Falchi et al. (2016), New World Atlas of Artificial Night Sky Brightness (GFZ Data Services). We believe it is CC BY-NC, i.e. non-commercial.
  • NOAA/EOG VIIRS Day/Night Band annual composites (Payne Institute EOG; recent products are CC BY 4.0). This gives upward radiance, not sky brightness. Turning it into Bortle needs a skyglow model, which would make the result an estimate.
  • lightpollutionmap.info / D. Lorenz atlas tiles. Their terms don't grant reuse in a product, so contact the authors.
Verification-only sources (not shipped to users)
  • Heavens-Above (heavens-above.com): live ISS pass tables were used to verify pass prediction (docs/verification/iss-passes.md). Six pass times are frozen in src/engine/sat/fixtures/iss-heavens-above.json as test reference values. They are never shown in the product.
  • Vallado et al. (2006), "Revisiting Spacetrack Report #3", AIAA 2006-6753: SGP4-VER.TLE and tcppver.out reference vectors. They were copied from python-sgp4 (MIT), which redistributes Vallado's files, into src/engine/sat/fixtures/vallado-sgp4.json.
  • Swiss Ephemeris fixtures: as recorded by the core engine (dev-only, AGPL/commercial, not shipped).

Software

PackageVersionLicenceUse
satellite.js7.1.0MIT (© 2013 Shashwat Kandadai, UCSC)SGP4/SDP4, TEME→ECF, look angles, sun position, conical Earth-shadow fraction
astronomy-engine2.1.19MIT (© Don Cross)Sun and Moon altitudes, Moon illumination, GravitySimulator and precession/nutation for Chiron
next16.4.6MITRoute handlers
geo-tz8.1.11MIT (© 2016 Evan Siroky); data ODbL 1.0 (timezone-boundary-builder / OpenStreetMap). Dependencies: pbf 3.3.0 (BSD-3-Clause), geobuf 3.0.2 (ISC), @turf/helpers and @turf/boolean-point-in-polygon 7.4.0 (MIT)Offline coordinates → IANA time zone for /api/timezone

Model notes (what is and isn't computed)

  • Satellite shadow: conical umbra/penumbra with a spherical Earth (satellite.js shadowFraction). The satellite counts as sunlit while less than half the solar disc is hidden. Atmospheric refraction of sunlight is not modelled.
  • Observer darkness: the Sun's geometric altitude must be below −6°, tested continuously through the pass.
  • Satellite magnitude: not computed. No standard-magnitude catalogue with a usable licence is wired in.
  • Moon interference: a qualitative label from a documented rule using the Moon's altitude and illuminated fraction (see moon.ts). It is not a sky-brightness number.

Switching to commercial Open-Meteo (when the site earns money)

The site uses Open-Meteo's free, non-commercial endpoints by default. When Cosmicate starts earning (ads, shop, subscriptions), buy an API subscription at https://open-meteo.com/en/pricing and set the server environment variable OPEN_METEO_API_KEY=<key> on the host. Forecast and geocoding requests then go to customer-api.open-meteo.com / customer-geocoding-api.open-meteo.com with the key; no code change is needed. The CC BY 4.0 credit lines stay required either way. 7Timer! seeing data: ask the operator for written permission before commercial use, or remove it.

Credits and licences: planet textures (Home scene)

Owner: home area (public/textures/, src/scene/textures/, src/scene/solar/). Licence read on 2026-10-11 at https://www.solarsystemscope.com/textures/.

Solar System Scope texture pack

  • Author: Solar System Scope / INOVE (https://www.solarsystemscope.com/textures/).
  • Licence: Creative Commons Attribution 4.0 International (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/). The page states: "Distributed under Attribution 4.0 International license: You may use, adapt, and share these textures for any purpose, even commercially."
  • Required credit (shown in this file and to be shown on the site's credits page): "Planet textures: Solar System Scope (solarsystemscope.com), CC BY 4.0. Converted to WebP."
  • Provenance stated by the author: "based on NASA elevation and imagery data. Colors and shades of the textures are tuned according to true-color photos made by Messenger, Viking and Cassini spacecrafts, and, of course, the Hubble Space Telescope." Earth textures merge NASA Blue Marble data.
  • Caveats stated by the author (read before calling the imagery "exact"): some parts of the planets are not mapped and "are filled with fictional terrain that corresponds with the rest of the landscape", and colours are "slightly more saturated". The textures are realistic imagery for display, not science data. We did not use the pack's explicitly fictional dwarf-planet maps.
Files and changes (adaptation, as CC BY 4.0 requires us to indicate)

All files were re-encoded from the author's JPEG/PNG to WebP with cwebp (libwebp, Homebrew) with metadata stripped; nothing else was changed (no recolouring, cropping or resizing). Quality: -q 85 for most colour maps, -q 75 (std) / -q 72 (hd) for Mercury, the Moon and Earth clouds (very noisy images), -q 82 for other HD maps, -lossless for the Saturn ring (colour + alpha).

Published fileSource fileSizeNotes
std/sun.webp2k_sun.jpg2048×1024
std/mercury.webp2k_mercury.jpg2048×1024
std/venus.webp2k_venus_atmosphere.jpg2048×1024Venus atmosphere (cloud tops), i.e. what Venus looks like, not the radar surface map
std/earth.webp2k_earth_daymap.jpg2048×1024day map
std/earth-clouds.webp2k_earth_clouds.jpg2048×1024used as an alpha (data) map, linear colour space
std/moon.webp2k_moon.jpg2048×1024
std/mars.webp2k_mars.jpg2048×1024
std/jupiter.webp2k_jupiter.jpg2048×1024
std/saturn.webp2k_saturn.jpg2048×1024
std/saturn-ring.webp2k_saturn_ring_alpha.png2048×125RGBA, radial strip
std/uranus.webp2k_uranus.jpg2048×1024no HD offered by the author
std/neptune.webp2k_neptune.jpg2048×1024no HD offered by the author
hd/sun.webp8k_sun.jpg4096×2048the author's "8k" Sun is 4096 px wide
hd/mercury.webp8k_mercury.jpg8192×4096
hd/venus.webp4k_venus_atmosphere.jpg4096×2048largest atmosphere map offered
hd/earth.webp8k_earth_daymap.jpg8192×4096
hd/moon.webp8k_moon.jpg8192×4096
hd/mars.webp8k_mars.jpg8192×4096
hd/jupiter.webp8k_jupiter.jpg4096×2048the author's "8k" Jupiter is 4096 px wide
hd/saturn.webp8k_saturn.jpg4096×2048the author's "8k" Saturn is 4096 px wide
hd/saturn-ring.webp8k_saturn_ring_alpha.png8192×500

Not used: Earth night map, normal/specular maps (TIFF), star backgrounds (the scene's star backdrop is drawn from the site's own star catalog, see docs/credits/catalog.md), NASA/LRO Moon (the pack's Moon is used instead; no second source to credit).

SHA-256 of the downloaded originals
fffd7f68d41b37274822150e54a6ef605af1d3ec35624d9f628c3b896bfa42ed  2k_earth_clouds.jpg
767ee1dc6eb3802699bfccf6f264880f8acd0b80de3191cd24984fe279b07b7c  2k_earth_daymap.jpg
c16fd1bc096ab91a5c5265c6ff9847c43f489f2e2ee790ccdbcbd03251cf3a5a  2k_earth_nightmap.jpg
b0f04d005350252636b0e3396fc592548cbd9e9126b269d32d5c6abd4b0e4f2b  2k_jupiter.jpg
2d187f3e77a98eaa8cea5f4cc722f633c122ef170b9e94ace6b5fb6cbc3f8e01  2k_mars.jpg
5a5c80607f643496bac9a631e71957def35ed788895f18b678ac849c2b38e48a  2k_mercury.jpg
2764ba6535ea0481a062846ee033cc7a909dae05b31a8fd13f3e98f3a7fd92bd  2k_moon.jpg
cb42ea82709741d28b0af44d8b283cbc6dbd0c521a7f0e1e1e010ade00977df6  2k_neptune.jpg
4b0644b2f3ef259fd0bfaedd9dc52f9e7d9738f65f50363e8c4dd19f650d7334  2k_saturn_ring_alpha.png
54a900ca9bf7ab62e70f862852759abdf342e6d6436a95a2fe9ebdb6bcd3bbac  2k_saturn.jpg
ff0f076ba65e03b5ab518451bc96699325be38e3ccbdd5869ee1c00f3a0c8816  2k_sun.jpg
d15239d46f82d3ea13d2b260b5b29b2a382f42f2916dae0694d0387b1204a09d  2k_uranus.jpg
225012ad4911730605c4e189ca2a3bf674fce50cc48aab4102b936b47d6991ac  2k_venus_atmosphere.jpg
a14aeba3c6ad7a56f989bb32008dec548077aeded420495b34df98f2dc14ba91  4k_venus_atmosphere.jpg
c792eca228989d36ebb45d3ea6ff1198be5e21a25d70d2fbcb2124ffd14ba7f5  8k_earth_clouds.jpg
88ab060b6e7d241cfc590c69f528fab2b3247b738d40124cb590999a6fe44abc  8k_earth_daymap.jpg
0bd844bf20822c4e3e80882b077859833c0dac44c7e4e1e0cd63d1b1b6d43085  8k_jupiter.jpg
4cc52149924abc6ae507d63032f994e1d42a55cb82c09e002d1a567ff66c23ee  8k_mars.jpg
5c8bd885ae3571c6ba2cd34b3446b9c6d767e314bf0ee8c1d5c147cadd388fc3  8k_mercury.jpg
d1875bcec83588ca25e4802e576f6bb9f88b39e1e403cb41ff55867419c54796  8k_moon.jpg
f1f826933c9ff87d64ecf0518d6256b8ed990b003722794f67e96e3d2b876ae4  8k_saturn_ring_alpha.png
0d39a4a490c87c3edabe00a3881a29bb3418364178c79c534fe0986e97e09853  8k_saturn.jpg
f22b1cfb306ddce72a7e3b628668a0175b745038ce6268557cb2f7f1bdf98b9d  8k_sun.jpg

Other values used by the scene

  • Body radii: src/engine/astro/bodies.ts (JPL Horizons target radii); Earth: WGS-84 ellipsoid (6378.137 / 6356.752 km).
  • Saturn's main rings drawn from the inner edge of the C ring (74 658 km) to the outer edge of the A ring (136 775 km), NASA Saturn fact sheet (https://nssdc.gsfc.nasa.gov/planetary/factsheet/saturnfact.html). The author does not document the ring texture's radial span; we map it onto that range.
  • Mean Earth–Moon distance 384 400 km: NASA Moon fact sheet.
  • Positions, orbits and rotation (IAU WGCCRE 2015 rotation models): astronomy-engine via src/engine/time/ae.ts (MIT licence, see docs/credits/astro.md).
Western (tropical) engine — algorithms, sources and licences

Module: src/engine/western/. All positions come from the shared astrology core (src/engine/astrology/core.ts, astronomy-engine, MIT licence) and, for Chiron, src/engine/astrology/chiron.ts (JPL Horizons seed states). This module adds no data files and no new dependencies.

House systems (houses.ts)

SystemMethodReferences
Placidus (default)Fixed-point iteration on the semi-arc: λ → δ = asin(sin ε sin λ) → ascensional difference AD = asin(tan φ tan δ) → target RA (cusp 11: ARMC + SA_d/3, 12: ARMC + 2SA_d/3, 2: ARMC + 180° − 2SA_n/3, 3: ARMC + 180° − SA_n/3, with SA_d = 90° + AD, SA_n = 90° − AD) → λ = atan2(sin RA, cos RA cos ε). Converged to 1e-10°.R. W. Holden, The Elements of House Division (Fowler, 1977); Swiss Ephemeris programmer's documentation §6 "House cusp calculation" (Astrodienst); J. Meeus, Astronomical Algorithms 2nd ed. (1998) ch. 13 for the ecliptic ↔ equatorial conversions.
KochTrisect the MC degree's diurnal semi-arc at the birth latitude: cusps 11, 12, 2, 3 are the Ascendants for RAMC + 30° − ⅔AD_MC, + 60° − ⅓AD_MC, + 120° + ⅓AD_MC, + 150° + ⅔AD_MC.Holden 1977; Swiss Ephemeris swehouse.c (case 'K') for the identical formulation.
EqualAsc + 30°·k.Holden 1977.
Whole SignHouse 1 = whole sign containing the Asc.Holden 1977.

Polar circles. For |φ| ≥ 90° − ε, ecliptic degrees with |δ| > 90° − |φ| are circumpolar (tan φ tan δ ≥ 1 has no ascensional difference), so semi-arc systems are undefined. Placidus and Koch return { ok: false, reason } there — the same domain Swiss Ephemeris treats as undefined (fabs(fi) >= 90 - ekl). The reason string names any Placidus cusp for which an exhaustive scan of its quadrant finds no solution. For the Tromsø fixture (69.65°N, 1975-12-21 02:00 UT) the scan shows cusp 3 (and its opposite, 9) has no solution: every candidate ecliptic point near ARMC + 150° has δ ≈ −22.4°, giving tan φ tan δ ≈ −1.11.

Reference values for tests: Swiss Ephemeris 2.10.03 via pyswisseph (src/engine/fixtures/swisseph.json; Swiss Ephemeris is AGPL / Swiss Ephemeris Professional licence — used only to generate test fixtures, not shipped).

Chart (chart.ts, unknownTime.ts)

  • Bodies Sun–Pluto, true and mean nodes: core.ts (apparent, true equinox of date). Mean node: Meeus eq. 47.7. South nodes are the north node + 180°.
  • Retrograde = longitude speed < 0 (finite difference ±1 h, as in core).
  • Angle speeds: finite difference of Asc/MC over ±1 min.
  • Unknown birth time: positions at local clock noon (IANA zone via Luxon, through time/civil.ts); the Moon's range is its longitude at local 00:00 and the next local 00:00 (the Moon is always direct geocentrically, so these are the extremes). Angles, houses and house placement are omitted with a reason.

Aspects (aspects.ts)

Major (Ptolemaic) aspects 0°, 60°, 90°, 120°, 180°; optional minor aspects 30°, 45°, 72°, 135°, 144°, 150°. Default orbs are a Cosmicate convention (no authoritative table exists): luminary / planet / point = conj & opp 10/8/5, trine & square 9/7/4, sextile 6/5/3, quincunx 3/3/2, other minors 2/2/1; a pair uses the wider of its two orbs. Applying/separating is the sign of d|sep − angle|/dt from the two longitude speeds. Transit default orb: 1° for every aspect (also a convention).

Transits and solar returns (transits.ts, solarReturn.ts, solve.ts)

Exact instants are zeros of norm180(λ(t) − target), found by sampling (¼ day for the Moon up to 5 days for Jupiter–Pluto) and bisection (1 s for transits, 10 ms for solar returns). Pairs of zeros between samples (a station on the exact degree) are found by golden-section minimisation of |f| at local minima, then bisection on each side.

Test references: USNO "Earth's Seasons — Equinoxes, Solstices, Perihelion, and Aphelion" for 2024 (aa.usno.navy.mil, public domain) for Sun transits to 0° Aries; astronomy-engine SearchSunLongitude as an independent solar-return cross-check.

Synastry (synastry.ts)

Inter-chart aspects use the same aspect engine; house overlays use the other chart's cusps. Both charts need a known birth time.

Vedic (Jyotish) engine — sources and credits

Code: src/engine/vedic/. Reference generator: tools/fixtures/gen_vedic.py → src/engine/fixtures/vedic.json.

Verification authority

  • Swiss Ephemeris 2.10.03 (Astrodienst; AGPL / commercial licence), via pyswisseph 2.10.3.2 with the SWIEPH .se1 files. Used only as a dev-time oracle in tools/fixtures/; never imported or shipped in src/. It supplies ayanamsa values (121 dates, 1900–2100), sidereal longitudes and ascendants for 14 synthetic births, sunrise/sunset, tithi/nakshatra/yoga end instants and 2024 sankrantis.
  • Jagannatha Hora (P. V. R. Narasimha Rao) is a Windows program that computes with Swiss Ephemeris. It cannot be run here, so we match Swiss Ephemeris instead. Where this document says something about JH's options, the source is its feature list (https://www.vedicastrologer.org/jh/features.htm): "Mean or true nodes can be used"; dasa years can be 365.2425-day years, 360-day years, user-defined, or measured by solar / Sun–Moon motion; three sunrise definitions (true rise of centre, true rise of tip, apparent rise of tip). That page does not say which option ships as the default, and we did not find an official statement, so the engine makes no claim about JH defaults.

Ayanamsa (ayanamsa.ts, precession.ts)

SystemEpoch t0Mean value at t0Published modelSource
Lahiri (Chitrapaksha)JD 2435553.5 TT (1956 Mar 21)23°15′00.658″ − Δψ 16.769″IAU 1976Report of the Calendar Reform Committee (Govt. of India, 1955); Indian Astronomical Ephemeris 1989 p. 556
B. V. RamanJ1900360° − 338.98556°NewcombB. V. Raman, Hindu Predictive Astrology (1938) pp. 279, 287; epoch value from R. Hand's NOVA as documented by Swiss Ephemeris
Krishnamurti (KP)J1900360° − 337.636111°NewcombK. S. Krishnamurti, KP Reader 1 pp. 55–59; epoch value from R. Hand as documented by Swiss Ephemeris

Method (the convention Swiss Ephemeris documents in sweph.c; reimplemented from the published formulas, no code copied): precess the vernal point of date back to t0, take its longitude on the ecliptic of t0, subtract from the epoch value; then remove the constant offset between the published model and the modern model at t0. Precession formulas:

  • IAU 2006 / P03 ζA, zA, θA and εA — Capitaine, Wallace & Chapront 2003, A&A 412, 567. (Swiss Ephemeris 2.10 defaults to Vondrák et al. 2011; the two agree to < 0.001″ for 1900–2100 — measured worst case 0.0004″ on the mean ayanamsa.)
  • IAU 1976 — Lieske, Lederle, Fricke & Morando 1977, A&A 58, 1.
  • Newcomb — Kinoshita 1975, SAO Special Report 364 (expressions relative to B1850).
  • Nutation Δψ for the true ayanamsa: astronomy-engine (MIT), the same series used for the tropical positions, so it cancels in sidereal longitudes.

Texts for rules

  • Brihat Parashara Hora Shastra, tr. R. Santhanam (Ranjan Publications, 1984): sign lordship and natural relationships (ch. 3), exaltation / debilitation / moolatrikona degrees (ch. 3), the sixteen divisional charts (ch. 6–7), Vimshottari dasha (ch. 46), Pancha Mahapurusha yogas. Chapter/verse numbers differ between editions.
  • Phaladeepika (Mantreswara), tr. V. Subramanya Sastri: Gajakesari (ch. 6), Neecha Bhanga Raja Yoga conditions (ch. 7).
  • Brihat Jataka (Varahamihira), ch. 13: Kemadruma.
  • Muhurta Chintamani (Daivajna Rama), Vivaha Prakarana: the eight-koota scheme and varna / vashya / yoni / gana / nadi classifications.
  • Surya Siddhanta / standard panchang practice: tithi, karana, yoga, nakshatra definitions.
  • Kaal Sarp is a modern formulation (not in BPHS); Rahu Kaal / Yamaganda / Gulika weekday tables are the ones printed in modern Indian panchangs — we did not trace them to a single classical verse.

Guna milan numeric tables (gunaMilan.ts)

Point matrices differ between modern sources. We use, and cite in code:

  • Yoni 14×14, Vashya 5×5 and Gana 3×3 matrices as tabulated by saravali.de and transcribed in PyJHora (S. Sundaresan, AGPL; https://github.com/naturalstupid/PyJHora, horoscope/match/compatibility.py). Only the numeric tables (facts) were taken; no code. The alternative Vashya matrix PyJHora attributes to astroyogi.com is recorded in a comment.
  • Graha Maitri is derived from BPHS natural relationships and reproduces the saravali.de matrix exactly (tested).
  • Varna by sign element follows Muhurta Chintamani; PyJHora's variant (earthy = Shudra, airy = Vaishya) is noted in a comment.
  • Nadi / Bhakoot dosha cancellation rules are not applied (they vary by tradition).

Other

  • astronomy-engine 2.1.19 (Don Cross, MIT): planetary positions (via core.ts), sunrise/sunset (upper limb, 34′ refraction), nutation.
  • Mean sidereal year 365.256363004 days (J2000): IERS Conventions 2010 / Astronomical Almanac.
Charts & Moments: sources and licences

The charts and Moments pages add no new datasets. Every number shown is computed by src/engine (see western.md, vedic.md, astro.md for its sources) or comes from the interpretation library in src/features/readings.

WhatSourceLicence
Planet, node, Chiron, angle and house positions; aspects, transits, solar returns, synastrysrc/engine/western, src/engine/astrologysee western.md
Sidereal chart, vargas, nakshatras, Vimshottari dasha, yogas, panchang, Guna Milansrc/engine/vedicsee vedic.md
Moon phase, altitudes/azimuths, magnitudes, constellations (Moments)src/engine/astro (astronomy-engine)see astro.md
Birthplace search/api/geocode (Open-Meteo geocoding, GeoNames data)Open-Meteo free tier, non-commercial; CC BY 4.0 data
Open Graph card fonts@fontsource/ibm-plex-mono 5.3.0, @fontsource/silkscreen 5.3.0 (WOFF files read from node_modules)SIL Open Font License 1.1
Interpretation textsrc/features/readings / src/content/interpretationsCosmicate original text

Conventions chosen in this area (not measured quantities):

  • Wheel layout: Ascendant at 9 o'clock, longitude counter-clockwise (the usual printed convention). Without a birth time, 0° Aries at 9 o'clock.
  • North Indian chart: houses fixed, house 1 top-centre, counter-clockwise; South Indian: signs fixed, Pisces top-left, clockwise.
  • Aspect orbs: the engine's default table scaled by a user-chosen factor (0.5×–1.25×).
  • Unknown birth time: an aspect is listed only if the same aspect is within orb at local 00:00 and 24:00 of the birth date; Guna Milan is shown only if all eight kootas are identical at both ends of the day.
Readings — interpretation library and assembler

Code: src/features/readings/ (assembler), src/content/interpretations/ (texts), src/content/glossary/terms-readings.ts (glossary).

The texts

Every interpretation text is original writing for Cosmicate. Nothing is copied or closely paraphrased from any book, website or app, and nothing is generated at runtime: readings look up fixed, reviewed strings by the engine's own keys (sign, house, aspect, nakshatra, yoga, koota …). There is no AI narration. Reading.narration is an optional field reserved for a future, clearly labelled feature; nothing sets it today.

The texts draw on traditional symbolism that is widely documented general knowledge. The classical works below are named so readers can see where the ideas come from. They are not quoted.

Vedic (Jyotish)
  • Brihat Parashara Hora Shastra (tr. R. Santhanam, Ranjan Publications, 1984): graha significations (karakatvas), bhava significations, sign lordship, exaltation / debilitation / moolatrikona and natural friendships (ch. 3), Vimshottari dasha and sub-periods (ch. 46), Pancha Mahapurusha yogas.
  • Phaladeepika (Mantreswara, tr. V. Subramanya Sastri): graha and bhava results, Gajakesari (ch. 6), Neecha Bhanga Raja Yoga (ch. 7), dasha results.
  • Saravali (Kalyanavarma) and Brihat Jataka (Varahamihira; Kemadruma in ch. 13): graha-in-rashi and Chandra yoga themes.
  • Muhurta Chintamani (Daivajna Rama), Vivaha Prakarana: the eight kootas of guna milan.
  • Panchang qualities (tithi groups Nanda/Bhadra/Jaya/Rikta/Purna and their deities, nakshatra classes such as dhruva/chara/ugra/kshipra/mridu/tikshna, the 27 nitya yogas and 11 karanas, weekday rulers): standard panchang and muhurta practice as printed in Indian almanacs.
  • Nakshatra deities, symbols and Vimshottari lords: widely published traditional tables.
  • Kaal Sarp / Kaal Amrita is a modern formulation, not in BPHS; the texts say so.
  • Guna Milan score bands (below 18, 18–24, 25–32, 33–36) follow the thresholds commonly printed in modern matching guides; the texts stress that they are a traditional lens, not a verdict.
Western (tropical)
  • Planet, sign, house and aspect meanings follow the common modern Western tradition (twentieth- century psychological astrology built on Ptolemy's Tetrabiblos for the Ptolemaic aspects). No single author's wording is followed.
  • Transit, solar-return and synastry texts follow the same common tradition.

Assembly rules

  • Each section lists the exact chart factors it is based on, formatted from engine values: degrees truncated to whole arcminutes (21°57′), orbs as absolute degrees and arcminutes with the engine's applying / separating / stationary motion.
  • Unknown birth time: house-, Ascendant/MC- and lagna-dependent sections are omitted and listed in unavailable with the engine's own reason. The Western Moon, and any Vedic graha whose sign changes during the birth day, is read per candidate sign and also listed in unavailable.
  • Every reading carries the disclaimer: "For entertainment and self-reflection. Astrology is an interpretive tradition, not a science; it is not astronomy and makes no testable predictions."

Verification

Assembler tests use the five Swiss Ephemeris 2.10.03 fixture births in src/engine/fixtures/swisseph.json (signs, Ascendant) and src/engine/fixtures/vedic.json (Moon nakshatra and pada). Completeness tests derive every key list from the engine's constants or by running the engine.

Code adapted from other projects

Owner: whoever changes the files named below. Licence read on 2026-11-21 from the project's LICENSE file. Both adaptations were written afresh for Cosmicate; no file was copied.

Cosmicate codeAdapted fromLicence
Upstream cooldown, single-flight and last-good fallback in src/app/api/_lib/liveSource.tsGod's Eye View, server/providers/space/celestrak.js and cooldown.js (https://github.com/bilawalsidhu/gods-eye-view)MIT, © 2026 Bilawal Sidhu
Coordinate parsing in src/engine/geo/coordinates.ts (the paste field in the location dialog)God's Eye View, src/search/coordinateParser.jsMIT, © 2026 Bilawal Sidhu

Required credit (shown here and on /credits):

  • "Upstream cooldown, single-flight and last-good fallback in src/app/api/_lib/liveSource.ts follow God's Eye View (server/providers/space/celestrak.js, cooldown.js), MIT licence, © 2026 Bilawal Sidhu."
  • "Coordinate parsing ideas adapted from God's Eye View coordinateParser.js, MIT licence, © 2026 Bilawal Sidhu."

God's Eye View's LICENSE covers its source code only; we use none of its bundled third-party data or assets.

God's Eye View licence (MIT)

MIT License

Copyright (c) 2026 Bilawal Sidhu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.