Spaces:
Running
Running
Download index.html from davyes0101/vortex: direct link, hf CLI and curl.
- Browser
- Download file 11.5 kB
-
https://huggingface.co/spaces/davyes0101/vortex/resolve/main/index.html
- Command line
-
hf download hf://spaces/davyes0101/vortex/index.html
-
curl -L -o index.html https://huggingface.co/spaces/davyes0101/vortex/resolve/main/index.html
11.5 kB
| <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> | |