gsap-timeline

Coordinate multi-step GSAP animations by building and controlling timelines.

Updated Oct 2, 2024
One-click install
npx skills add https://github.com/James-Gamboa/portfolio-james --skill gsap-timeline-james-gamboa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/James-Gamboa/portfolio-james/tree/main/.agents/skills/gsap-timeline
Command: npx skills add https://github.com/James-Gamboa/portfolio-james --skill gsap-timeline-james-gamboa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate and choreograph complex motion by using GSAP timelines to sequence, nest, and control multiple tweens in a predictable, reusable workflow.

Core Features & Use Cases

  • Sequencing: build a single timeline with gsap.timeline() to run multiple tweens in a defined order.
  • Nesting: compose modular animation blocks by nesting timelines inside a master timeline.
  • Playback control: manage play, pause, reverse, and time-based navigation with labels and offsets.
  • Use Case: create a multi-step UI intro where elements animate in a deliberate, synchronized sequence.

Quick Start

Create a timeline with gsap.timeline(), add several tweens, and control playback with labels.

Frequently Asked Questions about gsap-timeline

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

FAQPage Schema
How do I sequence multiple GSAP tweens in a specific order?

Nest timelines inside a master timeline to compose modular animation blocks. This allows you to build complex, reusable sequences by grouping animations into smaller timelines and controlling them as a single synchronized unit.

Can I control GSAP timeline playback with labels and offsets?

Yes, you can control GSAP timeline playback using labels and offsets to manage play, pause, reverse, and time-based navigation. Labels allow precise placement and jumping within the timeline sequence.

Do I need prior knowledge of the GSAP API to build complex timelines?

Yes, building complex timelines requires knowledge of the GSAP API, including gsap.timeline(), nesting, labels, and defaults. You must understand proper handling of playback controls and timeline options to orchestrate multi-step animations effectively.

What's the best way to choreograph a multi-step UI intro animation?

The best way to choreograph a multi-step UI intro is using a GSAP timeline to sequence, nest, and control multiple tweens. This synchronizes elements to animate in a deliberate order, creating a cohesive intro sequence.

Why use GSAP timelines instead of individual tween animations?

GSAP timelines coordinate multiple tweens into a predictable, reusable workflow. Unlike individual tweens, timelines allow you to sequence, nest, and control playback as a single unit, ensuring complex motion stays synchronized.