File size: 11,525 Bytes
2831ff8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6088425
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modélisation d'un trou noir de Schwarzschild par une caténoïde</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
    <style>
        .hero-section {
            height: 100vh;
            position: relative;
        }
        .catenoid-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        .content-overlay {
            position: relative;
            z-index: 2;
        }
        .black-hole-visual {
            width: 100%;
            height: 500px;
            background: radial-gradient(circle, #000000 0%, #1a1a2e 70%, #16213e 100%);
            border-radius: 50%;
            position: relative;
            overflow: hidden;
        }
        .accretion-disk {
            position: absolute;
            width: 80%;
            height: 20px;
            background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
            border-radius: 50%;
            top: 50%;
            left: 10%;
            transform: rotateX(70deg);
            opacity: 0.7;
            animation: rotate 20s linear infinite;
        }
        @keyframes rotate {
            from { transform: rotateX(70deg) rotateZ(0deg); }
            to { transform: rotateX(70deg) rotateZ(360deg); }
        }
    </style>
</head>
<body class="bg-gray-900 text-white">
    <!-- Hero Section with Vanta.js background -->
    <div class="hero-section">
        <div id="vanta-bg" class="catenoid-canvas"></div>
        <div class="content-overlay container mx-auto px-6 py-20 flex flex-col justify-center h-full">
            <h1 class="text-5xl md:text-7xl font-bold mb-6" data-aos="fade-down">
                Modélisation d'un trou noir de Schwarzschild
            </h1>
            <h2 class="text-3xl md:text-5xl font-semibold text-cyan-400 mb-8" data-aos="fade-down" data-aos-delay="200">
                Par une caténoïde
            </h2>
            <p class="text-xl md:text-2xl max-w-3xl mb-10" data-aos="fade-up" data-aos-delay="400">
                Exploration visuelle de la représentation géométrique des trous noirs à travers les surfaces minimales.
            </p>
            <div class="flex gap-4" data-aos="fade-up" data-aos-delay="600">
                <a href="#introduction" class="px-8 py-3 bg-cyan-600 hover:bg-cyan-700 rounded-full font-semibold transition">
                    Commencer
                </a>
                <a href="#simulation" class="px-8 py-3 border border-cyan-400 hover:bg-cyan-900/30 rounded-full font-semibold transition">
                    Simulation
                </a>
                <a href="galaxie.html" class="px-8 py-3 border border-purple-400 hover:bg-purple-900/30 rounded-full font-semibold transition">
                    Galaxie
                </a>
            </div>
        </div>
    </div>

    <!-- Introduction Section -->
    <section id="introduction" class="py-20 bg-gray-800">
        <div class="container mx-auto px-6">
            <div class="flex flex-col md:flex-row items-center gap-12">
                <div class="md:w-1/2" data-aos="fade-right">
                    <h2 class="text-4xl font-bold mb-6">La caténoïde et les trous noirs</h2>
                    <p class="text-lg mb-4">
                        La caténoïde est une surface minimale de révolution qui peut servir de modèle simplifié pour représenter l'espace-temps déformé autour d'un trou noir de Schwarzschild.
                    </p>
                    <p class="text-lg mb-6">
                        Cette surface, obtenue par rotation d'une chaînette, présente des propriétés mathématiques fascinantes qui rappellent la courbure de l'espace-temps près d'un trou noir.
                    </p>
                    <div class="flex items-center gap-2 text-cyan-400">
                        <i data-feather="arrow-right"></i>
                        <span>Explorez cette analogie géométrique</span>
                    </div>
                </div>
                <div class="md:w-1/2" data-aos="fade-left">
                    <div class="black-hole-visual">
                        <div class="accretion-disk"></div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Mathematical Explanation -->
    <section class="py-20 bg-gray-900">
        <div class="container mx-auto px-6">
            <h2 class="text-4xl font-bold mb-12 text-center" data-aos="fade-down">Fondements mathématiques</h2>
            
            <div class="grid md:grid-cols-2 gap-12">
                <div class="bg-gray-800 p-8 rounded-xl" data-aos="fade-up">
                    <div class="flex items-center gap-4 mb-6">
                        <div class="bg-cyan-600 p-3 rounded-full">
                            <i data-feather="code" class="w-6 h-6"></i>
                        </div>
                        <h3 class="text-2xl font-semibold">Équation de la caténoïde</h3>
                    </div>
                    <p class="text-lg mb-4">
                        La caténoïde est décrite par l'équation paramétrique :
                    </p>
                    <div class="bg-gray-700 p-4 rounded-lg mb-4 font-mono">
                        x = a cosh(v/a) cos(u)<br>
                        y = a cosh(v/a) sin(u)<br>
                        z = v
                    </div>
                    <p class="text-lg">
                        où a est un paramètre de taille et (u,v) sont les coordonnées de la surface.
                    </p>
                </div>
                
                <div class="bg-gray-800 p-8 rounded-xl" data-aos="fade-up" data-aos-delay="200">
                    <div class="flex items-center gap-4 mb-6">
                        <div class="bg-purple-600 p-3 rounded-full">
                            <i data-feather="activity" class="w-6 h-6"></i>
                        </div>
                        <h3 class="text-2xl font-semibold">Métrique de Schwarzschild</h3>
                    </div>
                    <p class="text-lg mb-4">
                        La solution de Schwarzschild décrit l'espace-temps autour d'un trou noir statique :
                    </p>
                    <div class="bg-gray-700 p-4 rounded-lg mb-4 font-mono">
                        ds² = -(1-2GM/rc²)dt² + (1-2GM/rc²)⁻¹dr² + r²(dθ² + sin²θ dφ²)
                    </div>
                    <p class="text-lg">
                        La caténoïde offre une analogie visuelle pour cette courbure.
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- Simulation Section -->
    <section id="simulation" class="py-20 bg-gray-800">
        <div class="container mx-auto px-6">
            <h2 class="text-4xl font-bold mb-12 text-center" data-aos="fade-down">Simulation interactive</h2>
            
            <div class="flex flex-col items-center">
                <div class="w-full max-w-4xl h-96 bg-black rounded-xl mb-8 overflow-hidden" id="threejs-container">
                    <!-- Three.js canvas will be inserted here -->
                </div>
                
                <div class="w-full max-w-2xl">
                    <div class="mb-6">
                        <label class="block text-lg mb-2">Paramètre de courbure (a)</label>
                        <input type="range" min="0.5" max="3" step="0.1" value="1" class="w-full h-2 bg-gray-700 rounded-lg appearance-none cursor-pointer">
                    </div>
                    
                    <div class="grid grid-cols-2 gap-4">
                        <button class="px-6 py-3 bg-cyan-600 hover:bg-cyan-700 rounded-lg font-semibold transition">
                            <i data-feather="rotate-cw" class="inline mr-2"></i> Réinitialiser
                        </button>
                        <button class="px-6 py-3 bg-purple-600 hover:bg-purple-700 rounded-lg font-semibold transition">
                            <i data-feather="info" class="inline mr-2"></i> Explications
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="py-12 bg-gray-900 border-t border-gray-800">
        <div class="container mx-auto px-6">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-6 md:mb-0">
                    <h3 class="text-2xl font-bold text-cyan-400">Modélisation des trous noirs</h3>
                    <p class="text-gray-400">Exploration géométrique de l'espace-temps</p>
                </div>
                <div class="flex gap-6">
                    <a href="#" class="text-gray-400 hover:text-cyan-400 transition">
                        <i data-feather="github"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-cyan-400 transition">
                        <i data-feather="twitter"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-cyan-400 transition">
                        <i data-feather="book"></i>
                    </a>
                    <a href="galaxie.html" class="text-gray-400 hover:text-purple-400 transition">
                        <i data-feather="star"></i>
                    </a>
                </div>
            </div>
            <div class="mt-12 pt-8 border-t border-gray-800 text-center text-gray-500">
                <p>© 2023 Modélisation des trous noirs. Tous droits réservés.</p>
            </div>
        </div>
    </footer>

    <script>
        // Initialize animations
        AOS.init({
            duration: 800,
            easing: 'ease-in-out',
            once: true
        });
        
        // Initialize feather icons
        feather.replace();
        
        // Initialize Vanta.js background
        VANTA.NET({
            el: "#vanta-bg",
            mouseControls: true,
            touchControls: true,
            gyroControls: false,
            minHeight: 200.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00,
            color: 0x3f82f5,
            backgroundColor: 0x111827,
            points: 12.00,
            maxDistance: 22.00,
            spacing: 18.00
        });
        
        // Three.js simulation would be initialized here
        // This is a placeholder for the actual implementation
        document.addEventListener('DOMContentLoaded', function() {
            const container = document.getElementById('threejs-container');
            // Three.js initialization code would go here
            console.log('Three.js container ready for initialization');
        });
    </script>
</body>
</html>