# cursor-click-ripple

cursor-click-ripple supplies GSAP timeline specifications for a moving cursor, button press recoil, and expanding ripple waves.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 78316 repo stars
- Author: calesthio
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/cursor-click-ripple.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/cursor-click-ripple

## What it does

This rule guides the assistant in generating a three-phase UI interaction scene. A mouse cursor moves toward an element, performs a momentary scale depression on both objects, and emits staggered fading rings from the contact point.

The layout pairs simple HTML and CSS positioning with a paused GSAP timeline registered on the window object. All durations, easing equations, and press factors rely on explicit constants. Without loading the GSAP library into the runtime, the animation timeline cannot execute.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/cursor-click-ripple.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/cursor-click-ripple.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/cursor-click-ripple.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/cursor-click-ripple.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/cursor-click-ripple.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/cursor-click-ripple.md

## When to use it
- generate a synthetic mouse click sequence in HTML and CSS
- choreograph cursor travel and button depression using GSAP
- time ripple ring expansion to radiate immediately upon element contact

## Example prompts
- Generate a button click scene using the cursor-click-ripple animation specs
- Build a GSAP timeline for a cursor moving to a target element and emitting ripple rings

## Similar
- [svg-animation](https://affpapa.org/en/nevibecode/skills/svg-animation.md) — skill · 4400 installs
- [chromatic-glitch](https://affpapa.org/en/nevibecode/rules/chromatic-glitch.md) — rule · ★ 328 repo stars
- [logo-animation](https://affpapa.org/en/nevibecode/skills/logo-animation.md) — skill · 5800 installs
- [gsap](https://affpapa.org/en/nevibecode/skills/mindrally-gsap.md) — skill · 815 installs
- [gsap-animation-composition](https://affpapa.org/en/nevibecode/skills/gsap-animation-composition.md) — skill · 156 installs
- [motion2code](https://affpapa.org/en/nevibecode/rules/motion2code.md) — rule · ★ 361 repo stars

From the same set: [calesthio/openmontage](https://affpapa.org/en/nevibecode/by/calesthio/openmontage.md) — 101 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
