File size: 29,774 Bytes
1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa b2ec142 1e660aa | 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 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mon Portfolio Futuriste</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.1/gsap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
overflow-x: hidden;
font-family: 'Poppins', sans-serif;
background: #0a0a12;
color: #fff;
line-height: 1.6;
}
#canvas-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.card {
background: rgba(20, 20, 40, 0.8);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 24px;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 30px rgba(0, 255, 255, 0.2);
}
.glow-text {
text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}
.glow-border {
box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}
.section-title {
position: relative;
display: inline-block;
}
.section-title:after {
content: '';
position: absolute;
width: 100%;
height: 3px;
bottom: -5px;
left: 0;
background: linear-gradient(90deg, #00ffff, #ff00ff);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}
.section-title:hover:after {
transform: scaleX(1);
}
.photo-gallery img {
transition: all 0.3s ease;
border-radius: 10px;
}
.photo-gallery img:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 255, 255, 0.4);
}
.friend-card {
transition: all 0.3s ease;
}
.friend-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3);
}
.contact-input {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
}
.contact-input:focus {
background: rgba(255, 255, 255, 0.2);
border: 1px solid #00ffff;
box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.btn-primary {
background: linear-gradient(135deg, #00dbde 0%, #fc00ff 100%);
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
border: none;
letter-spacing: 0.5px;
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 255, 255, 0.4);
}
.nav-link {
position: relative;
}
.nav-link:after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 0;
background: #00ffff;
transition: width 0.3s ease;
}
.nav-link:hover:after {
width: 100%;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
.floating {
animation: float 6s ease-in-out infinite;
}
</style>
</head>
<body>
<div id="canvas-container"></div>
<header class="fixed w-full z-50">
<nav class="container mx-auto px-6 py-4">
<div class="flex justify-between items-center">
<div class="text-2xl font-bold glow-text">
<span class="text-cyan-400">Maya</span><span class="text-pink-400">folio</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#about" class="nav-link text-white hover:text-cyan-300">À propos</a>
<a href="#dreams" class="nav-link text-white hover:text-cyan-300">Rêves</a>
<a href="#gallery" class="nav-link text-white hover:text-cyan-300">Galerie</a>
<a href="#friends" class="nav-link text-white hover:text-cyan-300">Copines</a>
<a href="#contact" class="nav-link text-white hover:text-cyan-300">Contact</a>
</div>
<div class="md:hidden">
<button id="menu-btn" class="text-white focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</div>
<div id="mobile-menu" class="hidden md:hidden mt-4">
<a href="#about" class="block py-2 text-white hover:text-cyan-300">À propos</a>
<a href="#dreams" class="block py-2 text-white hover:text-cyan-300">Rêves</a>
<a href="#gallery" class="block py-2 text-white hover:text-cyan-300">Galerie</a>
<a href="#friends" class="block py-2 text-white hover:text-cyan-300">Copines</a>
<a href="#contact" class="block py-2 text-white hover:text-cyan-300">Contact</a>
</div>
</nav>
</header>
<main class="pt-24 pb-16 px-4 md:px-0">
<!-- Hero Section -->
<section class="container mx-auto flex flex-col md:flex-row items-center justify-between min-h-screen py-20">
<div class="md:w-1/2 mb-12 md:mb-0">
<h1 class="text-5xl md:text-7xl font-bold mb-6 glow-text">
<span class="text-cyan-400">Bonjour, je suis</span><br>
<span class="text-pink-400">[Arouna Mayaki]</span>
</h1>
<p class="text-xl md:text-2xl text-gray-300 mb-8">Découvrez mon univers à travers ce portfolio futuriste</p>
<a href="#about" class="btn-primary text-white font-bold py-3 px-8 rounded-full inline-block">Explorer</a>
</div>
<div class="md:w-1/2 relative floating">
<div class="w-64 h-64 md:w-80 md:h-80 mx-auto glow-border rounded-full overflow-hidden border-4 border-cyan-400">
<img src="https://via.placeholder.com/400" alt="Ma photo" class="w-full h-full object-cover">
</div>
<div class="absolute -bottom-5 -right-5 w-24 h-24 rounded-full bg-pink-500 opacity-70 blur-xl"></div>
<div class="absolute -top-5 -left-5 w-20 h-20 rounded-full bg-cyan-500 opacity-70 blur-xl"></div>
</div>
</section>
<!-- About Section -->
<section id="about" class="container mx-auto py-20">
<h2 class="section-title text-4xl font-bold mb-16 text-center">À propos de moi</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
<div class="card p-8">
<h3 class="text-2xl font-bold mb-6 text-cyan-400">Informations personnelles</h3>
<ul class="space-y-4">
<li class="flex items-start">
<i class="fas fa-user text-pink-400 mt-1 mr-4"></i>
<div>
<span class="font-bold">Nom complet:</span>
<p>Arouna Mayaki</p>
</div>
</li>
<li class="flex items-start">
<i class="fas fa-birthday-cake text-pink-400 mt-1 mr-4"></i>
<div>
<span class="font-bold">Âge / Date de naissance:</span>
<p>17 ans - 06/06/2008</p>
</div>
</li>
<li class="flex items-start">
<i class="fas fa-heart text-pink-400 mt-1 mr-4"></i>
<div>
<span class="font-bold">Situation amoureuse:</span>
<p>En couple</p>
</div>
</li>
<li class="flex items-start">
<i class="fas fa-map-marker-alt text-pink-400 mt-1 mr-4"></i>
<div>
<span class="font-bold">Localisation:</span>
<p>Parakou, Bénin</p>
</div>
</li>
</ul>
</div>
<div class="card p-8">
<h3 class="text-2xl font-bold mb-6 text-cyan-400">Ma personnalité</h3>
<div class="mb-6">
<h4 class="font-bold text-lg mb-2">Mes passions:</h4>
<div class="flex flex-wrap gap-2">
<span class="bg-cyan-900 bg-opacity-50 px-3 py-1 rounded-full">Ingénieur Robotique</span>
<span class="bg-pink-900 bg-opacity-50 px-3 py-1 rounded-full">Voyages</span>
<span class="bg-cyan-900 bg-opacity-50 px-3 py-1 rounded-full">Musique</span>
<span class="bg-pink-900 bg-opacity-50 px-3 py-1 rounded-full">Technologie</span>
<span class="bg-cyan-900 bg-opacity-50 px-3 py-1 rounded-full">Sport</span>
</div>
</div>
<div>
<h4 class="font-bold text-lg mb-2">Description:</h4>
<p class="text-gray-300">Je suis une personne créative et passionnée par la technologie. J'aime apprendre de nouvelles choses et relever des défis. Mon caractère est à la fois déterminé et sociable. Ce qui me motive au quotidien, c'est la perspective de créer des innovations qui peuvent améliorer la vie des gens.</p>
</div>
</div>
</div>
</section>
<!-- Dreams Section -->
<section id="dreams" class="container mx-auto py-20">
<h2 class="section-title text-4xl font-bold mb-16 text-center">Mes Rêves & Ambitions</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="card p-8 hover:border-cyan-400 transition-all">
<div class="text-5xl text-cyan-400 mb-6">
<i class="fas fa-globe-americas"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Voyager</h3>
<p class="text-gray-300">Mon rêve est de visiter au moins 30 pays avant mes 30 ans. Je veux découvrir de nouvelles cultures, goûter à des plats exotiques et me faire des amis partout dans le monde.</p>
</div>
<div class="card p-8 hover:border-pink-400 transition-all">
<div class="text-5xl text-pink-400 mb-6">
<i class="fas fa-briefcase"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Carrière</h3>
<p class="text-gray-300">Je vise à devenir ingénieur en robotique. Mon objectif est de concevoir des systèmes automatisés qui facilitent la vie quotidienne. Je travaille chaque jour pour me rapprocher de ce rêve en développant mes compétences techniques.</p>
</div>
<div class="card p-8 hover:border-cyan-400 transition-all">
<div class="text-5xl text-cyan-400 mb-6">
<i class="fas fa-heart"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Vie personnelle</h3>
<p class="text-gray-300">Je rêve de créer une famille heureuse et équilibrée. Pour moi, le bonheur c'est partager des moments simples avec les personnes que j'aime, tout en poursuivant mes passions.</p>
</div>
</div>
</section>
<!-- Gallery Section -->
<section id="gallery" class="container mx-auto py-20">
<h2 class="section-title text-4xl font-bold mb-16 text-center">Ma Galerie Photo</h2>
<div class="photo-gallery grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 1" class="w-full h-48 object-cover">
</div>
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 2" class="w-full h-48 object-cover">
</div>
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 3" class="w-full h-48 object-cover">
</div>
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 4" class="w-full h-48 object-cover">
</div>
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 5" class="w-full h-48 object-cover">
</div>
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 6" class="w-full h-48 object-cover">
</div>
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 7" class="w-full h-48 object-cover">
</div>
<div class="overflow-hidden rounded-lg">
<img src="https://via.placeholder.com/400x300" alt="Photo 8" class="w-full h-48 object-cover">
</div>
</div>
</section>
<!-- Best Friends Section -->
<section id="best-friends" class="container mx-auto py-20">
<h2 class="section-title text-4xl font-bold mb-16 text-center">Mes Meilleurs Amis</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
<div class="best-friend-card card p-8 flex flex-col md:flex-row items-center gap-6 hover:border-cyan-400 transition-all">
<div class="relative">
<div class="w-40 h-40 rounded-full overflow-hidden border-4 border-cyan-400">
<img src="https://via.placeholder.com/200" alt="Meilleur ami 1" class="w-full h-full object-cover">
</div>
<div class="absolute -bottom-2 -right-2 bg-cyan-500 text-white rounded-full w-10 h-10 flex items-center justify-center">
<i class="fas fa-heart"></i>
</div>
</div>
<div class="text-center md:text-left">
<h3 class="text-2xl font-bold mb-2 text-cyan-400">[Nom Meilleur Ami]</h3>
<p class="text-gray-300 mb-4">"Nous nous connaissons depuis [nombre] ans. C'est mon confident et mon frère/sœur de cœur."</p>
<div class="flex justify-center md:justify-start gap-4">
<a href="#" class="text-cyan-400 hover:text-cyan-300"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-cyan-400 hover:text-cyan-300"><i class="fab fa-whatsapp"></i></a>
</div>
</div>
</div>
<div class="best-friend-card card p-8 flex flex-col md:flex-row items-center gap-6 hover:border-pink-400 transition-all">
<div class="relative">
<div class="w-40 h-40 rounded-full overflow-hidden border-4 border-pink-400">
<img src="https://via.placeholder.com/200" alt="Meilleur ami 2" class="w-full h-full object-cover">
</div>
<div class="absolute -bottom-2 -right-2 bg-pink-500 text-white rounded-full w-10 h-10 flex items-center justify-center">
<i class="fas fa-star"></i>
</div>
</div>
<div class="text-center md:text-left">
<h3 class="text-2xl font-bold mb-2 text-pink-400">[Nom Meilleur Ami]</h3>
<p class="text-gray-300 mb-4">"Notre amitié a commencé [année/occasion]. Nous partageons les mêmes passions et valeurs."</p>
<div class="flex justify-center md:justify-start gap-4">
<a href="#" class="text-pink-400 hover:text-pink-300"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-pink-400 hover:text-pink-300"><i class="fab fa-whatsapp"></i></a>
</div>
</div>
</div>
</div>
</section>
<!-- Friends Section -->
<section id="friends" class="container mx-auto py-20">
<h2 class="section-title text-4xl font-bold mb-16 text-center">Mes Autres Amis</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="friend-card card p-6 text-center">
<div class="w-32 h-32 mx-auto rounded-full overflow-hidden border-4 border-pink-400 mb-4">
<img src="https://via.placeholder.com/200" alt="Amie 1" class="w-full h-full object-cover">
</div>
<h3 class="text-xl font-bold mb-2">[Nom Amie 1]</h3>
<p class="text-gray-400">"Notre amitié a commencé [année/occasion]. Elle est [décrivez en quelques mots]."</p>
</div>
<div class="friend-card card p-6 text-center">
<div class="w-32 h-32 mx-auto rounded-full overflow-hidden border-4 border-cyan-400 mb-4">
<img src="https://via.placeholder.com/200" alt="Amie 2" class="w-full h-full object-cover">
</div>
<h3 class="text-xl font-bold mb-2">[Nom Amie 2]</h3>
<p class="text-gray-400">"Nous nous connaissons depuis [durée]. Ce que j'aime chez elle c'est [qualités]."</p>
</div>
<div class="friend-card card p-6 text-center">
<div class="w-32 h-32 mx-auto rounded-full overflow-hidden border-4 border-pink-400 mb-4">
<img src="https://via.placeholder.com/200" alt="Amie 3" class="w-full h-full object-cover">
</div>
<h3 class="text-xl font-bold mb-2">[Nom Amie 3]</h3>
<p class="text-gray-400">"Notre meilleur souvenir ensemble est [décrivez un souvenir]. Elle est toujours là pour moi."</p>
</div>
</div>
</section>
<!-- Style for best friends section -->
<style>
.best-friend-card {
transition: all 0.4s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.best-friend-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 195, 255, 0.3);
}
.best-friend-card:hover h3 {
text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}
</style>
<!-- Contact Section -->
<section id="contact" class="container mx-auto py-20">
<h2 class="section-title text-4xl font-bold mb-16 text-center">Me Contacter</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
<div class="card p-8">
<h3 class="text-2xl font-bold mb-6 text-cyan-400">Mes réseaux</h3>
<div class="space-y-6">
<a href="#" class="flex items-center text-white hover:text-pink-400 transition-colors">
<i class="fab fa-instagram text-2xl mr-4"></i>
<span>@moninstagram</span>
</a>
<a href="#" class="flex items-center text-white hover:text-cyan-400 transition-colors">
<i class="fab fa-twitter text-2xl mr-4"></i>
<span>@montwitter</span>
</a>
<a href="#" class="flex items-center text-white hover:text-blue-400 transition-colors">
<i class="fab fa-facebook text-2xl mr-4"></i>
<span>Mon Facebook</span>
</a>
<a href="#" class="flex items-center text-white hover:text-red-400 transition-colors">
<i class="fas fa-envelope text-2xl mr-4"></i>
<span>monemail@example.com</span>
</a>
<a href="#" class="flex items-center text-white hover:text-green-400 transition-colors">
<i class="fab fa-whatsapp text-2xl mr-4"></i>
<span>+123 456 7890</span>
</a>
</div>
</div>
<div class="card p-8">
<h3 class="text-2xl font-bold mb-6 text-cyan-400">Formulaire de contact</h3>
<form class="space-y-4">
<div>
<label for="name" class="block mb-2">Votre nom</label>
<input type="text" id="name" class="contact-input w-full px-4 py-3 rounded-lg focus:outline-none">
</div>
<div>
<label for="email" class="block mb-2">Votre email</label>
<input type="email" id="email" class="contact-input w-full px-4 py-3 rounded-lg focus:outline-none">
</div>
<div>
<label for="message" class="block mb-2">Votre message</label>
<textarea id="message" rows="4" class="contact-input w-full px-4 py-3 rounded-lg focus:outline-none"></textarea>
</div>
<button type="submit" class="btn-primary text-white font-bold py-3 px-6 rounded-lg w-full mt-6">Envoyer</button>
</form>
</div>
</div>
</section>
</main>
<footer class="py-8 text-center text-gray-400">
<div class="container mx-auto px-4">
<p>© <span id="year"></span> [Votre Prénom] [Votre Nom]. Tous droits réservés.</p>
<div class="flex justify-center space-x-6 mt-4">
<a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-instagram text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-twitter text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-facebook text-xl"></i></a>
<a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-linkedin text-xl"></i></a>
</div>
</div>
</footer>
<script>
// Set current year in footer
document.getElementById('year').textContent = new Date().getFullYear();
// Mobile menu toggle
document.getElementById('menu-btn').addEventListener('click', function() {
document.getElementById('mobile-menu').classList.toggle('hidden');
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
// Close mobile menu if open
document.getElementById('mobile-menu').classList.add('hidden');
});
});
// 3D Background with Three.js
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
renderer.setSize(window.innerWidth, window.innerHeight);
document.getElementById('canvas-container').appendChild(renderer.domElement);
// Particles
const particlesGeometry = new THREE.BufferGeometry();
const particleCount = 1500;
const posArray = new Float32Array(particleCount * 3);
for(let i = 0; i < particleCount * 3; i++) {
posArray[i] = (Math.random() - 0.5) * 10;
}
particlesGeometry.setAttribute('position', new THREE.BufferAttribute(posArray, 3));
const particlesMaterial = new THREE.PointsMaterial({
size: 0.03,
sizeAttenuation: true,
color: 0x4facfe,
transparent: true,
opacity: 0.9,
blending: THREE.AdditiveBlending,
vertexColors: true
});
const particlesMesh = new THREE.Points(particlesGeometry, particlesMaterial);
scene.add(particlesMesh);
// Add some floating shapes
const geometry = new THREE.IcosahedronGeometry(0.5, 0);
const material = new THREE.MeshBasicMaterial({
color: 0xff00ff,
wireframe: true,
transparent: true,
opacity: 0.5
});
const shapes = [];
for(let i = 0; i < 5; i++) {
const shape = new THREE.Mesh(geometry, material);
shape.position.x = (Math.random() - 0.5) * 10;
shape.position.y = (Math.random() - 0.5) * 10;
shape.position.z = (Math.random() - 0.5) * 10;
shape.rotation.x = Math.random() * Math.PI;
shape.rotation.y = Math.random() * Math.PI;
shapes.push(shape);
scene.add(shape);
}
camera.position.z = 5;
// Animation
function animate() {
requestAnimationFrame(animate);
particlesMesh.rotation.x += 0.0005;
particlesMesh.rotation.y += 0.0005;
shapes.forEach(shape => {
shape.rotation.x += 0.005;
shape.rotation.y += 0.005;
// Float up and down
shape.position.y += Math.sin(Date.now() * 0.001 + shape.position.x) * 0.001;
});
renderer.render(scene, camera);
}
animate();
// Handle window resize
window.addEventListener('resize', () => {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
// GSAP animations
gsap.from('header', { duration: 1, y: -100, opacity: 0, ease: 'power3.out' });
gsap.from('.floating', { duration: 1.5, y: 50, opacity: 0, ease: 'elastic.out(1, 0.5)' });
gsap.from('h1', { duration: 1, x: -50, opacity: 0, delay: 0.5, ease: 'power3.out' });
gsap.from('section', {
duration: 1,
y: 50,
opacity: 0,
stagger: 0.2,
scrollTrigger: {
trigger: 'section',
start: 'top 80%',
toggleActions: 'play none none none'
}
});
</script>
<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=bcoco57/arouna" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |