Skip to main content
rule CX Codex

animation-groups — Claude Code rule: animation timing, install

The animation-groups rule organizes ManimGL animations for parallel, sequential, or staggered playback. Use it when several scene elements need coordinated timing.

AGPL-3.0 ★ 78,316 updated 2026-10-24

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/animation-groups.md
Open on GitHub

What animation-groups does

The rule covers animation groups in ManimGL. AnimationGroup starts several actions together, Succession runs them in order, and LaggedStart offsets their start times. LaggedStartMap applies an animation constructor across a group of objects.

It also shows nested groups, sequential group composition, shared run_time, and group-level or per-animation rate_func settings. The patterns cover text reveals, grid ripples, wave motion, and cascades inside self.play().

The examples target ManimGL and import manimlib, so that context matters when applying the rule to a project. In Claude Code, place the rule at .claude/rules/animation-groups.md.

What it helps with

  • run several animations at once
  • sequence scene actions without overlap
  • stagger object appearances
  • nest groups with separate timing
  • control a group’s total duration

Example prompts for the agent

  • Create a ManimGL scene where circles and squares appear at the same time.
  • Use LaggedStart to reveal the objects in stages and set lag_ratio.
  • Rewrite the scene with Succession so each animation starts after the previous one ends.

How to install animation-groups

Manually: put the files in place

.claude/rules/animation-groups.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about animation-groups

How do I install animation-groups in Claude Code?

Create the rule file at .claude/rules/animation-groups.md.

What does animation-groups do?

It explains how to coordinate ManimGL animations that run together, follow one another, or begin with staggered timing.

How do AnimationGroup, LaggedStart, and Succession differ?

AnimationGroup runs actions together, LaggedStart offsets their starts, and Succession runs them one after another without overlap.

Similar IDE rules

All IDE rules for Design →

From the same set101

The whole set →
svg-path-draw svg-path-draw — a rule that gets the agent to trace an SVG outline stroke by stroke, then fade in a wordmark once the drawing settles. CX Codex +1 ★ 78,316repo stars hacker-flip-3d hacker-flip-3d supplies guidelines for creating a 3D character flip animation with randomized glyph decoding. Helps build terminal and airport-style text reveals. CX Codex +1 ★ 78,316repo stars gemini-omni Generates short clips via gemini-omni-1.1-flash and edits them through follow-up prompts without re-generating. Each generation returns an interaction_id so the next call changes only what you specify. CX Codex +1 ★ 78,316repo stars discrete-text-sequence discrete-text-sequence — a rule for GSAP scenes where the terminal line swaps whole states instead of typing evenly: typos, backspaces, pasted chunks and holds. CX Codex +1 ★ 78,316repo stars transform-animations transform-animations — a rule that teaches Claude Code and Codex how to transform objects in ManimGL — from basic shape morphing to complex function-based transformations. Use it when writing Python animations of mathematical objects. CX Codex +1 ★ 78,316repo stars embedding embedding instructs your coding agent to debug ManimGL scenes interactively via IPython, letting you test object positions and animations without restarting the render. CX Codex +1 ★ 78,316repo stars vertical-spring-ticker vertical-spring-ticker is a rule for Claude Code and Codex that defines a slot-machine vertical ticker with additive GSAP spring physics. Each spring advances the stack one discrete step instead of a smooth scroll. CX Codex +1 ★ 78,316repo stars multi-phase-camera multi-phase-camera — a rule for animated web scenes: the camera moves through 2-3 zoom phases (pull-back, focus, push) with continuous micro-drift on top. For when a single linear zoom feels mechanical. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open