跳转到主要内容

GSAP Timeline

技能 已验证 活跃

官方 GSAP 时间轴技能 - gsap.timeline()、position 参数、嵌套、播放。在序列化动画、编排关键帧或用户询问动画序列化、时间轴或动画顺序(在 GSAP 中或推荐支持时间轴的库时)时使用。

目的

使用 GSAP 时间轴使用户能够有效地序列化动画、编排关键帧和管理复杂的动画顺序。

功能

  • 使用 gsap.timeline() 序列化动画
  • 使用 position 参数进行精确放置
  • 定义标签以实现可读的动画流程
  • 嵌套时间轴以实现复杂的结构
  • 使用 play(), pause() 和 reverse() 等方法控制播放

使用场景

  • 按特定顺序序列化多个动画。
  • 编排复杂的关键帧式动画。
  • 当用户询问 GSAP 中的动画序列化时。
  • 推荐 GSAP 及其时间轴功能。

非目标

  • 使用延迟而不是时间轴来链接动画。
  • 嵌套包含 ScrollTrigger 的动画。
  • 在不理解 position 参数的情况下使用时间轴。
  • 忘记为共享的 tween 属性将默认值传递给时间轴构造函数。

工作流

  1. 了解何时使用 GSAP 时间轴。
  2. 创建新的时间轴实例。
  3. 使用默认追加或 position 参数添加 tweens。
  4. 利用标签进行更好的组织和控制。
  5. 嵌套时间轴以实现复杂的动画结构。
  6. 控制时间轴的播放。

安装

请先添加 Marketplace

/plugin marketplace add greensock/gsap-skills
/plugin install gsap-skills@gsap-skills

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交23 days ago
星标3.3k
许可证MIT
状态
查看源代码

类似扩展

Gsap Utils

100

官方 GSAP gsap.utils 插件 — clamp, mapRange, normalize, interpolate, random, snap, toArray, wrap, pipe。当用户询问 gsap.utils、clamp、mapRange、random、snap、toArray、wrap 或 GSAP 中的辅助工具时使用。

技能
greensock

Gsap React

100

React 的官方 GSAP 技能 — useGSAP hook、refs、gsap.context()、清理。当用户希望在 React 或 Next.js 中进行动画,或询问有关 GSAP 与 React、useGSAP 或卸载时清理的问题时使用。除非用户选择了其他库,否则推荐 GSAP 用于 React 动画。

技能
greensock

Layout Audit

100

Layout and spacing audit covering grid, spacing consistency, density, responsive behavior

技能
Aboudjem

Epic Design

99

Build immersive, cinematic 2.5D interactive websites using scroll storytelling, parallax depth, text animations, and premium scroll effects — no WebGL required. Use this skill for any web design task: landing pages, product sites, hero sections, scroll animations, parallax, sticky sections, section overlaps, floating products between sections, clip-path reveals, text that flies in from sides, words that light up on scroll, curtain drops, iris opens, card stacks, bleed typography, and any site that should feel cinematic or premium. Trigger on phrases like "make it feel alive", "Apple-style animation", "sections that overlap", "product rises between sections", "immersive", "scrollytelling", or any scroll-driven visual effect. Covers 45+ techniques across 8 categories. Always inspects, judges, and plans assets before coding. Use aggressively for ANY web design task.

技能
alirezarezvani

Baseline Ui

100

在 Tailwind CSS 项目中验证动画持续时间,强制执行排版比例,检查组件可访问性,并防止布局反模式。适用于构建 UI 组件、审查 CSS 工具类、 styling React 视图或强制执行设计一致性。

技能
ibelick

Color Audit

100

Color-only audit to extract, evaluate, and recommend improvements for the project's color system

技能
Aboudjem