Spaces:
Running
Running
Download animations.html from ModelMerchant/undefined: direct link, hf CLI and curl.
- Browser
- Download file 10 kB
-
https://huggingface.co/spaces/ModelMerchant/undefined/resolve/main/animations.html
- Command line
-
hf download hf://spaces/ModelMerchant/undefined/animations.html
-
curl -L -o animations.html https://huggingface.co/spaces/ModelMerchant/undefined/resolve/main/animations.html
10 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Free Animations - Create Baby Singing Animations</title> | |
| <link rel="icon" type="image/x-icon" href="https://static.photos/technology/200x200/42"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script> | |
| <style> | |
| .animation-container { | |
| width: 300px; | |
| height: 300px; | |
| position: relative; | |
| margin: 0 auto; | |
| } | |
| .baby-face { | |
| width: 150px; | |
| height: 180px; | |
| background-color: #FFD6C0; | |
| border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .eye { | |
| width: 30px; | |
| height: 30px; | |
| background: white; | |
| border-radius: 50%; | |
| position: absolute; | |
| top: 60px; | |
| } | |
| .eye.left { left: 35px; } | |
| .eye.right { right: 35px; } | |
| .pupil { | |
| width: 15px; | |
| height: 15px; | |
| background: #000; | |
| border-radius: 50%; | |
| position: absolute; | |
| top: 7px; | |
| left: 7px; | |
| } | |
| .mouth { | |
| width: 60px; | |
| height: 30px; | |
| border-bottom: 4px solid #000; | |
| border-radius: 0 0 50% 50%; | |
| position: absolute; | |
| bottom: 50px; | |
| left: 45px; | |
| } | |
| .controls { | |
| background: rgba(255,255,255,0.9); | |
| padding: 20px; | |
| border-radius: 10px; | |
| margin-top: 20px; | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen bg-gradient-to-br from-pink-100 to-purple-100"> | |
| <div class="relative z-10"> | |
| <nav class="bg-white bg-opacity-90 shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <i data-feather="film" class="text-purple-600 mr-2"></i> | |
| <span class="text-xl font-bold text-gray-800">FreeAnimations</span> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <a href="index.html" class="text-gray-600 hover:text-purple-600">Home</a> | |
| <a href="dropshipping.html" class="text-gray-600 hover:text-purple-600">Dropshipping</a> | |
| <a href="animations.html" class="text-purple-600 font-medium">Animations</a> | |
| <a href="monetization.html" class="text-gray-600 hover:text-purple-600">Make Money</a> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <section class="py-20 px-4 text-center"> | |
| <div class="max-w-4xl mx-auto"> | |
| <h1 class="text-5xl font-bold text-gray-800 mb-6">Create <span class="text-purple-600">Baby Singing</span> Animations</h1> | |
| <p class="text-xl text-gray-600 mb-10">Free online tool to create cute baby animations with singing effects.</p> | |
| <div class="animation-container"> | |
| <div class="baby-face" id="baby"> | |
| <div class="eye left"><div class="pupil"></div></div> | |
| <div class="eye right"><div class="pupil"></div></div> | |
| <div class="mouth" id="mouth"></div> | |
| </div> | |
| </div> | |
| <div class="controls max-w-md mx-auto"> | |
| <h3 class="text-xl font-semibold mb-4">Animation Controls</h3> | |
| <div class="space-y-4"> | |
| <button onclick="startSinging()" class="bg-purple-600 text-white px-6 py-3 rounded-md hover:bg-purple-700 transition w-full"> | |
| Start Singing | |
| </button> | |
| <button onclick="stopSinging()" class="bg-gray-200 text-gray-800 px-6 py-3 rounded-md hover:bg-gray-300 transition w-full"> | |
| Stop Animation | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="py-16 px-4 bg-white bg-opacity-90"> | |
| <div class="max-w-7xl mx-auto"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">How It Works</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-white p-6 rounded-lg shadow-md text-center"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="play" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Create Animation</h3> | |
| <p class="text-gray-600">Click "Start Singing" to see the baby animation come to life.</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-lg shadow-md text-center"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="download" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Export</h3> | |
| <p class="text-gray-600">Right click to save your animation as a GIF or video.</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-lg shadow-md text-center"> | |
| <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="share-2" class="text-purple-600 w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-2">Share</h3> | |
| <p class="text-gray-600">Share your cute baby animations on social media.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <footer class="bg-gray-800 text-white py-12 px-4"> | |
| <div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-4">FreeDomainFinder</h3> | |
| <p class="text-gray-400">Helping you create animations and find domains since 2023.</p> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Quick Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="index.html" class="text-gray-400 hover:text-white">Home</a></li> | |
| <li><a href="dropshipping.html" class="text-gray-400 hover:text-white">Dropshipping</a></li> | |
| <li><a href="animations.html" class="text-gray-400 hover:text-white">Animations</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Tutorials</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Support</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Connect</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="max-w-7xl mx-auto mt-12 pt-6 border-t border-gray-700 text-center text-gray-400"> | |
| <p>© 2023 FreeDomainFinder. All rights reserved.</p> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| let singingAnimation; | |
| function startSinging() { | |
| const mouth = document.getElementById('mouth'); | |
| const baby = document.getElementById('baby'); | |
| // Reset any existing animations | |
| gsap.killTweensOf(mouth); | |
| gsap.killTweensOf(baby); | |
| // Singing mouth animation | |
| singingAnimation = gsap.to(mouth, { | |
| duration: 0.2, | |
| height: 10, | |
| borderBottom: "4px solid #000", | |
| borderRadius: "50% 50% 50% 50% / 60% 60% 40% 40%", | |
| repeat: -1, | |
| yoyo: true, | |
| ease: "power1.inOut" | |
| }); | |
| // Head bobbing animation | |
| gsap.to(baby, { | |
| duration: 0.5, | |
| y: "-=10", | |
| repeat: -1, | |
| yoyo: true, | |
| ease: "sine.inOut" | |
| }); | |
| } | |
| function stopSinging() { | |
| const mouth = document.getElementById('mouth'); | |
| const baby = document.getElementById('baby'); | |
| gsap.killTweensOf(mouth); | |
| gsap.killTweensOf(baby); | |
| // Reset to initial state | |
| gsap.to(mouth, { | |
| duration: 0.3, | |
| height: 30, | |
| borderBottom: "4px solid #000", | |
| borderRadius: "0 0 50% 50%" | |
| }); | |
| gsap.to(baby, { | |
| duration: 0.3, | |
| y: 0 | |
| }); | |
| } | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |