Add 2 files
Browse files- README.md +6 -4
- index.html +564 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: blue
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: gr
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: blue
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,564 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>General Relativity Explained Simply</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 10 |
+
<style>
|
| 11 |
+
.space-time {
|
| 12 |
+
background: radial-gradient(circle at center, #0f172a 0%, #1e293b 100%);
|
| 13 |
+
position: relative;
|
| 14 |
+
overflow: hidden;
|
| 15 |
+
}
|
| 16 |
+
.gravity-well {
|
| 17 |
+
position: absolute;
|
| 18 |
+
border-radius: 50%;
|
| 19 |
+
background: rgba(255, 255, 255, 0.05);
|
| 20 |
+
box-shadow: inset 0 0 50px rgba(255, 215, 0, 0.3);
|
| 21 |
+
}
|
| 22 |
+
.particle {
|
| 23 |
+
position: absolute;
|
| 24 |
+
border-radius: 50%;
|
| 25 |
+
background: white;
|
| 26 |
+
box-shadow: 0 0 10px white;
|
| 27 |
+
}
|
| 28 |
+
.equation-box {
|
| 29 |
+
background: rgba(255, 255, 255, 0.1);
|
| 30 |
+
backdrop-filter: blur(10px);
|
| 31 |
+
border-radius: 8px;
|
| 32 |
+
transition: all 0.3s ease;
|
| 33 |
+
}
|
| 34 |
+
.equation-box:hover {
|
| 35 |
+
transform: scale(1.02);
|
| 36 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
| 37 |
+
}
|
| 38 |
+
.concept-card {
|
| 39 |
+
perspective: 1000px;
|
| 40 |
+
}
|
| 41 |
+
.concept-inner {
|
| 42 |
+
transition: transform 0.6s;
|
| 43 |
+
transform-style: preserve-3d;
|
| 44 |
+
}
|
| 45 |
+
.concept-card:hover .concept-inner {
|
| 46 |
+
transform: rotateY(180deg);
|
| 47 |
+
}
|
| 48 |
+
.concept-front, .concept-back {
|
| 49 |
+
backface-visibility: hidden;
|
| 50 |
+
}
|
| 51 |
+
.concept-back {
|
| 52 |
+
transform: rotateY(180deg);
|
| 53 |
+
}
|
| 54 |
+
.tensor-visualization {
|
| 55 |
+
background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #ec4899, #f43f5e, #f59e0b, #3b82f6);
|
| 56 |
+
animation: rotate 20s linear infinite;
|
| 57 |
+
}
|
| 58 |
+
@keyframes rotate {
|
| 59 |
+
from { background-position: 0% 0%; }
|
| 60 |
+
to { background-position: 100% 100%; }
|
| 61 |
+
}
|
| 62 |
+
</style>
|
| 63 |
+
</head>
|
| 64 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
| 65 |
+
<div class="container mx-auto px-4 py-8">
|
| 66 |
+
<!-- Header -->
|
| 67 |
+
<header class="text-center mb-12">
|
| 68 |
+
<h1 class="text-5xl font-bold mb-4 bg-gradient-to-r from-blue-400 to-purple-600 bg-clip-text text-transparent">
|
| 69 |
+
General Relativity Made Simple
|
| 70 |
+
</h1>
|
| 71 |
+
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
|
| 72 |
+
Understanding Einstein's theory of gravity without the complex math
|
| 73 |
+
</p>
|
| 74 |
+
</header>
|
| 75 |
+
|
| 76 |
+
<!-- Main Content -->
|
| 77 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 78 |
+
<!-- Left Column - Core Concepts -->
|
| 79 |
+
<div class="lg:col-span-2 space-y-8">
|
| 80 |
+
<!-- Introduction -->
|
| 81 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 82 |
+
<h2 class="text-3xl font-semibold mb-4 text-blue-400">
|
| 83 |
+
<i class="fas fa-atom mr-2"></i> What is General Relativity?
|
| 84 |
+
</h2>
|
| 85 |
+
<p class="mb-4 text-gray-300">
|
| 86 |
+
General Relativity is Einstein's theory of gravity that revolutionized our understanding of space, time, and the universe. It explains gravity not as a force, but as a curvature of spacetime caused by mass and energy.
|
| 87 |
+
</p>
|
| 88 |
+
<div class="flex flex-wrap gap-4 mt-6">
|
| 89 |
+
<div class="bg-blue-900/50 px-4 py-2 rounded-full flex items-center">
|
| 90 |
+
<i class="fas fa-ruler-combined mr-2 text-blue-300"></i>
|
| 91 |
+
<span>Space tells matter how to move</span>
|
| 92 |
+
</div>
|
| 93 |
+
<div class="bg-purple-900/50 px-4 py-2 rounded-full flex items-center">
|
| 94 |
+
<i class="fas fa-weight-hanging mr-2 text-purple-300"></i>
|
| 95 |
+
<span>Matter tells space how to curve</span>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
</section>
|
| 99 |
+
|
| 100 |
+
<!-- Spacetime Visualization -->
|
| 101 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 102 |
+
<h2 class="text-3xl font-semibold mb-4 text-purple-400">
|
| 103 |
+
<i class="fas fa-project-diagram mr-2"></i> Spacetime: The Fabric of the Universe
|
| 104 |
+
</h2>
|
| 105 |
+
<p class="mb-4 text-gray-300">
|
| 106 |
+
Imagine space and time are woven together into a 4-dimensional fabric called spacetime. Massive objects like stars and planets create "dents" in this fabric, and other objects move along these curves.
|
| 107 |
+
</p>
|
| 108 |
+
|
| 109 |
+
<div class="space-time h-64 rounded-lg mt-6 relative flex items-center justify-center">
|
| 110 |
+
<div class="gravity-well w-32 h-32" style="bottom: 50%; left: 50%; transform: translate(-50%, 50%);"></div>
|
| 111 |
+
<div class="particle w-4 h-4" style="bottom: 30%; left: 30%;"></div>
|
| 112 |
+
<div class="particle w-4 h-4" style="bottom: 40%; left: 60%;"></div>
|
| 113 |
+
<div class="particle w-4 h-4" style="bottom: 70%; left: 20%;"></div>
|
| 114 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 115 |
+
<div class="text-center px-4 py-2 bg-black/50 rounded-lg">
|
| 116 |
+
<p class="text-sm">Massive objects curve spacetime</p>
|
| 117 |
+
<p class="text-xs opacity-70">Smaller objects follow the curvature</p>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<div class="mt-6 grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 123 |
+
<div class="bg-gray-700/50 p-4 rounded-lg">
|
| 124 |
+
<h3 class="font-semibold text-blue-300 mb-2"><i class="fas fa-arrow-down mr-2"></i>Newton's View</h3>
|
| 125 |
+
<p class="text-sm text-gray-300">Gravity is a force that pulls objects together instantly across space.</p>
|
| 126 |
+
</div>
|
| 127 |
+
<div class="bg-gray-700/50 p-4 rounded-lg">
|
| 128 |
+
<h3 class="font-semibold text-purple-300 mb-2"><i class="fas fa-project-diagram mr-2"></i>Einstein's View</h3>
|
| 129 |
+
<p class="text-sm text-gray-300">Gravity is the curvature of spacetime caused by mass and energy.</p>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
</section>
|
| 133 |
+
|
| 134 |
+
<!-- Key Concepts -->
|
| 135 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 136 |
+
<h2 class="text-3xl font-semibold mb-6 text-green-400">
|
| 137 |
+
<i class="fas fa-lightbulb mr-2"></i> Key Concepts Simplified
|
| 138 |
+
</h2>
|
| 139 |
+
|
| 140 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 141 |
+
<!-- Concept 1 -->
|
| 142 |
+
<div class="concept-card bg-gray-700/50 rounded-lg overflow-hidden h-full">
|
| 143 |
+
<div class="concept-inner relative w-full h-full">
|
| 144 |
+
<div class="concept-front p-4">
|
| 145 |
+
<h3 class="font-bold text-xl mb-3 text-blue-300">
|
| 146 |
+
<i class="fas fa-ruler-combined mr-2"></i> Curved Spacetime
|
| 147 |
+
</h3>
|
| 148 |
+
<p class="text-gray-300 text-sm">
|
| 149 |
+
Massive objects like the Sun curve the spacetime around them. Planets orbit by following these curves, not because of a mysterious force.
|
| 150 |
+
</p>
|
| 151 |
+
<div class="mt-4 h-32 bg-gradient-to-br from-blue-900 to-blue-700 rounded flex items-center justify-center">
|
| 152 |
+
<i class="fas fa-circle text-yellow-400 text-4xl"></i>
|
| 153 |
+
<div class="absolute w-48 h-48 border-2 border-blue-300 rounded-full opacity-30"></div>
|
| 154 |
+
<div class="absolute w-32 h-32 border-2 border-blue-300 rounded-full opacity-50"></div>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
<div class="concept-back absolute inset-0 bg-blue-900/80 p-4 flex flex-col justify-center">
|
| 158 |
+
<h4 class="font-bold text-lg mb-2">Analogy</h4>
|
| 159 |
+
<p class="text-sm">Like a bowling ball on a trampoline - it creates a dent that makes marbles roll around it.</p>
|
| 160 |
+
<div class="mt-4 text-xs opacity-70">
|
| 161 |
+
<i class="fas fa-info-circle mr-1"></i> The heavier the object, the deeper the "dent"
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
|
| 167 |
+
<!-- Concept 2 -->
|
| 168 |
+
<div class="concept-card bg-gray-700/50 rounded-lg overflow-hidden h-full">
|
| 169 |
+
<div class="concept-inner relative w-full h-full">
|
| 170 |
+
<div class="concept-front p-4">
|
| 171 |
+
<h3 class="font-bold text-xl mb-3 text-purple-300">
|
| 172 |
+
<i class="fas fa-clock mr-2"></i> Time Dilation
|
| 173 |
+
</h3>
|
| 174 |
+
<p class="text-gray-300 text-sm">
|
| 175 |
+
Time runs slower in stronger gravitational fields. Your head ages faster than your feet (by a tiny amount)!
|
| 176 |
+
</p>
|
| 177 |
+
<div class="mt-4 h-32 relative bg-gradient-to-br from-purple-900 to-purple-700 rounded flex items-center justify-center">
|
| 178 |
+
<div class="text-center">
|
| 179 |
+
<div class="text-2xl font-mono">00:00:00</div>
|
| 180 |
+
<div class="text-xs opacity-70">Earth surface</div>
|
| 181 |
+
</div>
|
| 182 |
+
<div class="absolute right-4 top-4 text-center">
|
| 183 |
+
<div class="text-xl font-mono">00:00:01</div>
|
| 184 |
+
<div class="text-xs opacity-70">Space</div>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
</div>
|
| 188 |
+
<div class="concept-back absolute inset-0 bg-purple-900/80 p-4 flex flex-col justify-center">
|
| 189 |
+
<h4 class="font-bold text-lg mb-2">GPS Needs Relativity</h4>
|
| 190 |
+
<p class="text-sm">GPS satellites must account for time running faster in orbit (by 38 microseconds/day) or positions would be off by kilometers.</p>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
|
| 195 |
+
<!-- Concept 3 -->
|
| 196 |
+
<div class="concept-card bg-gray-700/50 rounded-lg overflow-hidden h-full">
|
| 197 |
+
<div class="concept-inner relative w-full h-full">
|
| 198 |
+
<div class="concept-front p-4">
|
| 199 |
+
<h3 class="font-bold text-xl mb-3 text-green-300">
|
| 200 |
+
<i class="fas fa-spinner mr-2"></i> Frame Dragging
|
| 201 |
+
</h3>
|
| 202 |
+
<p class="text-gray-300 text-sm">
|
| 203 |
+
Rotating masses like Earth actually "drag" spacetime around with them, like stirring honey with a spoon.
|
| 204 |
+
</p>
|
| 205 |
+
<div class="mt-4 h-32 bg-gradient-to-br from-green-900 to-green-700 rounded flex items-center justify-center">
|
| 206 |
+
<i class="fas fa-globe-americas text-white text-4xl animate-spin"></i>
|
| 207 |
+
<div class="absolute w-48 h-48 border-2 border-green-300 rounded-full opacity-30 animate-spin"></div>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
<div class="concept-back absolute inset-0 bg-green-900/80 p-4 flex flex-col justify-center">
|
| 211 |
+
<h4 class="font-bold text-lg mb-2">Gravity Probe B</h4>
|
| 212 |
+
<p class="text-sm">This NASA experiment confirmed frame dragging by measuring how Earth's rotation twists spacetime around it.</p>
|
| 213 |
+
</div>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
|
| 217 |
+
<!-- Concept 4 -->
|
| 218 |
+
<div class="concept-card bg-gray-700/50 rounded-lg overflow-hidden h-full">
|
| 219 |
+
<div class="concept-inner relative w-full h-full">
|
| 220 |
+
<div class="concept-front p-4">
|
| 221 |
+
<h3 class="font-bold text-xl mb-3 text-yellow-300">
|
| 222 |
+
<i class="fas fa-expand mr-2"></i> Expanding Universe
|
| 223 |
+
</h3>
|
| 224 |
+
<p class="text-gray-300 text-sm">
|
| 225 |
+
General Relativity predicts the expansion of space itself, leading to our modern understanding of the Big Bang.
|
| 226 |
+
</p>
|
| 227 |
+
<div class="mt-4 h-32 bg-gradient-to-br from-yellow-900 to-yellow-700 rounded flex items-center justify-center">
|
| 228 |
+
<div class="flex space-x-1">
|
| 229 |
+
<div class="w-3 h-3 bg-white rounded-full"></div>
|
| 230 |
+
<div class="w-3 h-3 bg-white rounded-full"></div>
|
| 231 |
+
<div class="w-3 h-3 bg-white rounded-full"></div>
|
| 232 |
+
</div>
|
| 233 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 234 |
+
<div class="w-full h-full animate-pulse"></div>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
<div class="concept-back absolute inset-0 bg-yellow-900/80 p-4 flex flex-col justify-center">
|
| 239 |
+
<h4 class="font-bold text-lg mb-2">Dark Energy</h4>
|
| 240 |
+
<p class="text-sm">The mysterious force accelerating the expansion of the universe is one of GR's biggest puzzles.</p>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
</section>
|
| 246 |
+
|
| 247 |
+
<!-- Simplified Math -->
|
| 248 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 249 |
+
<h2 class="text-3xl font-semibold mb-6 text-red-400">
|
| 250 |
+
<i class="fas fa-square-root-alt mr-2"></i> The Math Behind It (Simplified)
|
| 251 |
+
</h2>
|
| 252 |
+
|
| 253 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 254 |
+
<!-- Einstein's Equation -->
|
| 255 |
+
<div class="equation-box p-4 border border-gray-700 rounded-lg">
|
| 256 |
+
<h3 class="font-bold text-lg mb-3 text-red-300">
|
| 257 |
+
Einstein's Field Equations
|
| 258 |
+
</h3>
|
| 259 |
+
<div class="text-center my-4 text-2xl font-math">
|
| 260 |
+
G<sub>μν</sub> = 8πG/c<sup>4</sup> T<sub>μν</sub>
|
| 261 |
+
</div>
|
| 262 |
+
<p class="text-sm text-gray-300">
|
| 263 |
+
This is the core equation of General Relativity. It relates the curvature of spacetime (left side) to the matter and energy content (right side).
|
| 264 |
+
</p>
|
| 265 |
+
<div class="mt-4 grid grid-cols-2 gap-2 text-xs">
|
| 266 |
+
<div class="bg-gray-700/50 p-2 rounded">
|
| 267 |
+
<span class="font-bold text-red-300">G<sub>μν</sub></span>
|
| 268 |
+
<p>Curvature of spacetime</p>
|
| 269 |
+
</div>
|
| 270 |
+
<div class="bg-gray-700/50 p-2 rounded">
|
| 271 |
+
<span class="font-bold text-blue-300">T<sub>μν</sub></span>
|
| 272 |
+
<p>Matter/energy content</p>
|
| 273 |
+
</div>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
|
| 277 |
+
<!-- Tensors Simplified -->
|
| 278 |
+
<div class="equation-box p-4 border border-gray-700 rounded-lg">
|
| 279 |
+
<h3 class="font-bold text-lg mb-3 text-purple-300">
|
| 280 |
+
Tensors Made Simple
|
| 281 |
+
</h3>
|
| 282 |
+
<div class="tensor-visualization h-24 rounded-lg mb-4 flex items-center justify-center">
|
| 283 |
+
<div class="bg-black/70 px-4 py-2 rounded">
|
| 284 |
+
<span class="font-mono">Multi-dimensional arrays</span>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
<p class="text-sm text-gray-300">
|
| 288 |
+
Tensors are mathematical objects that generalize numbers, vectors, and matrices. In GR, they describe curvature and energy in all spacetime directions.
|
| 289 |
+
</p>
|
| 290 |
+
<div class="mt-3 flex space-x-2 text-xs">
|
| 291 |
+
<div class="bg-purple-900/50 px-2 py-1 rounded">Scalar (0D)</div>
|
| 292 |
+
<div class="bg-blue-900/50 px-2 py-1 rounded">Vector (1D)</div>
|
| 293 |
+
<div class="bg-green-900/50 px-2 py-1 rounded">Matrix (2D)</div>
|
| 294 |
+
<div class="bg-red-900/50 px-2 py-1 rounded">Tensor (nD)</div>
|
| 295 |
+
</div>
|
| 296 |
+
</div>
|
| 297 |
+
</div>
|
| 298 |
+
|
| 299 |
+
<div class="mt-6 bg-gray-700/50 p-4 rounded-lg">
|
| 300 |
+
<h3 class="font-bold text-lg mb-3 text-yellow-300">
|
| 301 |
+
<i class="fas fa-brain mr-2"></i> Intuitive Understanding
|
| 302 |
+
</h3>
|
| 303 |
+
<p class="text-sm text-gray-300 mb-4">
|
| 304 |
+
You don't need to solve these equations to grasp the key ideas. Think of spacetime as a flexible rubber sheet:
|
| 305 |
+
</p>
|
| 306 |
+
<div class="flex items-start">
|
| 307 |
+
<div class="mr-4 text-yellow-300 text-2xl">
|
| 308 |
+
<i class="fas fa-arrow-right"></i>
|
| 309 |
+
</div>
|
| 310 |
+
<div>
|
| 311 |
+
<p class="text-sm">
|
| 312 |
+
<span class="font-bold">More mass</span> → <span class="text-blue-300">Deeper curvature</span> → <span class="text-purple-300">Stronger "gravity"</span>
|
| 313 |
+
</p>
|
| 314 |
+
<p class="text-sm mt-2">
|
| 315 |
+
<span class="font-bold">Faster motion</span> → <span class="text-green-300">More time dilation</span> → <span class="text-red-300">Clocks run slower</span>
|
| 316 |
+
</p>
|
| 317 |
+
</div>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
</section>
|
| 321 |
+
</div>
|
| 322 |
+
|
| 323 |
+
<!-- Right Column - Interactive Elements -->
|
| 324 |
+
<div class="space-y-8">
|
| 325 |
+
<!-- Gravity Simulator -->
|
| 326 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 327 |
+
<h2 class="text-2xl font-semibold mb-4 text-blue-400">
|
| 328 |
+
<i class="fas fa-gamepad mr-2"></i> Gravity Simulator
|
| 329 |
+
</h2>
|
| 330 |
+
<div class="space-time h-64 rounded-lg relative" id="gravityCanvas">
|
| 331 |
+
<div class="gravity-well w-20 h-20 absolute" id="centralMass" style="bottom: 50%; left: 50%; transform: translate(-50%, 50%);"></div>
|
| 332 |
+
<div class="particle w-3 h-3 absolute" id="orbitingObject" style="bottom: 30%; left: 50%;"></div>
|
| 333 |
+
<div class="absolute bottom-4 left-0 right-0 flex justify-center">
|
| 334 |
+
<button id="startOrbit" class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-lg text-sm">
|
| 335 |
+
<i class="fas fa-play mr-1"></i> Start Orbit
|
| 336 |
+
</button>
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
<div class="mt-4 grid grid-cols-2 gap-2">
|
| 340 |
+
<div>
|
| 341 |
+
<label class="text-xs block mb-1">Mass Size</label>
|
| 342 |
+
<input type="range" id="massSize" min="10" max="50" value="20" class="w-full">
|
| 343 |
+
</div>
|
| 344 |
+
<div>
|
| 345 |
+
<label class="text-xs block mb-1">Orbit Speed</label>
|
| 346 |
+
<input type="range" id="orbitSpeed" min="1" max="10" value="5" class="w-full">
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
<div class="mt-4 text-xs text-gray-400">
|
| 350 |
+
<i class="fas fa-info-circle mr-1"></i> Adjust sliders to see how mass and speed affect the orbit
|
| 351 |
+
</div>
|
| 352 |
+
</section>
|
| 353 |
+
|
| 354 |
+
<!-- Time Dilation Calculator -->
|
| 355 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 356 |
+
<h2 class="text-2xl font-semibold mb-4 text-purple-400">
|
| 357 |
+
<i class="fas fa-clock mr-2"></i> Time Dilation Calculator
|
| 358 |
+
</h2>
|
| 359 |
+
<div class="mb-4">
|
| 360 |
+
<label class="block text-sm mb-1">Gravitational Field Strength</label>
|
| 361 |
+
<select id="gravityField" class="w-full bg-gray-700 border border-gray-600 rounded px-3 py-2 text-sm">
|
| 362 |
+
<option value="earth">Earth Surface (1g)</option>
|
| 363 |
+
<option value="sun">Sun Surface (28g)</option>
|
| 364 |
+
<option value="neutron">Neutron Star (10^11g)</option>
|
| 365 |
+
<option value="blackhole">Black Hole (∞)</option>
|
| 366 |
+
</select>
|
| 367 |
+
</div>
|
| 368 |
+
<div class="mb-4">
|
| 369 |
+
<label class="block text-sm mb-1">Time Duration</label>
|
| 370 |
+
<div class="flex">
|
| 371 |
+
<input type="number" id="timeInput" value="1" class="flex-1 bg-gray-700 border border-gray-600 rounded-l px-3 py-2 text-sm">
|
| 372 |
+
<select id="timeUnit" class="bg-gray-700 border border-gray-600 rounded-r px-3 py-2 text-sm">
|
| 373 |
+
<option value="seconds">Seconds</option>
|
| 374 |
+
<option value="minutes">Minutes</option>
|
| 375 |
+
<option value="hours">Hours</option>
|
| 376 |
+
<option value="days">Days</option>
|
| 377 |
+
<option value="years">Years</option>
|
| 378 |
+
</select>
|
| 379 |
+
</div>
|
| 380 |
+
</div>
|
| 381 |
+
<button id="calculateDilation" class="w-full bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg text-sm mb-4">
|
| 382 |
+
<i class="fas fa-calculator mr-1"></i> Calculate Time Difference
|
| 383 |
+
</button>
|
| 384 |
+
<div id="dilationResult" class="hidden bg-gray-700/50 p-3 rounded-lg text-sm">
|
| 385 |
+
<div class="flex justify-between mb-2">
|
| 386 |
+
<span>Local Time:</span>
|
| 387 |
+
<span id="localTime" class="font-mono">1.00 sec</span>
|
| 388 |
+
</div>
|
| 389 |
+
<div class="flex justify-between">
|
| 390 |
+
<span>Distant Observer:</span>
|
| 391 |
+
<span id="observerTime" class="font-mono">1.00 sec</span>
|
| 392 |
+
</div>
|
| 393 |
+
<div class="mt-2 text-xs text-gray-400">
|
| 394 |
+
<i class="fas fa-info-circle mr-1"></i> Time runs slower in stronger gravity
|
| 395 |
+
</div>
|
| 396 |
+
</div>
|
| 397 |
+
</section>
|
| 398 |
+
|
| 399 |
+
<!-- GR Predictions -->
|
| 400 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 401 |
+
<h2 class="text-2xl font-semibold mb-4 text-green-400">
|
| 402 |
+
<i class="fas fa-check-circle mr-2"></i> GR Predictions
|
| 403 |
+
</h2>
|
| 404 |
+
<div class="space-y-4">
|
| 405 |
+
<div class="flex items-start">
|
| 406 |
+
<div class="bg-green-900/50 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
|
| 407 |
+
<i class="fas fa-check text-xs"></i>
|
| 408 |
+
</div>
|
| 409 |
+
<div>
|
| 410 |
+
<h3 class="font-semibold">Gravitational Lensing</h3>
|
| 411 |
+
<p class="text-xs text-gray-400">Light bends around massive objects, creating multiple images of distant galaxies.</p>
|
| 412 |
+
</div>
|
| 413 |
+
</div>
|
| 414 |
+
<div class="flex items-start">
|
| 415 |
+
<div class="bg-green-900/50 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
|
| 416 |
+
<i class="fas fa-check text-xs"></i>
|
| 417 |
+
</div>
|
| 418 |
+
<div>
|
| 419 |
+
<h3 class="font-semibold">Black Holes</h3>
|
| 420 |
+
<p class="text-xs text-gray-400">Regions where spacetime curvature becomes infinite - first image captured in 2019.</p>
|
| 421 |
+
</div>
|
| 422 |
+
</div>
|
| 423 |
+
<div class="flex items-start">
|
| 424 |
+
<div class="bg-green-900/50 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
|
| 425 |
+
<i class="fas fa-check text-xs"></i>
|
| 426 |
+
</div>
|
| 427 |
+
<div>
|
| 428 |
+
<h3 class="font-semibold">Gravitational Waves</h3>
|
| 429 |
+
<p class="text-xs text-gray-400">Ripples in spacetime detected in 2015 from colliding black holes.</p>
|
| 430 |
+
</div>
|
| 431 |
+
</div>
|
| 432 |
+
<div class="flex items-start">
|
| 433 |
+
<div class="bg-green-900/50 rounded-full w-6 h-6 flex items-center justify-center mr-3 mt-1 flex-shrink-0">
|
| 434 |
+
<i class="fas fa-check text-xs"></i>
|
| 435 |
+
</div>
|
| 436 |
+
<div>
|
| 437 |
+
<h3 class="font-semibold">Mercury's Orbit</h3>
|
| 438 |
+
<p class="text-xs text-gray-400">Explained the precession of Mercury's orbit that Newton couldn't.</p>
|
| 439 |
+
</div>
|
| 440 |
+
</div>
|
| 441 |
+
</div>
|
| 442 |
+
</section>
|
| 443 |
+
|
| 444 |
+
<!-- Learn More -->
|
| 445 |
+
<section class="bg-gray-800 rounded-xl p-6 shadow-lg">
|
| 446 |
+
<h2 class="text-2xl font-semibold mb-4 text-yellow-400">
|
| 447 |
+
<i class="fas fa-book-open mr-2"></i> Learn More
|
| 448 |
+
</h2>
|
| 449 |
+
<div class="space-y-3">
|
| 450 |
+
<a href="#" class="flex items-center p-3 bg-gray-700/50 hover:bg-gray-700 rounded-lg transition">
|
| 451 |
+
<div class="bg-blue-900/50 p-2 rounded-lg mr-3">
|
| 452 |
+
<i class="fas fa-video"></i>
|
| 453 |
+
</div>
|
| 454 |
+
<div>
|
| 455 |
+
<h3 class="font-medium">Video Explanations</h3>
|
| 456 |
+
<p class="text-xs text-gray-400">Visual guides to GR concepts</p>
|
| 457 |
+
</div>
|
| 458 |
+
</a>
|
| 459 |
+
<a href="#" class="flex items-center p-3 bg-gray-700/50 hover:bg-gray-700 rounded-lg transition">
|
| 460 |
+
<div class="bg-purple-900/50 p-2 rounded-lg mr-3">
|
| 461 |
+
<i class="fas fa-book"></i>
|
| 462 |
+
</div>
|
| 463 |
+
<div>
|
| 464 |
+
<h3 class="font-medium">Beginner Books</h3>
|
| 465 |
+
<p class="text-xs text-gray-400">GR without heavy math</p>
|
| 466 |
+
</div>
|
| 467 |
+
</a>
|
| 468 |
+
<a href="#" class="flex items-center p-3 bg-gray-700/50 hover:bg-gray-700 rounded-lg transition">
|
| 469 |
+
<div class="bg-green-900/50 p-2 rounded-lg mr-3">
|
| 470 |
+
<i class="fas fa-graduation-cap"></i>
|
| 471 |
+
</div>
|
| 472 |
+
<div>
|
| 473 |
+
<h3 class="font-medium">Online Courses</h3>
|
| 474 |
+
<p class="text-xs text-gray-400">Step-by-step learning</p>
|
| 475 |
+
</div>
|
| 476 |
+
</a>
|
| 477 |
+
</div>
|
| 478 |
+
</section>
|
| 479 |
+
</div>
|
| 480 |
+
</div>
|
| 481 |
+
|
| 482 |
+
<!-- Footer -->
|
| 483 |
+
<footer class="mt-16 pt-8 border-t border-gray-800 text-center text-gray-500 text-sm">
|
| 484 |
+
<p>General Relativity Explained Simply - A visualization tool for understanding Einstein's theory</p>
|
| 485 |
+
<p class="mt-2">© 2023 Science Education Project</p>
|
| 486 |
+
</footer>
|
| 487 |
+
</div>
|
| 488 |
+
|
| 489 |
+
<script>
|
| 490 |
+
// Gravity Simulator Animation
|
| 491 |
+
document.getElementById('startOrbit').addEventListener('click', function() {
|
| 492 |
+
const orbitingObject = document.getElementById('orbitingObject');
|
| 493 |
+
const massSize = parseInt(document.getElementById('massSize').value);
|
| 494 |
+
const speed = parseInt(document.getElementById('orbitSpeed').value);
|
| 495 |
+
const centralMass = document.getElementById('centralMass');
|
| 496 |
+
|
| 497 |
+
centralMass.style.width = `${massSize}px`;
|
| 498 |
+
centralMass.style.height = `${massSize}px`;
|
| 499 |
+
|
| 500 |
+
orbitingObject.style.transition = 'none';
|
| 501 |
+
orbitingObject.style.transform = 'translate(-50%, 50%)';
|
| 502 |
+
|
| 503 |
+
let angle = 0;
|
| 504 |
+
const radius = 80;
|
| 505 |
+
const centerX = 50;
|
| 506 |
+
const centerY = 50;
|
| 507 |
+
|
| 508 |
+
function animateOrbit() {
|
| 509 |
+
angle += 0.02 * speed;
|
| 510 |
+
const x = centerX + radius * Math.cos(angle);
|
| 511 |
+
const y = centerY + radius * Math.sin(angle);
|
| 512 |
+
|
| 513 |
+
orbitingObject.style.left = `${x}%`;
|
| 514 |
+
orbitingObject.style.bottom = `${y}%`;
|
| 515 |
+
|
| 516 |
+
requestAnimationFrame(animateOrbit);
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
animateOrbit();
|
| 520 |
+
|
| 521 |
+
this.disabled = true;
|
| 522 |
+
this.innerHTML = '<i class="fas fa-sync-alt mr-1"></i> Orbiting';
|
| 523 |
+
});
|
| 524 |
+
|
| 525 |
+
// Time Dilation Calculator
|
| 526 |
+
document.getElementById('calculateDilation').addEventListener('click', function() {
|
| 527 |
+
const field = document.getElementById('gravityField').value;
|
| 528 |
+
const time = parseFloat(document.getElementById('timeInput').value);
|
| 529 |
+
const unit = document.getElementById('timeUnit').value;
|
| 530 |
+
|
| 531 |
+
// Convert to seconds for calculation
|
| 532 |
+
let timeInSeconds = time;
|
| 533 |
+
switch(unit) {
|
| 534 |
+
case 'minutes': timeInSeconds *= 60; break;
|
| 535 |
+
case 'hours': timeInSeconds *= 3600; break;
|
| 536 |
+
case 'days': timeInSeconds *= 86400; break;
|
| 537 |
+
case 'years': timeInSeconds *= 31536000; break;
|
| 538 |
+
}
|
| 539 |
+
|
| 540 |
+
// Simple dilation factors (not precise, for demonstration)
|
| 541 |
+
let dilationFactor = 1;
|
| 542 |
+
switch(field) {
|
| 543 |
+
case 'earth': dilationFactor = 1.0000000007; break;
|
| 544 |
+
case 'sun': dilationFactor = 1.00002; break;
|
| 545 |
+
case 'neutron': dilationFactor = 1.5; break;
|
| 546 |
+
case 'blackhole': dilationFactor = Infinity; break;
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
const observerTime = field === 'blackhole' ? '∞' : (timeInSeconds / dilationFactor).toFixed(6);
|
| 550 |
+
|
| 551 |
+
document.getElementById('localTime').textContent = `${timeInSeconds.toFixed(2)} sec`;
|
| 552 |
+
document.getElementById('observerTime').textContent = `${observerTime} sec`;
|
| 553 |
+
document.getElementById('dilationResult').classList.remove('hidden');
|
| 554 |
+
});
|
| 555 |
+
|
| 556 |
+
// Update mass size display
|
| 557 |
+
document.getElementById('massSize').addEventListener('input', function() {
|
| 558 |
+
const size = this.value;
|
| 559 |
+
document.getElementById('centralMass').style.width = `${size}px`;
|
| 560 |
+
document.getElementById('centralMass').style.height = `${size}px`;
|
| 561 |
+
});
|
| 562 |
+
</script>
|
| 563 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=smjain/gr" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
|
| 564 |
+
</html>
|