# nudge-curve

nudge-curve is a Claude Code rule that specifies a three-phase group slide animation to reveal content or shift layouts.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 171 repo stars
- Author: drawthingsai
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/drawthingsai/local-code-community/tree/HEAD/Apps/LocalCode/Resources/Skills/hyperframes/guides/hyperframes-animation/rules/nudge-curve.md
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/nudge-curve

## What it does

The rule structures a slow-fast-slow slide for compound groups such as card stacks or text rows. Single easing transitions like `power4.inOut` stop with a harsh jolt. To avoid this, motion chains three separate tweens: a `power3.in` ramp, a linear travel burst, and a `power4.out` tail.

The tail must take at least triple the time of the opening ramp to prevent an abrupt landing. New content displays during the middle phase, letting the swift linear motion hide its visual appearance.

## Requirements
- Works with: Linear

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/nudge-curve.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/nudge-curve.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

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

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/nudge-curve.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/nudge-curve.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/drawthingsai/local-code-community/tree/HEAD/Apps/LocalCode/Resources/Skills/hyperframes/guides/hyperframes-animation/rules/nudge-curve.md

## When to use it
- animate grouped elements without harsh deceleration at the end
- mask incoming content behind a swift movement burst
- chain three distinct tweens instead of relying on a single ease
- balance distance and timing ratios for horizontal or vertical shifts

## Example prompts
- Slide the card stack to the left using the nudge-curve pattern to make room
- Chain three tweens to move this word list smoothly without a hard stop

## Similar
- [large-500-800ms](https://affpapa.org/en/nevibecode/skills/large-500-800ms.md) — skill · 558 installs
- [slow-800-1200ms](https://affpapa.org/en/nevibecode/skills/slow-800-1200ms.md) — skill · 547 installs
- [timing](https://affpapa.org/en/nevibecode/rules/timing.md) — rule · ★ 849 repo stars
- [brand-motion-guidelines](https://affpapa.org/en/nevibecode/skills/brand-motion-guidelines.md) — skill · 1100 installs
- [motion](https://affpapa.org/en/nevibecode/skills/motiondivision-motion.md) — skill · 1400 installs
- [press-release-spring](https://affpapa.org/en/nevibecode/rules/press-release-spring.md) — rule · ★ 78316 repo stars

From the same set: [drawthingsai/local-code-community](https://affpapa.org/en/nevibecode/by/drawthingsai/local-code-community.md) — 20 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
