设计与多媒体

gsap

athevon/genjutsu

GSAP animation engine sub-skill - core, timeline, ScrollTrigger, plugins.

  • 1000 次安装
  • 701 星标
  • 收录于

安装命令

npx skills add https://github.com/athevon/genjutsu --skill gsap

SKILL.md

GSAP — Animation Engine

When to use GSAP

Criteria CSS Transitions Framer Motion GSAP
Hover / simple toggle Yes Yes Overkill
Sequenced timeline No Limited Yes
Scroll-driven scroll-timeline Limited ScrollTrigger
Complex stagger No Basic Distribution
Mobile perf (60fps) Good Average Excellent
Text splitting No No SplitText
SVG morph / draw No No MorphSVG
Bundle size concern 0kb ~30kb ~25kb + plugins

Rule: if the animation needs timeline, scroll-link, or distributed stagger, use GSAP. Otherwise CSS first.

Setup