भारत · ग्रहगणित
स्थान उज्जयिनी Ujjayinī · change it on a tool⌕ search the कोश ⌘Kप्रहर — · —:—:—ours, from sunriseउज्जयिनी —:—:—UTC + λ/15 h, λ = 75.7682° E (D13)IST Error −26.9 minlocal mean time − IST = 4λ − 330 min (K12)engine 3f94072the site ↗
यन्त्र · the engine

यन्त्र · The engine

एक यन्त्र, एक शास्त्र, एक ग्रन्थ — सूर्यसिद्धान्त के पूर्णांक, माधव की ज्या, नपा हुआ बीज; भीतर कोई विदेशी सारणी नहीं।

One engine, one text, one book. The only 100% Vedic computation in the world: Sūrya-Siddhānta integers for the means, the four steps on the text's own 24 sines, a measured bīja on top, the frame anchored to Citrā — and no NASA, no Swiss Ephemeris, no VSOP at runtime. Everyone else wraps a foreign kernel; this engine's gates refuse one.

छाप · the stamp

The door as built, byte for byte

bharat-ephemeris 3f94072 · built 2026-11-18T05:27:25.301Z
doorbytessha256 (first 12)
yantra.web.cjs3,815,2294aa4734cfabb
yantra.web-patha.cjs6,834,81438baab56348f
records vendored compare-bija-nasa.jsonhorizons-syzygy-fixtures.jsonkula-pariksha.json
edition 6551 lines
काल-मान · the two ladders of time

From the spanda to the day: SS 1.11–12, and Bhāgavata 3.11 beside it

N = 6,56,10,00,00,000 spanda a nākṣatra turn (D1). Ladder A is the day’s own cut, its counts read from the engine’s one cut of a cycle (kala-vibhaga.js): prāṇa, vināḍī and nāḍī are the Sūrya-Siddhānta’s (SS 1.11–12: 6 prāṇa a pala, 60 pala a ghaṭī, 60 ghaṭī the day); the muhūrta of 2 nāḍikā is the Bhāgavata’s (3.11.8); the prahara is the owner’s eighth of the day, 7.5 ghaṭī (मुख्य, K2), with the text’s yāma beside it (पाठ: four by day and four by night, Bhāgavata 3.11.10); horā = N/24 is the hour’s ancestor. Ladder B is the Bhāgavata’s chain of multipliers from the paramāṇu; it closes on N exactly: verified in this build. Every count here is computed from N and those counts.

the day’s cutrulespanda
प्रहर prahara (मुख्य)
prahara = floor(8 r) + 1
8 a day, 7.5 ghaṭī each
स्वामी-परम्परा (Pardeep Sehrawat) + गणित
याम (पाठ): four by day and four by night, each a quarter of its day or night (Bhāgavata 3.11.10); प्रहरः षड्यामः सप्त वा नृणाम् (Bhāgavata 3.11.8: a yāma of men is six or seven nāḍikā): printed as the text's words; no number is taken from them
82,01,25,00,000
होरा horā — the hour's ancestor
ghanta = floor(24 r)
24 a day
स्वामी-परम्परा (Pardeep Sehrawat) + गणित
27,33,75,00,000
मुहूर्त muhūrta
muhurta = floor(30 r) + 1
30 a day, 2 nāḍikā each
पाठ + स्वामी-परम्परा (Pardeep Sehrawat)
21,87,00,00,000
घटी · नाडी ghaṭī
ghati = floor(60 r)
60 a day
पाठ
10,93,50,00,000
पल · विनाडी pala60 a ghaṭī (SS 1.11)18,22,50,000
प्राण prāṇa6 a pala (SS 1.11)3,03,75,000
स्पन्द spanda3,03,75,000 a prāṇa1
Bhāgavata 3.11.5–8rulespanda
अहोरात्र ahorātra30 muhūrta6,56,10,00,00,000
मुहूर्त muhūrta2 nāḍikā21,87,00,00,000
नाडिका nāḍikā15 laghu10,93,50,00,000
लघु laghu15 kāṣṭhā72,90,00,000
काष्ठा kāṣṭhā5 kṣaṇa4,86,00,000
क्षण kṣaṇa3 nimeṣa97,20,000
निमेष nimeṣa3 lava32,40,000
लव lava3 vedha10,80,000
वेध vedha100 truṭi3,60,000
त्रुटि truṭi3 trasareṇu3,600
त्रसरेणु trasareṇu3 aṇu1,200
अणु aṇu2 paramāṇu400
परमाणु paramāṇuthe closing value200

The ladders meet at the nāḍī and fork below it (1 prāṇa = 75/8 nimeṣa): the clock has two faces. The site carries Bhāgavata 3.11.4–8 and 3.11.10 as vedabase prints them (vendor/bharat-ephemeris/bhagavata-3-11.json; which printed edition the canon’s P2 names is the owner’s open ruling, D17); the chain is carried as the author’s canon records it (खगोलशास्त्र, ताम्र), the closing value paramāṇu = 200 being the unique one that lands on N.

यन्त्राध्याय · the instruments the text builds

Sūrya-Siddhānta 13: the gola, the kapāla, the gnomon — the yantras this engine is named after

पाठ (the verses, pinned) · the figures are the constructions the verses describe (गणित). yantra/patha/editions/surya-siddhanta-full-edition.html, adhyāya 13 (यन्त्राध्याय). The hero watch is these instruments on one dial: its sixty is the kapāla’s sixty sinkings (13.23), its rings the gola’s krānti and equinoctial (13.9, 13.12).

गोल-यन्त्र
the armillary sphere — SS 13.3–15

The text's own instrument: a wooden earth at the centre, Meru driven through it as the axis, the supporting rings, the equinoctial in the middle of all, the krānti ring tilted by the declination's sine 1397 on 3438, and the day-circles of the signs. The sphere turns about Meru; where the krānti meets the eastern horizon stands the lagna (13.13).

पाठगणितSS 13.3SS 13.4SS 13.5SS 13.9SS 13.12SS 13.13SS 13.15SS 2.28

SS 13.5: the rings are made in aṅgulas equal to half the degrees of a revolution — 180 aṅgulas for 360°. 13.17–19: the gola carries tuṅga and bīja, is made under a teacher, and its art, broken off age after age, reappears by someone’s grace.

कपाल-यन्त्र
the water-clock — SS 13.23

ताम्रपात्रं अधश्छिद्रं न्यस्तं कुण्डे अमलाम्भसि — a copper vessel with a hole beneath, set in a basin of pure water, sinks sixty times in a day-and-night: that is the accurate kapāla instrument (SS 13.23). The sixty ghaṭī on the watch's bezel are these sixty sinkings.

पाठगणितSS 13.23SS 13.21SS 1.12

yantrawhat the text buildsverses
गोल-यन्त्रthe armillary sphere: the earth-globe, Meru as the axis, the supporting rings, the equinoctial, the krānti (ecliptic) and the day-circles of the signsSS 13.3, SS 13.4, SS 13.5, SS 13.6, SS 13.7, SS 13.8, SS 13.9, SS 13.10, SS 13.11, SS 13.12, SS 13.13, SS 13.14, SS 13.15, SS 13.16, SS 13.17
कपाल-यन्त्रthe water-clock: a copper bowl with a hole beneath, set in clean water, sinks sixty times in a day-and-night — the sixty ghaṭīSS 13.23
नर-यन्त्रthe gnomon, and the shadow methods by daySS 13.24, SS 13.20
चक्र · धनुः · यष्टिcircle, bow and staff: the shadow instruments of many kindsSS 13.20
जल-यन्त्रwater instruments, the kapāla and the rest; the peacock, man and monkey devices; mercury, threads, sandSS 13.21, SS 13.22
मन्त्र · searched, not found

No edition on disk carries a graha-mantra text to serve; none is invented. SS 13.1 names the worship of the Sun, the planets and the stars before the gola is made — that is all the text says. Searched: surya-siddhanta (3 hits: none a mantra text); parashara-rahasya (156 hits: मन्त्री, minister; यन्त्रमन्त्रौ as a 5th-house signification, 11.6); maha-grantha; panini-rahasya; patanjali-yoga; aryabhata, bhaskara, brahmagupta, madhava, pingala, sulba, mahabhashya (0). The one ritual line the text gives is SS 13.1; nothing is invented beyond it.

चित्र · a derivation, moving

What the graha channel computes: the śīghra epicycle and its loop

गुरु-शीघ्रफलम्
śīghra-phala of Guru — the epicycle that makes the loop

The epicycle of paridhi 70°/72° rides on the mean Guru; its radius always points to the śīghrocca, the mean Sun. The true place is the line from the Earth through the graha. Where the Sun is opposite, the graha runs backward: the retrograde loop (the station at kendra 130°, SS 2.53).

पाठगणितSS 2.34SS 2.35SS 2.36SS 2.37SS 2.40SS 2.41SS 2.42SS 2.53

Mean motions from the yuga revolutions (SS 1.29–33): Guru 0.08310°/day, the Sun 0.98560°/day; one synodic turn = 398.9 days, drawn in 20 s.

बहिर्ग्रह-चतुःफलम्
the four steps of Maṅgala's true place (SS 2.43–45)

The mean planet moves in four steps on the deferent: half the śīghra-phala; half the manda-phala taken at the first place; the full manda-phala taken at the second place but applied to the mean; and the full śīghra-phala taken at the third place. The last step lands on the true place.

पाठगणितSS 2.43SS 2.44SS 2.45SS 2.40SS 2.41SS 2.42

Means at t0 = 400 days after the Kali start: mean 209.61°, mean Sun 34.24°, mandocca 129.96° (apsisAtKali). Each step is held for 2.5 s; the phalas are the signed amounts applied.

नक्षत्र-कालचक्रम्
the turn clock — N = 30⁸ spandas a nākṣatra turn (D1)

One nākṣatra turn is N = 30⁸ spandas: eight nested wheels of thirty divisions, the outermost turning once a turn and each inner wheel thirty times faster, so the innermost division is a single spanda.

स्वामी-परम्परागणितSS 1.11SS 1.12D1

One turn is about 23 h 56 m (the sidereal day, 86164.09 s). The readings are the engine's at …, carried forward at N ÷ 86164.09 s, and the wheels draw the same count. The innermost wheels turn thousands of times a second and alias on screen; their positions are exact.

बन्ध
bandha — the means bound to the lattice

The author's rule, bandha: the Sun and Moon means are bound to whole counts of the lattice, so that at the epoch they are integers. Here a free mean is bound to the nearest lattice line at each revolution.

स्वामी-परम्परागणितSS 1.37

At the epoch the bound means are integers of the lattice: the yuga days 1,57,79,17,828 × 7,20,00,000 fix the count (bija-samskara.js, the para). The picture is the rule, not a measurement; one lattice unit is 360°/30 = 12° here.

The record carries its own witness (candra-bandha.json); the bundle refuses to load if the witness disagrees — gate 5.

नलिका · the channels

Which door answers which name

द्वारपाल · the eleven gates

What the build refuses

  • 1 the lattice is defined where the plan says and nowhere else
  • 2 yantra/ reaches nothing outside yantra/
  • 3 no foreign kernel is named in a code line of yantra/
  • 4 the line-pinned files keep their line counts
  • 5 every sealed record loads and its witness agrees
  • 6 every module of yantra/ declares its pramāṇa class in its header
  • 7 D11: the orchestrator's report carries the disclaimer and never a lifespan or death prediction
  • 8 nothing generated is tracked
  • 9 rule 17: no Devanagari digit inside a served string of yantra/ or spanda/
  • 10 every test file asserts something
  • 11 the aside boundary (APEX §3.14)

One line each, as the engine’s gate file names them.

सूर्योदय · sunrise rules

The sunrise rules, named

keymachinenote
pathatextthe text's own rule — SS 2.60–2.63 with 3.42 on the 24 jyās: bhujāntara + udayāntara + cara through the mean-Sun meridian, the Sun's centre on the horizon, no refraction (पाठ)
spherespherethe exact sphere on the text's meridian (mean Sun + the hour) and ε = 24°: the Sun's centre on the true horizon, no refraction (गणित)
refractedspherethe sphere with the 34′ horizon dip (दृक्, named: standard refraction; स्वामी-परम्परा: the author's 'refracted' convention)
drkdrkwhat is SEEN from the place: drk-udaya.riseSet on the udaya-bīja rotation, refraction and the Sun's semidiameter (दृक्) — the pratyakṣa door, also served as W.riseSet(jd, lat, lon, 'sun', 'rise'|'set')
मध्यरेखा · the meridian

Where the civil day is counted

MERIDIAN_DEG · aside only
75.7682°
RECORD_MERIDIAN_DEG · the meridian every sealed record was measured on
75.7885°
KALI_JD0
588465.5

The core counts civil days and spandas; a Julian day is read only at the aside doors.

कैसे बुलाएँ · how to call it

In-process, from the vendored door

const W = require("yantra.web.cjs");
W.grahas(jd).sun.lon;
W.panchanga(jd, lat, lonEast, { sunrise: "patha" });
W.faces(jd, lonEast);
live engine().grahas(jdOfDate(nowDate())).sun.lon = 219°44′15.3″

The same engine answers over HTTP at /api/v1/*, the eight routes below, read in-process from the same doors. Every route takes at (ISO 8601; UTC when no zone is given) or jd (Julian day), and defaults to now. Site routes take lat, lon (east positive; default Ujjayinī) and an optional name. Failures return ok: false with the status 400 or 500.

pathparamsreturns
/api/v1/grahasat · jdthe nine grahas as served (lon, lat, speed, retrograde, mean longitude), the text as written beside each body, and the ayanāṃśa served and as written
/api/v1/panchangaat · jd · lat · lon · name · sunrisethe day as served: vāra, tithi, nakṣatra, yoga, karaṇa, month, the civil-day bounds, and the sunrise rules by key
/api/v1/lagnaat · jd · lat · lonlagna, madhya-lagna, sāyana lagna, RAMC, ε and ayanāṃśa, with the text as written where the door carries it
/api/v1/facesat · jd · lonthe two faces of one instant: the nakṣatra turn clock and the sāvana day, in spandas, ghaṭī and kapāla (large integers as strings)
/api/v1/ayanamshaat · jdthe served ayanāṃśa, the text’s value, and why Lahiri is not served
/api/v1/limbsat · jdthe limb indices at the instant (tithi, nakṣatra, pada, yoga, karaṇa) with sun, moon, rāhu, moon latitude and elongation
/api/v1/kulaat · jd · body · familyevery phala term at the instant, one by one: the argument (a whole-number combination of the record’s basis means), its jyā and koṭijyā, the measured amplitudes with their slope, the term’s value and its family — the derivation of the served place, laid open; filter by body or family
/api/v1/stampnonethe door as built: name, commit, build time, sha256 and bytes per door, records, edition, and channels

The text as written beside every number: पाठ →.