gsap-performance

Optimize GSAP animations with transforms, opacity, will-change, and batching.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/gyalamanch001a/pur-new --skill gsap-performance-gyalamanch001a
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-performance
Source: https://github.com/gyalamanch001a/pur-new/tree/main/.agents/skills/gsap-performance
Command: npx skills add https://github.com/gyalamanch001a/pur-new --skill gsap-performance-gyalamanch001a

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces animation jank and unnecessary browser work in GSAP projects so motion stays responsive, efficient, and visually smooth.

Core Features & Use Cases

  • Compositor-Friendly Motion: Prefer transforms and opacity for movement and fading to avoid layout and heavy paint costs.
  • Layer and Update Efficiency: Use will-change, batching, stagger, and quickTo to reduce thrashing and repeated tween creation.
  • Scroll and Interaction Performance: Optimize ScrollTrigger behavior, refresh only when needed, and keep large animated lists or mouse-follow effects responsive.
  • Use Case: A product page with parallax sections, hover effects, and a cursor follower can stay fluid by switching to transform-based animation patterns and minimizing simultaneous work.

Quick Start

Ask for a GSAP performance audit that replaces layout-heavy animation properties with transform-based motion and adds batching, will-change, and refresh guidance.

Frequently Asked Questions about gsap-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix GSAP animation jank and keep scroll-driven effects at 60fps?

Fix GSAP animation jank by replacing layout-heavy properties with transform and opacity animations. Keep scroll-driven effects at 60fps using will-change, batching, and selective ScrollTrigger refresh handling to minimize browser layout thrashing.

What is the best way to optimize GSAP mouse followers for consistent performance?

Optimize GSAP mouse followers for consistent performance by using quickTo to update tween values rapidly without recreating tweens. This method reduces update overhead and prevents dropped frames during high-frequency pointer movement.

Why does my GSAP scroll animation cause layout thrashing and dropped frames?

GSAP scroll animations cause layout thrashing and dropped frames when animating properties that trigger heavy paint or layout recalculations. Switch to compositor-friendly properties like transforms and opacity, and batch updates to avoid simultaneous browser work.

Can I use GSAP ScrollTrigger refresh handling to improve large animated list performance?

Yes, you can improve large animated list performance by selectively triggering ScrollTrigger refresh only when needed. Applying staggered animations and minimizing simultaneous ScrollTrigger updates reduces browser workload and maintains smooth scrolling.

When should I use will-change and stagger in GSAP frontend animations?

Use will-change and stagger in GSAP frontend animations when dealing with complex motion interfaces or large lists. will-change promotes layers for compositor-friendly rendering, while stagger distributes tween updates to prevent visual jank and frame drops.