Skip to main content
rule CX Codex

motion-blur-streak — Claude Code rule: what it does, how to install

motion-blur-streak emulates directional motion blur on sudden fly-ins or camera pushes. Smear fades right at the settle, so the item snaps into place completely sharp.

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/motion-blur-streak.md
Open on GitHub

What motion-blur-streak does

Scrubbed timelines cannot compute optical shutter blur during pauses. This rule recreates velocity streaks for fast entries via GSAP, syncing the smear directly to the position tween. It handles this either through an SVG <feGaussianBlur> filter on the travel axis or by spawning a trail of trailing ghost clones.

Velocity front-loads through steep easing like expo.out. Because blur magnitude rides along that same ease curve, maximum smear strikes at top speed and hits zero when the layer stops. Direct SVG attributes cannot be tweened natively in GSAP, so the rule drives a numeric proxy and applies values via setAttribute on each tick.

This approach belongs strictly on entrances and snap-ins. Using velocity blur on an element exiting mid-shot reads as an animation glitch.

What it helps with

  • simulate directional velocity blur on fast text fly-ins
  • animate the feGaussianBlur SVG filter using a GSAP proxy
  • build a ghost trail using opacity-stepped element clones
  • synchronize blur decay with the motion deceleration curve

Example prompts for the agent

  • Add a fly-in headline with directional horizontal blur using the SVG filter path
  • Create an entrance for the card using a three-ghost trail in GSAP
  • Set up a camera push on the logo where streak blur hits zero at the settle

How to install motion-blur-streak

Manually: put the files in place

.claude/rules/motion-blur-streak.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 motion-blur-streak

How to install motion-blur-streak in Claude Code?

Save the rule file to .claude/rules/motion-blur-streak.md inside your project root.

What does motion-blur-streak do?

It couples the velocity curve of a GSAP tween with a blur envelope. The animated element streaks into view at high speed and snaps completely sharp when it reaches its resting position.

How do the SVG filter and ghost trail options differ?

The SVG path creates a genuine optical smear on a single element via a GSAP proxy. The ghost trail duplicates the layer into semi-transparent clones, avoiding filter overhead and enabling stylized color streaks.

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set101

The whole set →
depth-scatter-assemble depth-scatter-assemble — a rule for scenes where glyphs, cards or logo pieces arrive out of a turning 3D cloud and land in a flat layout. The reverse also works. CX Codex +1 ★ 78,316repo stars ambient-glow-bloom ambient-glow-bloom defines code patterns for soft backdrop glow and light sweeps on key elements. Guides code assistants to write seek-safe GSAP timelines without infinite loops. CX Codex +1 ★ 78,316repo stars music-to-video music-to-video turns a music track into a beat-synced HyperFrames video. Use it for lyric-style clips, slideshows, or kinetic promo visuals with optional media. CX Codex +1 ★ 78,316repo stars depth-of-field-blur depth-of-field-blur is a Claude Code rule for selective focus in GSAP scenes: one layer stays crisp while the others blur and dim. It brings attention to the main element in a frame. CX Codex +1 ★ 78,316repo stars client-tools client-tools configures webhook and client-side actions for conversational voice agents, connecting them to external APIs and browser scripts. CX Codex ★ 78,316repo stars hyperframes This skill routes video and motion requests through HyperFrames, which renders compositions from HTML. Use it for editing, animation, captions, and finished video. CX Codex +1 ★ 78,316repo stars seedance-2-0 Wires ByteDance Seedance 2.0 into OpenMontage so the agent can produce clips with built-in sound, several cuts and directed camera moves. CX Codex +1 ★ 78,316repo stars agent-configuration agent-configuration — a reference subagent for configuring conversational agents with LLM prompts, speech input, voice output, and turn-taking rules. CX Codex ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open