Skip to content
G

gsap-performance

Optimize GSAP animations for smooth 60fps by favoring transforms

by greensockFree

Launch
#3165in AI Skills
0In stores

Description

gsap-performance is the official GreenSock skill for making GSAP animations run smoothly at 60 frames per second. It applies when you are op…

Highlights

  • Animate transform and opacity instead of layout properties
  • Warnings for width, height, top, left, margin and padding
  • GSAP x and y use transforms by default
  • Guidance on will-change
  • Points to gsap-core, gsap-timeline and gsap-scrolltrigger

Ratings & Reviews

No ratings yet

Be the first to rate gsap-performance.

People also visit

G

gsap-utils

Pure utility functions for math, value mapping, randomization, array handling

AI Skills
Launch
H

hyperframes-animation

All animation knowledge for HyperFrames

AI Skills
Launch
G

gsap-frameworks

GSAP animation setup for Vue, Svelte, Nuxt, and other component frameworks

AI Skills
Launch
F

fixing-motion-performance

Audit and fix animation performance issues including layout thrashing

AI Skills
Launch
D

diagnosing-bugs

Diagnosis loop for hard bugs and performance regressions

AI Skills
Launch
B

benchmark-optimization-loop

Convert 'make it faster' requests into a bounded measured optimization loop

AI Skills
Launch

gsap-performance FAQ

What does the skill cover?

Optimizing GSAP animations for smooth 60 frames per second, reducing layout and paint cost, and fixing jank.

Which properties should I animate?

x, y, scale, rotation and opacity. The skill says to avoid width, height, top, left, margin and padding when a transform can do the job.

Why use x and y instead of left and top?

GSAP's x and y use transforms by default, which the skill recommends for moving elements.

Does it cover ScrollTrigger?

Not in full. For ScrollTrigger performance it points to the gsap-scrolltrigger skill.

How do I install it?

Run npx skills add https://github.com/greensock/gsap-skills --skill gsap-performance.

What do the security audits show?

Gen Agent Trust Hub, Socket and Snyk all pass.

What are the best gsap-performance alternatives?

Popular alternatives to gsap-performance include gsap-utils, hyperframes-animation and gsap-frameworks. See all gsap-performance alternatives

Developer Stuff

Badges