Skip to content

RaunakOnGithub/capsules-website-remake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capsules® - Advanced Animation Website Remake

Live Site

This is a high-fidelity remake of the Capsules® website, built from scratch to explore and master advanced front-end animations. This project was a month-long labor of love, focusing on replicating complex scroll-based and interactive effects using the GSAP library.


📸 Screenshots

image.png image.png image.png image.png image.png


✨ Key Features & Animations

This project wasn't just about looks; it was a deep dive into animation logic. Here are some of the key features implemented:

  • Preloader: A custom logo and progress bar animation to start the experience.
  • Hero Text Reveal: Staggered character reveal on all main headings using SplitText.
  • Stacking Cards: A complex ScrollTrigger animation where cards stack, scale, and fade on scroll.
  • Horizontal Scroll: A sticky horizontal scroll section for the "Activities" slider, complete with parallax image effects.
  • Magnetic Button: A button that follows the cursor on hover (Page 5).
  • Dynamic Marquees: Text marquees that change direction based on the user's scroll direction.
  • Smooth Scrolling: Implemented with Lenis for a modern, fluid user experience.
  • Fully Responsive: A clean, responsive design that adapts to all screen sizes.

🛠️ Tech Stack

The animations and smooth scrolling are powered by a few key libraries:

  • GSAP (GreenSock Animation Platform): The core engine for all JavaScript animations.
  • ScrollTrigger: The GSAP plugin for creating all scroll-based animations.
  • Lenis: For that smooth, precise scrolling feel.
  • SplitText: The GSAP plugin used for the text reveal animations.
  • HTML5 & CSS3: For the structure and styling.

🏃‍♂️ How to Run Locally

This project uses no build tools, so you can run it easily.

  1. Clone the repository:
    git clone [https://github.com/RaunakOnGithub/your-repo-name.git](https://github.com/RaunakOnGithub/your-repo-name.git)
  2. Navigate to the project directory:
    cd your-repo-name
  3. Open the index.html file in your favorite browser.

🌱 Project Journey & Learnings

This project was a personal challenge that took over a month to complete. The main goal was to move beyond basic animations and tackle professional, complex interactions. The stacking card sequence, in particular, was a major learning experience in managing multiple ScrollTrigger timelines.

It was built with a lot of love and (many) late nights of debugging!


🧑‍💻 Connect with Me

Hey, I'm Raunak! A web developer and Google Student Ambassador. Let's connect!