This tutorial shows how to create a responsive, scroll-based animation using GSAP ScrollTrigger and a particle background effect with Particles.js. You'll learn how to animate text and images dynamically with GSAP timelines while ensuring the animation adapts smoothly to different screen sizes. This project features smooth scrolling effects, dynamic text and image transitions, and an interactive particle background.
This project includes:
HTML, CSS, JavaScript for structure and styling
GSAP ScrollTrigger for smooth scrolling animations
Particles JS for an interactive particle background
📂 Resources:
1) GSAP Installation: https://gsap.com/docs/v3/Installation/
2) GSAP - Avoiding "flash of unstyled content": https://gsap.com/resources/fouc/
3) Particles.js GitHub Repository: https://github.com/VincentGarreau/par...
⭐Lists:
GSAP: • GSAP
Swiper JS: • Swiper JS
Slider with Vanilla Javascript & CSS: • Slider with Vanilla Javascript & CSS
Background Animation: • Background Animation
CSS Hover Effect: • CSS Hover Effect
👩💻 My Social Profiles:
X: https://x.com/ecemgo
Codepen: https://codepen.io/ecemgo
GitHub: https://github.com/ecemgo
TikTok: / ecemgo
🕔 Timestamps:
0:00 – Introduction
0:41 – HTML
1:17 – CSS
4:02 – GSAP: ScrollTrigger Animations
6:48 – Fixing Flickering with Visibility
7:24 – Responsive Design: Functions and Media Queries
8:56 – Adding Background Animation with Particles.js