About the Project

The Eternal Mewar application represents a complex intersection of cultural preservation engineering and computational astronomy. Built on a cross-platform mobile architecture, the system digitizes the intricate calendrical mathematics traditionally maintained by royal pundits of the Mewar court, making them accessible via an intuitive consumer-grade interface.

At the heart of the application lies a custom panchang calculation engine that performs real-time astronomical computations based on user-specific geographic coordinates. The engine implements algorithms derived from Surya Siddhanta and Drik Siddhanta traditions, processing latitude/longitude inputs to generate precise tithi, nakshatra, yoga, karana, and choghadiya muhurats specific to the user's location. The system simultaneously maintains synchronization between four parallel calendar systems—Vikram Samvat (2076-77), Gregorian (2020), Hindu lunar, and traditional Mewar ceremonial calendars.

Data Architecture & Content Management: The application backend manages a structured repository of over 1,500+ historically verified events including royal birth/death anniversaries, ceremonial dates, and dynasty-specific observances. Content undergoes multi-tier verification against palm-leaf manuscripts, royal gazettes, and institutional archives before deployment. The architecture supports dynamic content hydration while maintaining offline accessibility through local SQLite persistence and React Query-powered cache management.

Astronomical Precision Module: The system implements custom JavaScript-based ephemeris calculations for sunrise/sunset determination, tithi indexing, and nakshatra mapping. Users can generate location-specific panchang cards with 17+ data points including Suryoday, Suryast, Goghuli timelines, Rahu Kal windows, and eight-fold choghadiya divisions for both diurnal and nocturnal periods. The computation engine achieves ±30-second accuracy for astronomical events through implementation of VSOP87 planetary theory adaptations.

The interface architecture follows a hierarchical content disclosure pattern—dashboard provides macro-level calendar navigation, monthly views display tithi-grid compositions with embedded astronomical metadata, and deep-linkable event-detail views render comprehensive panchang visualizations. Gesture-based horizontal scrolling enables seamless traversal between Gregorian and Vikram Samvat timelines. The settings module implements persistent state management via Redux Persist for user preferences including default geolocation coordinates, timezone offsets, and language localization tokens.

The application renders digitized archival content including Sanskrit ślokas, Hindi prose from 17th-century court records, and English translations. Typography systems support Devanagari Unicode rendering with proper halant and matra positioning. The preface module documents water conservation engineering by Mewar rulers including technical specifications of Udaysagar and Rajsamudra lake constructions with Vikram Samvat to Gregorian epoch conversion.

Key Features

Computational Astronomy Engine

  • Real-time VSOP87-based planetary position calculations for precise tithi determination
  • Dynamic ephemeris generation for sunrise/sunset based on user-specific lat/long coordinates
  • Tithi indexing with 27 nakshatra mappings and 11 karana state management
  • Yoga computation algorithms for 27 combinatorial planetary relationships
  • Rahu Kal window calculation with 1-hour 20-minute precision blocks

Multi-Calendar Synchronization Layer

  • Parallel rendering of Gregorian (proleptic) and Vikram Samvat (lunisolar) calendar systems
  • Lunar phase computation for Purnima/Amavasya determination with ±0.1% accuracy
  • Tithi-grid component architecture with conditional formatting for Ekadashi, Purnima, and Amavasya states
  • Automated leap month (Adhik Maas) detection and rendering logic

Geolocation-Based Personalization

  • GPS coordinate acquisition with manual lat/long override (DD/MM/SS format support)
  • Timezone auto-detection with GMT offset persistence
  • Panchang regeneration on location change events with debounced computation triggers
  • Multiple location profile storage with Redux state persistence

Heritage Content Management System

  • Structured event repository with ISO 8601 timestamp normalization
  • Multi-format content rendering (Sanskrit, Hindi, English) with Unicode RTL/LTR switching
  • Royal lineage chronology engine spanning 734 AD to present
  • Ceremonial event categorization with filterable taxonomy (Birth Anniversaries, Death Anniversaries, Rajopachara, Yajnas)

Muhurat & Choghadiya Engine

  • 8-fold diurnal choghadiya generation (Udveg, Chal, Labh, Amrut, Kaal, Shubh, Rog, Anands)
  • 8-fold nocturnal choghadiya computation with reversed muhurat ordering
  • Auspicious period prioritization algorithm for event planning
  • Real-time Goghuli start/end calculation based on civil twilight definitions

Performance Optimization

  • Lazy-loaded historical modules with React Suspense boundary implementation
  • Offline-first architecture with SQLite local persistence and background sync
  • Debounced panchang recomputation (800ms threshold) for continuous location input
  • Memoized selector architecture for complex astronomical state derivations

Internationalization & Localization

  • i18n framework with dynamic locale switching (English/Hindi)
  • Devanagari Unicode font embedding with proper glyph rendering
  • Locale-specific number formatting for Sanskrit numerals
  • Translation token management for 2,000+ UI elements

Interactive Data Visualization

  • Heat-map style tithi intensity indicators on monthly grid views
  • SVG-based choghadiya timeline visualization
  • Expandable accordion components for historical narrative content
  • Modal deep-link architecture supporting universal links for specific event dates