vedic-simulation / README.md
kalpesh77's picture
Update README.md
19d4686 verified
---
title: Vedic Simulation Visualizer
emoji: 🕉
colorFrom: red
colorTo: purple
sdk: gradio
sdk_version: 6.14.0
app_file: app.py
pinned: true
license: apache-2.0
tags:
- vedic
- quantum
- simulation
- sri-yantra
- sacred-geometry
- visualization
- physics
- india
short_description: Sri Yantra Quantum Field Geometry Visualizer
---
# 🕉 Vedic Simulation Visualizer
> **Sri Yantra ↔ Quantum Field Geometry**
> An interactive bridge between ancient Vedic sacred geometry and modern quantum physics simulation.
🔗 [vedic-logic.blogspot.com](https://vedic-logic.blogspot.com) |
🐙 [GitHub](https://github.com/kalpeshnitore/vedic-simulation)
---
## 🌀 What is this?
The **Sri Yantra** is the supreme geometric mandala of Vedic cosmology — used for thousands of years in meditation, worship, and as a map of consciousness itself.
This project reveals its hidden **mathematical structure** and maps it onto modern **quantum mechanics**:
- 9 interlocking triangles → **9-qubit quantum register**
- Bindu (central point) → **wave function collapse**
- Intersection nodes → **quantum entanglement**
- Phase shift slider → **time evolution e^(iHt)**
---
## ⚛ Vedic ↔ Quantum Mapping
| Vedic Concept | Quantum Equivalent | Description |
|---|---|---|
| **Bindu** (central point) | Ground state \|ψ₀⟩ | Wave function collapse point |
| **4 Shiva ▲ triangles** | \|0⟩ basis qubits | Masculine / upward energy |
| **5 Shakti ▽ triangles** | \|1⟩ basis qubits | Feminine / downward energy |
| **Intersection points** | Entanglement nodes | Gold dots — correlated pairs |
| **3 Circles** | Coherence layers | Quantum decoherence boundary |
| **Bhupura (outer square)** | Boundary conditions | System Hamiltonian limits |
| **Sri Yantra (whole)** | Hilbert space manifold | Complete quantum state space |
| **Phase shift** | Time evolution | e^(iHt) unitary operator |
---
## 🎛 How to Use
1. **Adjust Phase Shift slider** (0 to 2π) — watch interference pattern change
2. **Toggle checkboxes** — show/hide quantum field, entanglement nodes, labels
3. **Click "🔮 Render Yantra"** — generates visualization
4. **Read the Qubit Table** — see all 9 triangle quantum states
---
## 📐 Mathematical Foundation
### Sri Yantra Triangle Structure
```
Layer 1 — Shiva ▲ (outermost) → P(|0⟩) dominant
Layer 2 — Shakti ▽ → P(|1⟩) dominant
Layer 3 — Shiva ▲ → superposition
...
Layer 9 — Shakti ▽ (innermost) → closest to Bindu
```
### Quantum Interference Formula
```
ψ(x,y) = Σᵢ αᵢ · e^(ik·r) / r
where:
αᵢ = amplitude of i-th triangle qubit
k = wave number (scales with layer)
r = distance from triangle centroid
```
### Bindu Ground State
```
|ψ_bindu⟩ = (Σ αᵢ|0⟩ + Σ βᵢ|1⟩) / √N
This is the collapsed superposition of all 9 qubits.
```
---
## 🗂 Project Structure
```
vedic-simulation/
├── app.py # This Gradio Space
├── requirements.txt
├── sri_yantra/
│ ├── __init__.py
│ ├── geometry.py # Sacred geometry math engine
│ ├── quantum_mapping.py # Quantum state simulation
│ └── visualizer.py # Matplotlib renderer
└── notebooks/
└── sri_yantra_demo.ipynb # Google Colab version
```
---
## 🚀 Run Locally
```bash
git clone https://github.com/kalpeshnitore/vedic-simulation.git
cd vedic-simulation
pip install -r requirements.txt
python app.py
```
---
## 📖 Blog Series — Vedic Yantra-Tantra Multiverse
This Space is part of a larger project connecting Vedic knowledge to modern technology:
| Branch | Topic | Blog |
|---|---|---|
| **Branch 1** | AI / ML ↔ Vedic Intelligence | vedic-logic.blogspot.com |
| **Branch 2** | Simulation Theory ↔ Maya/Brahman | vedic-logic.blogspot.com |
| **Branch 3** | Jyotish Algorithms ↔ Quantum Time | vedic-logic.blogspot.com |
---
## 🙏 Philosophy
> *"यथा पिण्डे तथा ब्रह्माण्डे"*
> *As in the microcosm, so in the macrocosm.*
> — Vedic Upanishad
> *"The universe is not made of matter — it is made of mathematics."*
> — Max Tegmark (Mathematical Universe Hypothesis)
The Sri Yantra encodes this truth geometrically. This project makes it **computable**.
---
**Author:** Kalpesh | [vedic-logic.blogspot.com](https://vedic-logic.blogspot.com)
**License:** Apache 2.0