-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
420 lines (376 loc) · 17.1 KB
/
index.html
File metadata and controls
420 lines (376 loc) · 17.1 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Anant Khanna</title>
<link rel="stylesheet" href="style.css" />
<!-- AOS CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" />
<script src="https://kit.fontawesome.com/1567ed3ac1.js" crossorigin="anonymous"></script>
<link rel="icon" href="images/icon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
</head>
<body>
<!-- Scroll Progress Bar -->
<div class="scroll-progress"></div>
<!-- Floating Particles (visible everywhere) -->
<canvas id="particleCanvas"></canvas>
<!-- Sticky Navigation -->
<nav>
<div class="container">
<img src="images/logo.png" class="logo" alt="Logo" />
<button class="hamburger" aria-label="Toggle menu">
<span></span>
<span></span>
<span></span>
</button>
<ul>
<li><a href="#header">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#portfolio">Projects</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<button id="theme-toggle" class="theme-toggle">
<i class="fas fa-moon"></i>
</button>
</div>
</nav>
<!-- Header Section -->
<div id="header" data-aos="fade-in" data-aos-duration="1000">
<div class="container">
<div class="header-text" data-aos="zoom-in" data-aos-duration="1500">
<p>Computer Engineer</p>
<h1>Hi, I'm <span>Anant</span></h1>
</div>
</div>
</div>
<!-- About Section -->
<div id="about">
<div class="container" data-aos="fade-up" data-aos-duration="1200">
<div class="row">
<div class="about-col-1" data-aos="fade-right" data-aos-duration="1200">
<img src="images/pfp.jpg" alt="Anant Khanna" />
</div>
<div class="about-col-2" data-aos="fade-left" data-aos-duration="1200">
<h1 class="sub-title">About me</h1>
<p class="description">
I'm a computer engineering student at UBC with a passion for AI/ML and low-level system design.
I have hands-on experience in machine learning, robotics, and software development and have worked
on projects ranging from optimizing AI models for autonomous object detection to designing IoT-based
noise monitoring systems. I have also gained industry experience through internships and leadership
roles in programming education.
</p>
<div class="tab-titles">
<p class="tab-links active-link" onclick="opentab('skills')">Skills</p>
<p class="tab-links" onclick="opentab('experience')">Experience</p>
<p class="tab-links" onclick="opentab('education')">Education</p>
<p class="tab-links" onclick="opentab('resume')">Resume</p>
</div>
<div class="tab-contents active-tab" id="skills">
<ul>
<li><span>Languages</span> <br> Python, C, C#, C++, SQL, Java, JavaScript</li>
<li><span>Frameworks & Tools</span> <br> Linux, HTML, CSS, TensorFlow, YOLO, Ultralytics, MySQL, Unity, Git</li>
<li><span>Areas</span> <br> Machine Learning, Embedded Systems, Web Development</li>
</ul>
</div>
<div class="tab-contents" id="experience">
<ul>
<li><span>AI/ML Software Developer</span> <br> UBC UAS</li>
<li><span>Engineering Technician Intern</span> <br> Zoom Engineering Ltd.</li>
<li><span>Programming Tutor - President</span> <br> (Tutoring & Competition Prep)</li>
</ul>
</div>
<div class="tab-contents" id="education">
<ul>
<li><span>University of British Columbia</span> <br> BASc in Engineering, Expected 2028</li>
<li><span>Fleetwood Park Secondary School</span> <br> GPA: 4.33/4.33</li>
</ul>
</div>
<div class="tab-contents" id="resume">
<a href="Anant_Khanna_Resume.pdf" target="_blank" class="resume-button">Download Resume (PDF)</a>
</div>
</div>
</div>
</div>
</div>
<!-- Portfolio Section -->
<div id="portfolio">
<div class="container" data-aos="fade-up" data-aos-duration="1200">
<h1 class="sub-title" data-aos="zoom-in" data-aos-duration="1000">Projects</h1>
<div class="project-list">
<div class="project" data-aos="flip-left" data-aos-duration="1200" onclick="openModal('project6')">
<div class="image-container">
<img src="images/fpga_mac.png" alt="FPGA Neural MAC Accelerator" />
</div>
<figcaption>FPGA Neural MAC Accelerator</figcaption>
</div>
<div class="project" data-aos="flip-left" data-aos-duration="1200" onclick="openModal('project5')">
<div class="image-container">
<img src="images/aether.png" alt="AetherShell Terminal Assistant">
</div>
<figcaption>AetherShell (AI Terminal Assistant)</figcaption>
</div>
<div class="project" data-aos="flip-left" data-aos-duration="1200" onclick="openModal('project4')">
<div class="image-container">
<img src="images/work-1.png" alt="AI Noise Source Prediction">
</div>
<figcaption>AI Noise Source Prediction</figcaption>
</div>
<div class="project" data-aos="flip-left" data-aos-offset="-100" data-aos-duration="1200" onclick="openModal('project3')">
<div class="image-container">
<img src="images/work-2.png" alt="Claw Machine"/>
</div>
<figcaption>Claw Machine</figcaption>
</div>
<div class="project" data-aos="flip-left" data-aos-offset="-100" data-aos-duration="1200" onclick="openModal('project2')">
<div class="image-container">
<img src="images/work-3.png" alt="Bluetooth Tracking Robot" />
</div>
<figcaption>Bluetooth Tracking Robot</figcaption>
</div>
<div class="project" data-aos="flip-left" data-aos-offset="-100" data-aos-duration="1200" onclick="openModal('project1')">
<div class="image-container">
<img src="images/game_dev.png" alt="Game Development Projects" />
</div>
<figcaption>Game Development: Cell Fusion & Blink</figcaption>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div id="project-modal" class="modal">
<div class="modal-content" data-aos="zoom-in" data-aos-duration="1000">
<span class="close" onclick="closeModal()">×</span>
<div id="modal-text"></div>
</div>
</div>
<!-- Contact Section -->
<div id="contact" data-aos="fade-up" data-aos-duration="1200">
<div class="container">
<h1 class="contact-text" data-aos="fade-right" data-aos-duration="1000">Contact Me</h1>
<div class="social-icons">
<a href="https://www.linkedin.com/in/itsanantk/" target="_blank">
<i class="fa-brands fa-linkedin"></i>
</a>
<a href="mailto:itsanantk@gmail.com" class="email-text">
<i class="fa-solid fa-envelope"></i>
</a>
</div>
</div>
</div>
<!-- Copyright -->
<div class="copyright">
<p>Copyright © 2025 Anant Khanna. All Rights Reserved. Coded by Anant Khanna using HTML, CSS, and JavaScript.</p>
</div>
<!-- Scroll to Top Button -->
<button id="scrollToTop" class="scroll-to-top">
<i class="fas fa-arrow-up"></i>
</button>
<!-- Scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
<script>
// Initialize AOS
AOS.init();
// Tab functionality
var tablinks = document.getElementsByClassName("tab-links");
var tabcontents = document.getElementsByClassName("tab-contents");
function opentab(tabname) {
for (var tablink of tablinks) {
tablink.classList.remove("active-link");
}
for (var tabcontent of tabcontents) {
tabcontent.classList.remove("active-tab");
}
event.currentTarget.classList.add("active-link");
document.getElementById(tabname).classList.add("active-tab");
}
const hamburger = document.querySelector('.hamburger');
const navLinks = document.querySelector('nav ul');
hamburger.addEventListener('click', () => {
navLinks.classList.toggle('active');
});
// set --vh to 1% of the *actual* viewport height
function updateVh() {
document.documentElement.style.setProperty('--vh', `${window.innerHeight * 0.01}px`);
}
window.addEventListener('resize', updateVh);
updateVh();
// Modal functionality for projects
function openModal(projectId) {
const modal = document.getElementById("project-modal");
const modalText = document.getElementById("modal-text");
if (projectId === "project5") {
modalText.innerHTML = `<h2>AetherShell – AI Terminal Assistant</h2>
<p>AetherShell is an AI-powered terminal assistant built with Python and OpenAI’s API. It processes natural language commands and seamlessly integrates with the command line, creating a conversational experience for developers.</p>
<ul>
<li>Natural language understanding for shell/terminal tasks</li>
<li>Context chaining and memory between commands</li>
<li>Self-healing logic and smart path validation</li>
<li>Real-time streaming output and error handling</li>
<li>Supports interactive and non-interactive terminal environments</li>
</ul>
<p>Designed for productivity, AetherShell bridges AI capabilities with CLI workflows.</p>
<p><a href="https://github.com/itsanantk/aethershell" target="_blank">View on GitHub</a></p>`;
}
else if (projectId === "project4") {
modalText.innerHTML = `<h2>AI Noise Source Prediction and Forecast</h2>
<p>This IoT project uses Raspberry Pi Zero 2 W and TensorFlow's YAMNet model to monitor and classify noise across campus in real-time.</p>
<p>Helps identify noise hotspots and patterns to inform campus planning.</p>
<ul>
<li>Collected live audio streams and extracted embeddings</li>
<li>Used YAMNet to classify noise types (e.g., traffic, construction, voices)</li>
<li>Developing a Flask backend for live web visualization (in progress)</li>
</ul>
<p>Helps identify noise hotspots and patterns to inform campus planning.</p>`;
}
else if (projectId === "project3") {
modalText.innerHTML = `<h2>Claw Machine</h2>
<p>Built a semi-autonomous robotic claw system using Arduino and servo motors.</p>
<ul>
<li>Programmed motion control for accurate pickup of various object shapes</li>
<li>Implemented a logical timing system for a fast paced competition setting</li>
<li>Created physical casing and wiring system for long-term durability</li>
</ul>
<img src="images/claw_project_sketch.jpg" alt="Claw Project Sketch" style="width:100%; max-width:600px; margin-top:20px;">`;
}
else if (projectId === "project2") {
modalText.innerHTML = `<h2>Bluetooth Tracking Robot</h2>
<p>Created a mobile robot that follows a Bluetooth device using RSSI values, built on Raspberry Pi.</p>
<ul>
<li>Integrated Sphinx voice recognition to activate robot functions</li>
<li>Connected to target a Bluetooth device and monitored RSSI signal strength</li>
<li>Designed a smoothing algorithm to reduce signal noise and improve accuracy</li>
<li>Achieved 25% increase in tracking reliability over baseline implementation</li>
</ul>`;
}
else if (projectId === "project1") {
modalText.innerHTML = `<h2>Game Development Projects</h2>
<p>Built two complete games for game jams using Unity and C#.</p>
<ul>
<li><a href="https://antgenix.itch.io/cell-fusion" target="_blank">Cell Fusion</a> – A puzzle-strategy game about fusing cells. Placed 5th out of 81 entries</li>
<li><a href="https://kasmeltz.itch.io/blink" target="_blank">Blink</a> – A narrative platformer with a time-blink mechanic. Placed 4th out of 86 entries</li>
<li>Worked under strict time limits to deliver polished, playable games</li>
</ul>`;
}
else if (projectId === "project6") {
modalText.innerHTML = `<h2>FPGA Neural MAC Accelerator</h2>
<p>A hardware accelerator for neural network inference implemented on the DE1-SoC FPGA.</p>
<ul>
<li>Designed and implemented a single-layer neural network MAC unit in Verilog</li>
<li>Developed a memory-mapped C++ interface on ARM HPS to stream input, weight, and bias data</li>
<li>Enabled real-time inference by integrating software–hardware communication on embedded Linux</li>
<li>Built foundational accelerator architecture mirroring dense layers in commercial AI SoCs</li>
</ul>
`;
}
modal.style.display = "block";
}
function closeModal() {
document.getElementById("project-modal").style.display = "none";
}
window.onclick = function(event) {
const modal = document.getElementById("project-modal");
if (event.target == modal) {
modal.style.display = "none";
}
};
// Floating Particles Background
const canvas = document.getElementById("particleCanvas");
const ctx = canvas.getContext("2d");
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
let particles = [];
class Particle {
constructor(x, y, size, color, speedX, speedY) {
this.x = x;
this.y = y;
this.size = size;
this.color = color;
this.speedX = speedX;
this.speedY = speedY;
}
draw() {
ctx.beginPath();
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
ctx.fillStyle = this.color;
ctx.fill();
}
update() {
this.x += this.speedX;
this.y += this.speedY;
if (this.x > canvas.width || this.x < 0) this.speedX *= -1;
if (this.y > canvas.height || this.y < 0) this.speedY *= -1;
}
}
function createParticles() {
particles = [];
for (let i = 0; i < 50; i++) {
let size = Math.random() * 5 + 2;
let x = Math.random() * canvas.width;
let y = Math.random() * canvas.height;
let speedX = (Math.random() - 0.5) * 1;
let speedY = (Math.random() - 0.5) * 1;
let color = particleColors[Math.floor(Math.random() * particleColors.length)];
particles.push(new Particle(x, y, size, color, speedX, speedY));
}
}
// Define an array with the desired muted colors
const particleColors = [
'rgba(34, 46, 80, 0.5)',
'rgba(0, 121, 145, 0.5)',
'rgba(67, 154, 134, 0.5)',
'rgba(188, 216, 193, 0.5)',
'rgba(233, 217, 133, 0.5)'
];
function animateParticles() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
for (let particle of particles) {
particle.update();
particle.draw();
}
requestAnimationFrame(animateParticles);
}
createParticles();
animateParticles();
// Scroll Progress Bar
window.addEventListener('scroll', () => {
const scrollProgress = document.querySelector('.scroll-progress');
const scrollPercent = (window.scrollY / (document.documentElement.scrollHeight - window.innerHeight)) * 100;
scrollProgress.style.width = `${scrollPercent}%`;
// Show/hide scroll to top button
const scrollToTopBtn = document.getElementById('scrollToTop');
if (window.scrollY > 300) {
scrollToTopBtn.style.display = 'block';
} else {
scrollToTopBtn.style.display = 'none';
}
});
// Scroll to Top Button Click Handler
document.getElementById('scrollToTop').addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Dark Mode Toggle
const themeToggle = document.getElementById('theme-toggle');
const icon = themeToggle.querySelector('i');
// Check for saved theme preference
const savedTheme = localStorage.getItem('theme');
if (savedTheme) {
document.documentElement.setAttribute('data-theme', savedTheme);
icon.className = savedTheme === 'light' ? 'fas fa-sun' : 'fas fa-moon';
}
themeToggle.addEventListener('click', () => {
const currentTheme = document.documentElement.getAttribute('data-theme');
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
document.documentElement.setAttribute('data-theme', newTheme);
localStorage.setItem('theme', newTheme);
// Update icon
icon.className = newTheme === 'light' ? 'fas fa-sun' : 'fas fa-moon';
});
</script>
</body>
</html>