भारत · ग्रहगणित
स्थान उज्जयिनी 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 ↗

yantra/patha/ss-kalpa.js

कल्प एवं ब्रह्माण्डीय काल-मान: The Sūrya-Siddhānta's complete cosmic hierarchy from the micro-second

354 lines · 0 exports

प्रमाण: पाठ SS ch. 1 (the kalpa, the yugas, the creation, the bhagaṇas) · गणित
लेख · the header

The header, as the file states it

ss-kalpa.js — कल्प एवं ब्रह्माण्डीय काल-मान: The Sūrya-Siddhānta's complete cosmic hierarchy from the micro-second प्रमाण: पाठ SS ch. 1 (the kalpa, the yugas, the creation, the bhagaṇas) · गणित (Spanda, Guṟvakṣara, Prāṇa) to Caturyuga, Manvantara, Kalpa, and the 100-year lifespan of Brahmā, computed in pure pūrṇāṅka (BigInt integer and exact rational) arithmetic. Sources: SS 1.11-12 Micro-time: 10 guṟvakṣaras = 1 prāṇa (4 s); 6 prāṇas = 1 vināḍī (24 s); 60 vināḍīs = 1 nāḍī (24 min); 60 nāḍīs = 1 ahorātra (24 h = 86,400 s) = 21,600 prāṇas (breaths). 1 turn of the star-wheel = 360° = 21,600 kalā (arcmin) = 21,600 prāṇas: TIME IS ROTATION. On the spanda lattice: 656,100,000,000 spandas/turn (30⁸, owner D1/D1a); 1″ = 506,250; 1 prāṇa = 30,375,000; 1 guṟvakṣara = 3,037,500 spandas; the nākṣatra second (1/86,400 turn) 7,593,750 (D1d). SS 1.13-14 Divya & Pitṛ time: 1 lunar month = 1 Pitṛ ahorātra; 1 solar year = 1 Divya ahorātra (Uttarāyaṇa = Devas' day, Dakṣiṇāyana = night); 360 Divya ahorātras = 1 Divya year = 360 solar years. SS 1.15-17 Caturyuga 4:3:2:1 ratio: Satya: 4,800 divya years × 360 = 1,728,000 solar years (4 legs of Dharma) Tretā: 3,600 divya years × 360 = 1,296,000 solar years (3 legs) Dvāpara: 2,400 divya years × 360 = 864,000 solar years (2 legs) Kali: 1,200 divya years × 360 = 432,000 solar years (1 leg) Σ = 12,000 divya years × 360 = 4,320,000 solar years = 1 Mahāyuga. SS 1.18-21 Manvantara & Kalpa: 1 Manvantara = 71 Mahāyugas = 306,720,000 solar years. 14 Manvantaras = 994 Mahāyugas = 4,294,080,000 solar years. 15 Sandhyās (Sandhi / twilights, each equal to 1 Satya yuga = 1,728,000 yr = 0.4 Mahāyuga): 15 × 0.4 = 6 Mahāyugas = 25,920,000 solar years. 1 Kalpa = 994 + 6 = 1,000 Mahāyugas = 4,320,000,000 solar years = 1 Day of Brahmā. Brahmā's Night (Pralaya) = 1 Kalpa = 4,320,000,000 solar years. 1 Brahmā Ahorātra (Day + Night) = 8,640,000,000 solar years (864 crore years). SS 1.20-21 Brahmā's Lifespan (Mahākalpa): 360 Brahmā Ahorātras = 1 Brahmā Year = 3,110,400,000,000 solar years (3.1104 × 10¹² yr). 100 Brahmā Years = 36,000 Brahmā Days = 3.1104 × 10¹⁴ solar years (311.04 trillion years). Elapsed: 50 Brahmā years (First Parārdha = 18,000 days); today is Day 18,001 (Śveta Vārāha Kalpa). SS 1.24, 45 The Sṛṣṭi-kāla resolution: Creation took 47,400 divya years = 17,064,000 solar years before planetary motion began. Elapsed in Kalpa to Kali epoch = 1,972,944,000 solar years. Planetary motion elapsed to Kali epoch = 1,972,944,000 − 17,064,000 = 1,955,880,000 solar years = 452¾ Mahāyugas = 714,402,296,627 civil days (exact integer!). SS 1.29-37 Pūrṇāṅka Planetary Revolutions per Mahāyuga: Sun, Mercury śīghra, Venus śīghra: 4,320,000; Moon: 57,753,336; Mars: 2,296,832; Mercury: 17,937,060; Jupiter: 364,220; Venus: 7,022,376; Saturn: 146,568; Moon apogee: 488,203; Moon node: 232,238; Civil days: 1,577,917,828; Lunar months: 53,433,336; Adhimāsa: 1,593,336; Tithis: 1,603,000,080; Tithikṣaya: 25,082,252; Nakṣatra days: 1,582,237,828. Pure JavaScript, no imports, works in browser (window.SSKalpa) and node (module.exports).
आवश्यक · requires

What it loads

nothing

required by
निर्यात · exports

What it exports

पाठ · the verses it cites

SS verses named in the header

  • SS 1.11verse
    prāṇādiḥ kathito mūrtastruṭyādyo amūrtasaṃjñakaḥ । ṣaḍbhiḥ prāṇairvināḍī syāttatṣaṣṭyā nāḍikā smṛtā ।।
  • SS 1.12verse
    nāḍīṣaṣṭyā tu nākṣatraṃ ahorātraṃ prakīrtitam । tattriṃśatā bhavenmāsaḥ sāvano arkodayaistathā ।।
  • SS 1.13verse
    aindavastithibhistadvatsaṃkrāntyā saura ucyate । māsairdvādaśabhirvarṣaṃ divyaṃ tadaha ucyate ।।
  • SS 1.14verse
    surāsurāṇāṃ anyonyaṃ ahorātraṃ viparyayāt । tatṣaṣṭiḥ ṣaḍguṇā divyaṃ varṣaṃ āsuraṃ eva ca ।।
  • SS 1.15verse
    taddvādaśasahasrāṇi caturyugaṃ udāhṛtam । sūryābdasaṃkhyayā dvitrisāgarairayutāhataiḥ ।।
  • SS 1.16verse
    sandhyāsandhyāṃśasahitaṃ vijñeyaṃ taccaturyugam । kṛtādīnāṃ vyavastheyaṃ dharmapādavyavasthayā ।।
  • SS 1.17verse
    yugasya daśamo bhāgaścatustridvyekasaṅguṇaḥ । kramātkṛtayugādīnāṃ ṣaṣṭhāṃśaḥ sandhyayoḥ svakaḥ ।।
  • SS 1.18verse
    yugānāṃ saptatiḥ saikā manvantaraṃ ihocyate । kṛtābdasaṃkhyāstasyānte sandhiḥ prokto jalaplavaḥ ।।
  • SS 1.19verse
    sasandhayaste manavaḥ kalpe jñeyāscaturdaśa । kṛtapramāṇaḥ kalpādau sandhiḥ pañcadaśaḥ smṛtaḥ ।।
  • SS 1.20verse
    itthaṃ yugasahasreṇa bhūtasaṃhārakārakaḥ । kalpo brāhmaṃ ahaḥ proktaṃ śarvarī tasya tāvatī ।।
  • SS 1.21verse
    paramāyuḥ śataṃ tasya tayāhorātrasaṃkhyayā । āyuṣo ardhamitaṃ tasya śeṣakalpo ayaṃ ādimaḥ ।।
  • SS 1.24verse
    graharkṣadevadaityādi sṛjato asya carācaram । kṛtādrivedā divyābdāḥ śataghnā vedhaso gatāḥ ।।
  • SS 1.29verse
    yuge sūryajñaśukrāṇāṃ khacatuṣkaradārṇavāḥ । kujārkiguruśīghrāṇāṃ bhagaṇāḥ pūrvayāyinām ।।
  • SS 1.30verse
    indo rasāgnitritrīṣusaptabhūdharamārgaṇāḥ । dasratryaṣṭarasāṅkākṣilocanāni kujasya tu ।।
  • SS 1.31verse
    budhaśīghrasya śūnyartukhādritryaṅkanagendavaḥ । bṛhaspateḥ khadasrākṣivedaṣaḍvahnayastathā ।।
  • SS 1.32verse
    sitaśīghrasya ṣaṭsaptatriyamāśvikhabhūdharāḥ । śanerbhujaṅgaṣaṭpañcarasavedaniśākarāḥ ।।
  • SS 1.33verse
    candroccasyāgniśūnyāśvivasusarpārṇavā yuge । vāmaṃ pātasya vasvagniyamāśviśikhidasrakāḥ ।।
  • SS 1.34verse
    bhānāṃ aṣṭākṣivasvadritridvidvyaṣṭaśarendavaḥ । bhodayā bhagaṇaiḥ svaiḥ svairūnāḥ svasvodayā yuge ।।
  • SS 1.35verse
    bhavanti śaśino māsāḥ sūryendubhagaṇāntaram । ravimāsonitāste tu śeṣāḥ syuradhimāsakāḥ ।।
  • SS 1.36verse
    sāvahāhāni cāndrebhyo dyubhyaḥ projjhya tithikṣayāḥ । udayādudayaṃ bhānorbhūmisāvanavāsaraḥ ।।
  • SS 1.37verse
    vasudvyaṣṭādrirūpāṅkasaptādritithayo yuge । cāndrāḥ khāṣṭakhakhavyomakhāgnikhartuniśākarāḥ ।।
नलिका · channels

The channels it runs in

not on a channel
कार्य · the functions

Every function, what it calls, who calls it

5 top-level functions read from the source; the doc line is the comment above each; calls and callers are resolved across the registry’s modules by name. Line numbers are the file’s at engine 3f94072.

formatInr(val)lines 149–157exported

Format a number or BigInt with Indian digit grouping (e.g. 1,97,29,49,127).

calls nothing in the registry

Exact rational num/den to fixed decimal string (BigInt long division).

calls nothing in the registry

Compute the exact cosmic ledger for a given Kali year elapsed (default 5,127 for 2026 CE). Every count is derived in pure BigInt and verified against Sūrya-Siddhānta identities.

called by nothing in the registry
microTimeFromSeconds(totalSeconds)lines 296–312exported

Exact integer breakdown of elapsed civil seconds, on both days. SĀVANA (the Kaal 01 exhibit, the 21,600 breaths of a civil day): prāṇa = 4 s exactly. NĀKṢATRA (SS 1.11-12: sixty nāḍī make the sidereal day; a prāṇa is one kalā of the sky's turn): a civil day holds 1,582,237,828 / 1,577,917,828 nākṣatra days (SS 1.34-37), so that prāṇa is 4 × 1,577,917,828 / 1,582,237,828 = 3.98908 civil seconds. Ex

calls nothing in the registry
called by nothing in the registry
planetaryBhaganas()lines 316–340exported

The 7 grahas and key identities of SS 1.29-37 with exact integer fractions and modern comparisons.

called by nothing in the registry