ModelMerchant commited on
Commit
fa31380
·
verified ·
1 Parent(s): 2fa66fc

Create free animations like a baby singing

Browse files
Files changed (2) hide show
  1. animations.html +233 -0
  2. index.html +3 -3
animations.html ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Free Animations - Create Baby Singing Animations</title>
7
+ <link rel="icon" type="image/x-icon" href="https://static.photos/technology/200x200/42">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
11
+ <style>
12
+ .animation-container {
13
+ width: 300px;
14
+ height: 300px;
15
+ position: relative;
16
+ margin: 0 auto;
17
+ }
18
+ .baby-face {
19
+ width: 150px;
20
+ height: 180px;
21
+ background-color: #FFD6C0;
22
+ border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
23
+ position: absolute;
24
+ top: 50%;
25
+ left: 50%;
26
+ transform: translate(-50%, -50%);
27
+ }
28
+ .eye {
29
+ width: 30px;
30
+ height: 30px;
31
+ background: white;
32
+ border-radius: 50%;
33
+ position: absolute;
34
+ top: 60px;
35
+ }
36
+ .eye.left { left: 35px; }
37
+ .eye.right { right: 35px; }
38
+ .pupil {
39
+ width: 15px;
40
+ height: 15px;
41
+ background: #000;
42
+ border-radius: 50%;
43
+ position: absolute;
44
+ top: 7px;
45
+ left: 7px;
46
+ }
47
+ .mouth {
48
+ width: 60px;
49
+ height: 30px;
50
+ border-bottom: 4px solid #000;
51
+ border-radius: 0 0 50% 50%;
52
+ position: absolute;
53
+ bottom: 50px;
54
+ left: 45px;
55
+ }
56
+ .controls {
57
+ background: rgba(255,255,255,0.9);
58
+ padding: 20px;
59
+ border-radius: 10px;
60
+ margin-top: 20px;
61
+ }
62
+ </style>
63
+ </head>
64
+ <body class="min-h-screen bg-gradient-to-br from-pink-100 to-purple-100">
65
+ <div class="relative z-10">
66
+ <nav class="bg-white bg-opacity-90 shadow-sm">
67
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
68
+ <div class="flex justify-between h-16">
69
+ <div class="flex items-center">
70
+ <i data-feather="film" class="text-purple-600 mr-2"></i>
71
+ <span class="text-xl font-bold text-gray-800">FreeAnimations</span>
72
+ </div>
73
+ <div class="flex items-center space-x-4">
74
+ <a href="index.html" class="text-gray-600 hover:text-purple-600">Home</a>
75
+ <a href="dropshipping.html" class="text-gray-600 hover:text-purple-600">Dropshipping</a>
76
+ <a href="animations.html" class="text-purple-600 font-medium">Animations</a>
77
+ <a href="#" class="text-gray-600 hover:text-purple-600">FAQs</a>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </nav>
82
+
83
+ <section class="py-20 px-4 text-center">
84
+ <div class="max-w-4xl mx-auto">
85
+ <h1 class="text-5xl font-bold text-gray-800 mb-6">Create <span class="text-purple-600">Baby Singing</span> Animations</h1>
86
+ <p class="text-xl text-gray-600 mb-10">Free online tool to create cute baby animations with singing effects.</p>
87
+
88
+ <div class="animation-container">
89
+ <div class="baby-face" id="baby">
90
+ <div class="eye left"><div class="pupil"></div></div>
91
+ <div class="eye right"><div class="pupil"></div></div>
92
+ <div class="mouth" id="mouth"></div>
93
+ </div>
94
+ </div>
95
+
96
+ <div class="controls max-w-md mx-auto">
97
+ <h3 class="text-xl font-semibold mb-4">Animation Controls</h3>
98
+ <div class="space-y-4">
99
+ <button onclick="startSinging()" class="bg-purple-600 text-white px-6 py-3 rounded-md hover:bg-purple-700 transition w-full">
100
+ Start Singing
101
+ </button>
102
+ <button onclick="stopSinging()" class="bg-gray-200 text-gray-800 px-6 py-3 rounded-md hover:bg-gray-300 transition w-full">
103
+ Stop Animation
104
+ </button>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </section>
109
+
110
+ <section class="py-16 px-4 bg-white bg-opacity-90">
111
+ <div class="max-w-7xl mx-auto">
112
+ <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">How It Works</h2>
113
+
114
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
115
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
116
+ <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
117
+ <i data-feather="play" class="text-purple-600 w-8 h-8"></i>
118
+ </div>
119
+ <h3 class="text-xl font-semibold mb-2">Create Animation</h3>
120
+ <p class="text-gray-600">Click "Start Singing" to see the baby animation come to life.</p>
121
+ </div>
122
+
123
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
124
+ <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
125
+ <i data-feather="download" class="text-purple-600 w-8 h-8"></i>
126
+ </div>
127
+ <h3 class="text-xl font-semibold mb-2">Export</h3>
128
+ <p class="text-gray-600">Right click to save your animation as a GIF or video.</p>
129
+ </div>
130
+
131
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
132
+ <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
133
+ <i data-feather="share-2" class="text-purple-600 w-8 h-8"></i>
134
+ </div>
135
+ <h3 class="text-xl font-semibold mb-2">Share</h3>
136
+ <p class="text-gray-600">Share your cute baby animations on social media.</p>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </section>
141
+
142
+ <footer class="bg-gray-800 text-white py-12 px-4">
143
+ <div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8">
144
+ <div>
145
+ <h3 class="text-xl font-bold mb-4">FreeDomainFinder</h3>
146
+ <p class="text-gray-400">Helping you create animations and find domains since 2023.</p>
147
+ </div>
148
+ <div>
149
+ <h4 class="text-lg font-semibold mb-4">Quick Links</h4>
150
+ <ul class="space-y-2">
151
+ <li><a href="index.html" class="text-gray-400 hover:text-white">Home</a></li>
152
+ <li><a href="dropshipping.html" class="text-gray-400 hover:text-white">Dropshipping</a></li>
153
+ <li><a href="animations.html" class="text-gray-400 hover:text-white">Animations</a></li>
154
+ </ul>
155
+ </div>
156
+ <div>
157
+ <h4 class="text-lg font-semibold mb-4">Resources</h4>
158
+ <ul class="space-y-2">
159
+ <li><a href="#" class="text-gray-400 hover:text-white">Tutorials</a></li>
160
+ <li><a href="#" class="text-gray-400 hover:text-white">Support</a></li>
161
+ </ul>
162
+ </div>
163
+ <div>
164
+ <h4 class="text-lg font-semibold mb-4">Connect</h4>
165
+ <div class="flex space-x-4">
166
+ <a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
167
+ <a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ <div class="max-w-7xl mx-auto mt-12 pt-6 border-t border-gray-700 text-center text-gray-400">
172
+ <p>&copy; 2023 FreeDomainFinder. All rights reserved.</p>
173
+ </div>
174
+ </footer>
175
+ </div>
176
+
177
+ <script>
178
+ let singingAnimation;
179
+
180
+ function startSinging() {
181
+ const mouth = document.getElementById('mouth');
182
+ const baby = document.getElementById('baby');
183
+
184
+ // Reset any existing animations
185
+ gsap.killTweensOf(mouth);
186
+ gsap.killTweensOf(baby);
187
+
188
+ // Singing mouth animation
189
+ singingAnimation = gsap.to(mouth, {
190
+ duration: 0.2,
191
+ height: 10,
192
+ borderBottom: "4px solid #000",
193
+ borderRadius: "50% 50% 50% 50% / 60% 60% 40% 40%",
194
+ repeat: -1,
195
+ yoyo: true,
196
+ ease: "power1.inOut"
197
+ });
198
+
199
+ // Head bobbing animation
200
+ gsap.to(baby, {
201
+ duration: 0.5,
202
+ y: "-=10",
203
+ repeat: -1,
204
+ yoyo: true,
205
+ ease: "sine.inOut"
206
+ });
207
+ }
208
+
209
+ function stopSinging() {
210
+ const mouth = document.getElementById('mouth');
211
+ const baby = document.getElementById('baby');
212
+
213
+ gsap.killTweensOf(mouth);
214
+ gsap.killTweensOf(baby);
215
+
216
+ // Reset to initial state
217
+ gsap.to(mouth, {
218
+ duration: 0.3,
219
+ height: 30,
220
+ borderBottom: "4px solid #000",
221
+ borderRadius: "0 0 50% 50%"
222
+ });
223
+
224
+ gsap.to(baby, {
225
+ duration: 0.3,
226
+ y: 0
227
+ });
228
+ }
229
+
230
+ feather.replace();
231
+ </script>
232
+ </body>
233
+ </html>
index.html CHANGED
@@ -33,7 +33,7 @@
33
  <div class="flex items-center space-x-4">
34
  <a href="index.html" class="text-gray-600 hover:text-purple-600">Home</a>
35
  <a href="dropshipping.html" class="text-gray-600 hover:text-purple-600">Dropshipping</a>
36
- <a href="#" class="text-gray-600 hover:text-purple-600">Domains</a>
37
  <a href="#" class="text-gray-600 hover:text-purple-600">FAQs</a>
38
  <button class="bg-purple-600 text-white px-4 py-2 rounded-md hover:bg-purple-700 transition">
39
  Sign In
@@ -159,9 +159,9 @@
159
  <ul class="space-y-2">
160
  <li><a href="index.html" class="text-gray-400 hover:text-white">Home</a></li>
161
  <li><a href="dropshipping.html" class="text-gray-400 hover:text-white">Dropshipping</a></li>
162
- <li><a href="#" class="text-gray-400 hover:text-white">Domains</a></li>
163
  <li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li>
164
- </ul>
165
  </div>
166
  <div>
167
  <h4 class="text-lg font-semibold mb-4">Resources</h4>
 
33
  <div class="flex items-center space-x-4">
34
  <a href="index.html" class="text-gray-600 hover:text-purple-600">Home</a>
35
  <a href="dropshipping.html" class="text-gray-600 hover:text-purple-600">Dropshipping</a>
36
+ <a href="animations.html" class="text-gray-600 hover:text-purple-600">Animations</a>
37
  <a href="#" class="text-gray-600 hover:text-purple-600">FAQs</a>
38
  <button class="bg-purple-600 text-white px-4 py-2 rounded-md hover:bg-purple-700 transition">
39
  Sign In
 
159
  <ul class="space-y-2">
160
  <li><a href="index.html" class="text-gray-400 hover:text-white">Home</a></li>
161
  <li><a href="dropshipping.html" class="text-gray-400 hover:text-white">Dropshipping</a></li>
162
+ <li><a href="animations.html" class="text-gray-400 hover:text-white">Animations</a></li>
163
  <li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li>
164
+ </ul>
165
  </div>
166
  <div>
167
  <h4 class="text-lg font-semibold mb-4">Resources</h4>