Spaces:
Running
Running
Luigi
commited on
Create aicourse.html
Browse files- aicourse.html +397 -0
aicourse.html
ADDED
@@ -0,0 +1,397 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!doctype html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<title>How to Make Money with AI: The Ultimate Guide (2025)</title>
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
+
|
8 |
+
<!-- Reveal.js CSS from CDN -->
|
9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.4.0/reveal.min.css">
|
10 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.4.0/theme/black.min.css">
|
11 |
+
|
12 |
+
<!-- Font Awesome for icons -->
|
13 |
+
<link
|
14 |
+
rel="stylesheet"
|
15 |
+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"
|
16 |
+
integrity="sha512-xh6l8Y1myyRAUNVMd2D0d05TAZYcIDY3WSS7G7N5xOWShy6kZkGwl6h5B9QoBi8mZ5pSRn92JRvRiE7R9RQ29Q=="
|
17 |
+
crossorigin="anonymous"
|
18 |
+
referrerpolicy="no-referrer"
|
19 |
+
/>
|
20 |
+
|
21 |
+
<style>
|
22 |
+
/* Full-screen canvas for the animated background */
|
23 |
+
canvas#canvas-bg {
|
24 |
+
position: fixed;
|
25 |
+
top: 0;
|
26 |
+
left: 0;
|
27 |
+
width: 100%;
|
28 |
+
height: 100%;
|
29 |
+
z-index: -1;
|
30 |
+
}
|
31 |
+
/* Base styling for slides */
|
32 |
+
.reveal section {
|
33 |
+
padding: 2em;
|
34 |
+
font-size: 1.1em;
|
35 |
+
}
|
36 |
+
/* Some highlights, quotes, etc. */
|
37 |
+
.highlight {
|
38 |
+
color: #0cf;
|
39 |
+
font-weight: bold;
|
40 |
+
}
|
41 |
+
.quote {
|
42 |
+
font-style: italic;
|
43 |
+
font-size: 1.2em;
|
44 |
+
}
|
45 |
+
</style>
|
46 |
+
</head>
|
47 |
+
<body>
|
48 |
+
|
49 |
+
<!-- Canvas for animated background -->
|
50 |
+
<canvas id="canvas-bg"></canvas>
|
51 |
+
|
52 |
+
<!-- Optional background music (replace src with your preferred track) -->
|
53 |
+
<audio id="bg-music" loop autoplay>
|
54 |
+
<source src="https://cdn.jsdelivr.net/gh/your_username/your_repo/sample-music.mp3" type="audio/mpeg">
|
55 |
+
Your browser does not support the audio element.
|
56 |
+
</audio>
|
57 |
+
|
58 |
+
<div class="reveal">
|
59 |
+
<div class="slides">
|
60 |
+
|
61 |
+
<!-- SLIDE 1: Title / Cover -->
|
62 |
+
<section data-transition="fade"
|
63 |
+
data-background-image="https://source.unsplash.com/1600x900/?technology,ai">
|
64 |
+
<h1>How to Make Money with AI: The Ultimate Guide (2025)</h1>
|
65 |
+
<h3><i class="fa-solid fa-graduation-cap"></i> Educational Course / Tutorial</h3>
|
66 |
+
</section>
|
67 |
+
|
68 |
+
<!-- SLIDE 2: Introduction (Hook) -->
|
69 |
+
<section data-transition="slide"
|
70 |
+
data-background-image="https://source.unsplash.com/1600x900/?future,innovation">
|
71 |
+
<h2>Introduction</h2>
|
72 |
+
<p><strong>Hook:</strong> AI is changing the world鈥攁nd <em>it can change your bank account too!</em></p>
|
73 |
+
</section>
|
74 |
+
|
75 |
+
<!-- SLIDE 3: Introduction (Who Is This For?) -->
|
76 |
+
<section data-transition="convex"
|
77 |
+
data-background-image="https://source.unsplash.com/1600x900/?entrepreneur,freelancer">
|
78 |
+
<h2>Who Is This For?</h2>
|
79 |
+
<ul>
|
80 |
+
<li><i class="fa-solid fa-user-tie"></i> Freelancers</li>
|
81 |
+
<li><i class="fa-solid fa-shop"></i> Entrepreneurs</li>
|
82 |
+
<li><i class="fa-solid fa-pen"></i> Content Creators</li>
|
83 |
+
<li><i class="fa-solid fa-building"></i> Business Owners</li>
|
84 |
+
</ul>
|
85 |
+
</section>
|
86 |
+
|
87 |
+
<!-- SLIDE 4: Introduction (Teaser) -->
|
88 |
+
<section data-transition="concave"
|
89 |
+
data-background-image="https://source.unsplash.com/1600x900/?automation,digital">
|
90 |
+
<h2>What to Expect</h2>
|
91 |
+
<p>Passive Income, Freelancing, AI Tools, Automation.</p>
|
92 |
+
<p>Fast-paced clips of AI projects and success stories!</p>
|
93 |
+
</section>
|
94 |
+
|
95 |
+
<!-- SLIDE 5: Introduction (Quick Shots) -->
|
96 |
+
<section data-transition="zoom"
|
97 |
+
data-background-image="https://source.unsplash.com/1600x900/?robotics,success">
|
98 |
+
<h2>Get Ready...</h2>
|
99 |
+
<p>Your AI-powered journey to new income streams starts now!</p>
|
100 |
+
</section>
|
101 |
+
|
102 |
+
<!-- SLIDE 6: The Power of AI (Opportunities) -->
|
103 |
+
<section data-transition="slide"
|
104 |
+
data-background-image="https://source.unsplash.com/1600x900/?opportunities,tech">
|
105 |
+
<h2>The Power of AI</h2>
|
106 |
+
<p>Discover how <em>AI</em> is unlocking <strong>massive potential</strong> in every industry.</p>
|
107 |
+
</section>
|
108 |
+
|
109 |
+
<!-- SLIDE 7: The Power of AI (Explosive Growth) -->
|
110 |
+
<section data-transition="fade"
|
111 |
+
data-background-image="https://source.unsplash.com/1600x900/?growth,chart">
|
112 |
+
<h2>Explosive Growth</h2>
|
113 |
+
<p>AI-driven businesses are growing 300% faster than traditional enterprises.</p>
|
114 |
+
</section>
|
115 |
+
|
116 |
+
<!-- SLIDE 8: The Power of AI (Stats & Infographics) -->
|
117 |
+
<section data-transition="convex"
|
118 |
+
data-background-image="https://source.unsplash.com/1600x900/?infographic,ai">
|
119 |
+
<h2>Market Trends</h2>
|
120 |
+
<p>Animated infographics show exponential growth in AI applications worldwide.</p>
|
121 |
+
</section>
|
122 |
+
|
123 |
+
<!-- SLIDE 9: The Power of AI (Benefits) -->
|
124 |
+
<section data-transition="concave"
|
125 |
+
data-background-image="https://source.unsplash.com/1600x900/?benefits,technology">
|
126 |
+
<h2>Why Embrace AI?</h2>
|
127 |
+
<p>Boost efficiency, scale operations, and unlock new revenue streams.</p>
|
128 |
+
</section>
|
129 |
+
|
130 |
+
<!-- SLIDE 10: Top Ways (Overview) -->
|
131 |
+
<section data-transition="zoom"
|
132 |
+
data-background-image="https://source.unsplash.com/1600x900/?money,finance">
|
133 |
+
<h2>Top Ways to Make Money with AI</h2>
|
134 |
+
<ul>
|
135 |
+
<li>AI Content Creation</li>
|
136 |
+
<li>AI Video Creation & Editing</li>
|
137 |
+
<li>AI Voice Cloning & Audiobooks</li>
|
138 |
+
<li>AI Automation & No-Code Development</li>
|
139 |
+
<li>AI-Generated Art & Designs</li>
|
140 |
+
<li>AI-Powered Chatbots</li>
|
141 |
+
</ul>
|
142 |
+
</section>
|
143 |
+
|
144 |
+
<!-- SLIDE 11: AI Content Creation -->
|
145 |
+
<section data-transition="slide"
|
146 |
+
data-background-image="https://source.unsplash.com/1600x900/?content,writing">
|
147 |
+
<h2>AI Content Creation</h2>
|
148 |
+
<p>Use tools like <strong>ChatGPT</strong>, <strong>Jasper</strong>, <strong>Writesonic</strong> to generate blogs and social media posts.</p>
|
149 |
+
<p>Sell AI-written content on Fiverr, Upwork, Gumroad.</p>
|
150 |
+
</section>
|
151 |
+
|
152 |
+
<!-- SLIDE 12: AI Content Demo -->
|
153 |
+
<section data-transition="fade"
|
154 |
+
data-background-image="https://source.unsplash.com/1600x900/?blog,typing">
|
155 |
+
<h2>Live Writing Demo</h2>
|
156 |
+
<p>Watch as AI crafts a full blog post in minutes!</p>
|
157 |
+
</section>
|
158 |
+
|
159 |
+
<!-- SLIDE 13: AI Video Creation -->
|
160 |
+
<section data-transition="convex"
|
161 |
+
data-background-image="https://source.unsplash.com/1600x900/?video,editing">
|
162 |
+
<h2>AI Video Creation & Editing</h2>
|
163 |
+
<p>InVideo, Pictory, and Runway AI simplify pro-level editing鈥攏o experience required!</p>
|
164 |
+
</section>
|
165 |
+
|
166 |
+
<!-- SLIDE 14: AI Video Demo -->
|
167 |
+
<section data-transition="concave"
|
168 |
+
data-background-image="https://source.unsplash.com/1600x900/?video,screen">
|
169 |
+
<h2>Automated Video Production</h2>
|
170 |
+
<p>See how AI can auto-generate scripts, visuals, and transitions for YouTube channels or ads.</p>
|
171 |
+
</section>
|
172 |
+
|
173 |
+
<!-- SLIDE 15: AI Voice Cloning -->
|
174 |
+
<section data-transition="zoom"
|
175 |
+
data-background-image="https://source.unsplash.com/1600x900/?voice,microphone">
|
176 |
+
<h2>AI Voice Cloning & Audiobooks</h2>
|
177 |
+
<p>Tools like <strong>ElevenLabs</strong> or <strong>Coqui AI</strong> create realistic voiceovers.</p>
|
178 |
+
<p>Sell narrations, audiobooks, or commercial voiceovers.</p>
|
179 |
+
</section>
|
180 |
+
|
181 |
+
<!-- SLIDE 16: AI Voice Demo -->
|
182 |
+
<section data-transition="slide"
|
183 |
+
data-background-image="https://source.unsplash.com/1600x900/?audiobook,voice">
|
184 |
+
<h2>Voice Cloning Demo</h2>
|
185 |
+
<p>Listen as AI transforms text into a natural-sounding voice.</p>
|
186 |
+
</section>
|
187 |
+
|
188 |
+
<!-- SLIDE 17: AI Automation (No-Code) -->
|
189 |
+
<section data-transition="fade"
|
190 |
+
data-background-image="https://source.unsplash.com/1600x900/?automation,code">
|
191 |
+
<h2>AI Automation & No-Code Development</h2>
|
192 |
+
<p>Platforms like Zapier, Make, and AutoGPT let you build complex workflows with ease.</p>
|
193 |
+
<p>Offer services to businesses to streamline tasks and operations.</p>
|
194 |
+
</section>
|
195 |
+
|
196 |
+
<!-- SLIDE 18: Automation Demo -->
|
197 |
+
<section data-transition="convex"
|
198 |
+
data-background-image="https://source.unsplash.com/1600x900/?email,automation">
|
199 |
+
<h2>AI-Driven Email Automation</h2>
|
200 |
+
<p>Step-by-step tutorial on setting up an AI-based workflow to handle customer inquiries.</p>
|
201 |
+
</section>
|
202 |
+
|
203 |
+
<!-- SLIDE 19: AI-Generated Art & Designs -->
|
204 |
+
<section data-transition="concave"
|
205 |
+
data-background-image="https://source.unsplash.com/1600x900/?art,creation">
|
206 |
+
<h2>AI-Generated Art & Designs</h2>
|
207 |
+
<p>Use Midjourney, DALL路E, Stable Diffusion to create stunning visuals.</p>
|
208 |
+
<p>Sell prints, NFTs, or custom designs on Etsy and Redbubble.</p>
|
209 |
+
</section>
|
210 |
+
|
211 |
+
<!-- SLIDE 20: Art Demo -->
|
212 |
+
<section data-transition="zoom"
|
213 |
+
data-background-image="https://source.unsplash.com/1600x900/?creative,drawing">
|
214 |
+
<h2>Art Creation Demo</h2>
|
215 |
+
<p>Watch AI generate unique artwork for merchandise in real time.</p>
|
216 |
+
</section>
|
217 |
+
|
218 |
+
<!-- SLIDE 21: AI-Powered Chatbots -->
|
219 |
+
<section data-transition="slide"
|
220 |
+
data-background-image="https://source.unsplash.com/1600x900/?chatbot,customer">
|
221 |
+
<h2>AI-Powered Chatbots</h2>
|
222 |
+
<p>ChatGPT, BotPress, ManyChat鈥攁utomate customer support to save time & costs.</p>
|
223 |
+
</section>
|
224 |
+
|
225 |
+
<!-- SLIDE 22: Chatbot Demo -->
|
226 |
+
<section data-transition="fade"
|
227 |
+
data-background-image="https://source.unsplash.com/1600x900/?chatting,robot">
|
228 |
+
<h2>Chatbot in Action</h2>
|
229 |
+
<p>Explore a chatbot seamlessly handling FAQs and product inquiries.</p>
|
230 |
+
</section>
|
231 |
+
|
232 |
+
<!-- SLIDE 23: Real Examples (Success Stories) -->
|
233 |
+
<section data-transition="convex"
|
234 |
+
data-background-image="https://source.unsplash.com/1600x900/?success,people">
|
235 |
+
<h2>Real Examples</h2>
|
236 |
+
<p>Entrepreneurs and freelancers share how AI boosted their earnings dramatically.</p>
|
237 |
+
</section>
|
238 |
+
|
239 |
+
<!-- SLIDE 24: Case Study 1 -->
|
240 |
+
<section data-transition="concave"
|
241 |
+
data-background-image="https://source.unsplash.com/1600x900/?woman,success">
|
242 |
+
<h2>Case Study: Jane</h2>
|
243 |
+
<p>How a freelance writer scaled her income 3X with AI content generation.</p>
|
244 |
+
</section>
|
245 |
+
|
246 |
+
<!-- SLIDE 25: Case Study 2 -->
|
247 |
+
<section data-transition="zoom"
|
248 |
+
data-background-image="https://source.unsplash.com/1600x900/?man,achievement">
|
249 |
+
<h2>Case Study: John</h2>
|
250 |
+
<p>John鈥檚 small startup embraced AI for automation, skyrocketing productivity and revenue.</p>
|
251 |
+
</section>
|
252 |
+
|
253 |
+
<!-- SLIDE 26: Tools & Platforms (Overview) -->
|
254 |
+
<section data-transition="slide"
|
255 |
+
data-background-image="https://source.unsplash.com/1600x900/?tools,tech">
|
256 |
+
<h2>Tools & Platforms You Need</h2>
|
257 |
+
<ul>
|
258 |
+
<li><i class="fa-solid fa-pen"></i> Writing: ChatGPT, Jasper, Writesonic</li>
|
259 |
+
<li><i class="fa-solid fa-video"></i> Video: InVideo, Pictory, Runway AI</li>
|
260 |
+
<li><i class="fa-solid fa-microphone"></i> Voice: ElevenLabs, Coqui AI</li>
|
261 |
+
<li><i class="fa-solid fa-robot"></i> Automation: Zapier, Make, AutoGPT</li>
|
262 |
+
<li><i class="fa-solid fa-palette"></i> Art: Midjourney, DALL路E, Stable Diffusion</li>
|
263 |
+
<li><i class="fa-solid fa-comments"></i> Chatbots: ChatGPT, BotPress, ManyChat</li>
|
264 |
+
</ul>
|
265 |
+
</section>
|
266 |
+
|
267 |
+
<!-- SLIDE 27: Tools & Platforms (Pricing) -->
|
268 |
+
<section data-transition="fade"
|
269 |
+
data-background-image="https://source.unsplash.com/1600x900/?pricing,comparison">
|
270 |
+
<h2>Pricing & Comparisons</h2>
|
271 |
+
<p>Free vs. paid plans鈥攑ick the right tools based on your budget and goals.</p>
|
272 |
+
</section>
|
273 |
+
|
274 |
+
<!-- SLIDE 28: How to Start (Step 1) -->
|
275 |
+
<section data-transition="convex"
|
276 |
+
data-background-image="https://source.unsplash.com/1600x900/?start,launch">
|
277 |
+
<h2>How to Start Today</h2>
|
278 |
+
<p><strong>Step 1:</strong> Pick an AI money-making method (content, video, art, etc.).</p>
|
279 |
+
</section>
|
280 |
+
|
281 |
+
<!-- SLIDE 29: How to Start (Step 2) -->
|
282 |
+
<section data-transition="concave"
|
283 |
+
data-background-image="https://source.unsplash.com/1600x900/?learning,tech">
|
284 |
+
<h2>Hands-On Exploration</h2>
|
285 |
+
<p><strong>Step 2:</strong> Learn and experiment with AI tools鈥攖ry demos, small test projects.</p>
|
286 |
+
</section>
|
287 |
+
|
288 |
+
<!-- SLIDE 30: How to Start (Step 3) -->
|
289 |
+
<section data-transition="zoom"
|
290 |
+
data-background-image="https://source.unsplash.com/1600x900/?marketplace,freelance">
|
291 |
+
<h2>Monetize Your Skills</h2>
|
292 |
+
<p><strong>Step 3:</strong> Start selling or automating. Use marketplaces like Fiverr and Gumroad to earn.</p>
|
293 |
+
</section>
|
294 |
+
|
295 |
+
<!-- SLIDE 31: SEO & Discoverability -->
|
296 |
+
<section data-transition="slide"
|
297 |
+
data-background-image="https://source.unsplash.com/1600x900/?seo,search">
|
298 |
+
<h2>SEO & Discoverability</h2>
|
299 |
+
<ul>
|
300 |
+
<li>Optimize your listings with AI-driven keyword research</li>
|
301 |
+
<li>Add timestamps and relevant tags to all your content</li>
|
302 |
+
</ul>
|
303 |
+
</section>
|
304 |
+
|
305 |
+
<!-- SLIDE 32: Additional Tips -->
|
306 |
+
<section data-transition="fade"
|
307 |
+
data-background-image="https://source.unsplash.com/1600x900/?tips,ideas">
|
308 |
+
<h2>Extra Tips</h2>
|
309 |
+
<p>
|
310 |
+
<i class="fa-solid fa-lightbulb"></i> Keep learning new AI features.<br>
|
311 |
+
<i class="fa-solid fa-people-arrows-left-right"></i> Collaborate with others for joint ventures.
|
312 |
+
</p>
|
313 |
+
</section>
|
314 |
+
|
315 |
+
<!-- SLIDE 33: Overcoming Challenges -->
|
316 |
+
<section data-transition="convex"
|
317 |
+
data-background-image="https://source.unsplash.com/1600x900/?challenge,success">
|
318 |
+
<h2>Overcoming Challenges</h2>
|
319 |
+
<p>Embrace iteration. AI evolves quickly, so stay agile and adapt.</p>
|
320 |
+
</section>
|
321 |
+
|
322 |
+
<!-- SLIDE 34: Call to Action (Part 1) -->
|
323 |
+
<section data-transition="concave"
|
324 |
+
data-background-image="https://source.unsplash.com/1600x900/?action,success">
|
325 |
+
<h2>Take Action Now</h2>
|
326 |
+
<p>Nothing happens until you start鈥攑ick your first AI method today.</p>
|
327 |
+
</section>
|
328 |
+
|
329 |
+
<!-- SLIDE 35: Final Call to Action -->
|
330 |
+
<section data-transition="zoom"
|
331 |
+
data-background-image="https://source.unsplash.com/1600x900/?calltoaction,motivation">
|
332 |
+
<h2>Subscribe & Explore</h2>
|
333 |
+
<p class="highlight">Now that you know how to make money with AI, it鈥檚 time to <strong>act!</strong></p>
|
334 |
+
<p>Subscribe, like, and check out more resources for your AI-powered journey.</p>
|
335 |
+
</section>
|
336 |
+
|
337 |
+
</div>
|
338 |
+
</div>
|
339 |
+
|
340 |
+
<!-- Reveal.js from CDN -->
|
341 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/4.4.0/reveal.min.js"></script>
|
342 |
+
<script>
|
343 |
+
// Initialize Reveal.js with auto-play and looping
|
344 |
+
Reveal.initialize({
|
345 |
+
autoSlide: 5000, // 5 seconds per slide
|
346 |
+
loop: true,
|
347 |
+
transition: 'slide', // overall fallback transition
|
348 |
+
backgroundTransition: 'fade'
|
349 |
+
});
|
350 |
+
|
351 |
+
// Canvas animation: moving circles
|
352 |
+
const canvas = document.getElementById('canvas-bg');
|
353 |
+
const ctx = canvas.getContext('2d');
|
354 |
+
|
355 |
+
function resizeCanvas() {
|
356 |
+
canvas.width = window.innerWidth;
|
357 |
+
canvas.height = window.innerHeight;
|
358 |
+
}
|
359 |
+
window.addEventListener('resize', resizeCanvas);
|
360 |
+
resizeCanvas();
|
361 |
+
|
362 |
+
// Create random circles
|
363 |
+
const circles = [];
|
364 |
+
for (let i = 0; i < 60; i++) {
|
365 |
+
circles.push({
|
366 |
+
x: Math.random() * canvas.width,
|
367 |
+
y: Math.random() * canvas.height,
|
368 |
+
radius: Math.random() * 3 + 1,
|
369 |
+
dx: (Math.random() - 0.5) * 2,
|
370 |
+
dy: (Math.random() - 0.5) * 2,
|
371 |
+
color: 'rgba(0, 150, 255, 0.5)'
|
372 |
+
});
|
373 |
+
}
|
374 |
+
|
375 |
+
// Animate the circles
|
376 |
+
function animate() {
|
377 |
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
378 |
+
circles.forEach(circle => {
|
379 |
+
circle.x += circle.dx;
|
380 |
+
circle.y += circle.dy;
|
381 |
+
// bounce horizontally
|
382 |
+
if (circle.x < 0 || circle.x > canvas.width) circle.dx *= -1;
|
383 |
+
// bounce vertically
|
384 |
+
if (circle.y < 0 || circle.y > canvas.height) circle.dy *= -1;
|
385 |
+
// draw circle
|
386 |
+
ctx.beginPath();
|
387 |
+
ctx.arc(circle.x, circle.y, circle.radius, 0, Math.PI * 2);
|
388 |
+
ctx.fillStyle = circle.color;
|
389 |
+
ctx.fill();
|
390 |
+
});
|
391 |
+
requestAnimationFrame(animate);
|
392 |
+
}
|
393 |
+
animate();
|
394 |
+
</script>
|
395 |
+
|
396 |
+
</body>
|
397 |
+
</html>
|