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

प्रमाण: पाठ (SS 3.1–3.8 śaṅku and chāyā — the 12-aṅgula gnomon, palabhā, the noon shadow; 2.46, 2.61 udayāntara and cara —

102 lines · 7 exports

प्रमाण: पाठ (SS 3.1–3.8 śaṅku and chāyā — the 12-aṅgula gnomon, palabhā, the noon shadow; 2.46, 2.61 udayāntara and cara —
लेख · the header

The header, as the file states it

प्रमाण: पाठ (SS 3.1–3.8 śaṅku and chāyā — the 12-aṅgula gnomon, palabhā, the noon shadow; 2.46, 2.61 udayāntara and cara — why the Sun's hour is not the mean hour; 7.8–7.10 dṛkkarma for a body with latitude; SS 5 lambana for the Moon at the horizon) · गणित (altitude on the exact sphere by madhava-ganita) · भारतीय-रूप·पुनर्मापित (udaya-bija's measured rotation, ε and ayanāṃśa) · दृक्, named: standard refraction at the horizon 34′ (the text has none) · स्वामी-परम्परा: the owner's 'refracted' convention in udaya-bija — never दर्शन. drk-udaya.js — दृक्-उदय: what a person at a place sees against the sky, as numbers anyone can check with a stick or a dial: shadow(t, lat, lonEast, shankuAngula = 12) the gnomon's shadow now: length (aṅgula), direction, the Sun's altitude/azimuth, the noon shadow (ss-chaya 3.x) and the palabhā — SS 3.1–3.8, the cheapest dṛk-pramāṇa solarTime(t, lonEast) apparent solar time at the place (what a Samrāṭ-yantra's shadow reads), with the mean time and their difference (udayāntara + bhujāntara, SS 2.46 — "equation of time") riseSet(N, lat, lonEast, body, kind, opts) the body's rising/setting in civil day N at the place: convention 'text' (the centre on the true horizon, geocentric — utsava.js's moonrise) or 'drk' (the upper limb, refraction 34′, the Moon's lambana at the horizon — what the eye sees: Karvā-cauth) Owner, 2026-10-31: the one engine takes these from the standalone's pratyakṣa steps (śaṅku-chāyā, Samrāṭ-yantra, candrodaya).
आवश्यक · requires

What it loads

required by
निर्यात · exports

What it exports

shadowsolarTimeriseSetaltAzapparentNoonREFRACTION_ARCMINMOON_SEMIDIAMETER_MEAN_ARCMIN
पाठ · the verses it cites

SS verses named in the header

  • SS 3.1verse
    śilātale ambusaṃśuddhe vajralepe api vā same । tatra śaṅkvaṅgulairiṣṭaiḥ samaṃ maṇḍalaṃ ālikhet ।।
  • SS 3.2verse
    tanmadhye sthāpayecchaṅkuṃ kalpanādvādaśāṅgulam । tacchāyāgraṃ spṛśedyatra vṛtte pūrvāparārdhayoḥ ।।
  • SS 3.3verse
    tatra bindū vidhāyobhau vṛtte pūrvāparābhidhau । tanmadhye timinā rekhā kartavyā dakṣiṇottarā ।।
  • SS 2.46verse
    arkabāhuphalābhyastā grahabhuktirvibhājitā । bhacakrakalikābhistu liptāḥ kāryā grahe arkavat ।।
नलिका · channels

The channels it runs in

कार्य · the functions

Every function, what it calls, who calls it

11 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.

mod360(x)lines 26–26
calls nothing in the registry

altitude and azimuth (degrees; azimuth from north through east) of a nirayaṇa place (λ, β) at t from the site

SS 3.1–3.8: the 12-aṅgula gnomon now. The shadow points away from the Sun; its length is 12 × koṭi ÷ śaṅku.

noonSphere(()lines 50–50
called by nothing in the registry
apparentNoon(t, lonEast)lines 58–62exported

the instant of apparent noon of the civil day holding t at the place (the true Sun on the meridian), by bisection on its hour angle

calls altAz, placeOf
called by shadow, noonSphere
solarTime(t, lonEast)lines 65–73exported

apparent solar time at the place (what a sundial reads) and the mean time: 12h + the true Sun's hour angle; and the difference udayāntara + bhujāntara (SS 2.46) — "the equation of time" in the text's own names.

fmt(h)lines 70–70
calls nothing in the registry
called by solarTime

rising/setting of a body in civil day N at the place. opts.convention: 'text' | 'drk' (default 'drk'); opts.limb 'upper' | 'centre'

calls nothing in the registry
called by nothing in the registry
h0(t)lines 80–86
called by f
f(t)lines 87–87
calls placeOf, altAz, h0
called by nothing in the registry