-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
26 lines (24 loc) · 876 Bytes
/
main.js
File metadata and controls
26 lines (24 loc) · 876 Bytes
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
/*
My Personal Website Scripts
Handles the typing animation and any interactive elements.
*/
// Initialize Typed.js for the Hero Section
// I want to cycle through my core professional identities.
var typed = new Typed(".var-text", {
strings: [
"Machine Learning Researcher.",
"Data Analyst.",
"High Performance Computing Engineer.",
"Problem Solver.",
"Computational Astrophysicist."
],
typeSpeed: 60, // How fast I type
backSpeed: 40, // How fast I delete
backDelay: 1500, // Pause before deleting
loop: true // Keep it going
});
/* Future TODO:
- Add ScrollReveal for fading in elements.
- Add a particle.js background for the hero section (maybe stars?).
*/
console.log("Welcome to the console. If you are looking here, you probably want to hire me. Email me!");