motion-blur
Skill7 starsChanged 10 months agoMITView on GitHub
Motion blur techniques for video and high-performance animation. Disney-quality blur simulation for cinematic renders. Use when creating video content, game-like motion, or film-quality animation.
In this repository87 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- motion-designSkill
- 3d-transformsSkill
- accessibilitySkill
- android-nativeSkill
- animation-recipesSkill
- anticipationSkill
- arc-motionSkill
- attention-choreographySkill
- attentionSkill
- audio-reactiveSkill
- blurSkill
- brand-animationSkill
- cameraSkill
- characterSkill
- choice-resolutionSkill
- cinematicSkill
- code-generationSkill
- colorSkill
- component-animationsSkill
- compositingSkill
- consequenceSkill
- container-transformSkill
- css-advancedSkill
- data-visualizationSkill
- depthSkill
- distortionSkill
- dramaturgySkill
- durationSkill
- easingSkill
- emotional-journeySkill
- emotion-mappingSkill
- emotion-selectionSkill
- empty-statesSkill
- entrance-patternsSkill
- exaggerationSkill
- exit-patternsSkill
- exportSkill
- figma-integrationSkill
- follow-throughSkill
- frame-timingSkill
- gesture-motionSkill
- glow-shadowSkill
- intentSkill
- ios-nativeSkill
- loading-statesSkill
- loopingSkill
- lottieSkill
- masksSkill
- microstateSkill
- morphingSkill
- motion-auditSkill
- motion-principlesSkill
- motion-specsSkill
- narrative-arcSkill
- notificationsSkill
- onboardingSkill
- opacitySkill
- orchestratorSkill
- particlesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 133
Blur on text: - Never blur text, destroys readability
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Motion Blur
Simulating the natural blur that occurs in camera footage and human vision during fast motion. Essential for cinematic quality in video production.
Core Concepts
How Motion Blur Works
Real cameras have a shutter that's open for a portion of each frame. Objects moving during this exposure create blur along their motion path.
Shutter Angle:
- 180 degrees = 1/48s exposure at 24fps (film standard)
- 360 degrees = full frame exposure (maximum blur)
- 90 degrees = sharp, staccato look (action sports)When to Use Motion Blur
| Context | Blur Level | Rationale |
| Film/Cinema | Cinematic (180 degrees) | Natural, expected look |
| Video/Broadcast | Standard | Clean but smooth |
| Gaming | Subtle | Responsive feel |
| UI Animation | Off | Clarity, performance |
| Text | Off | Readability |
Token Reference
Load from: tokens/motion-blur.tokens.json
| Token | Samples | Intensity | Use Case |
subtle | 4 | 0.3 | Clean digital look |
standard | 8 | 0.5 | Balanced blur |
cinematic | 16 | 0.8 | Film-quality |
action | 24 | 1.0 | Maximum blur |
off | 0 | 0 | Sharp frames |
Remotion Implementation
Per-Frame Motion Blur
import React from 'react';
import { useCurrentFrame, interpolate } from 'remotion';
// Calculate velocity-based blur
export const useMotionBlur = (
currentPosition: number,
previousPosition: number,
intensity: 'subtle' | 'standard' | 'cinematic' | 'action' = 'standard'
) => {
const velocity = Math.abs(currentPosition - previousPosition);
const intensityMap = { subtle: 0.3, standard: 0.5, cinematic: 0.8, action: 1.0 };
const threshold = 5;
if (velocity < threshold) return 0;
const blurAmount = interpolate(
velocity,
[threshold, threshold * 3],
[0, intensityMap[intensity] * 10],
{ extrapolateRight: 'clamp' }
);
return blurAmount;
};Smear Frame (Disney Technique)
// Disney-style smear frame for fast motion
export const SmearFrame: React.FC<{
velocity: number;
threshold: number;
direction: 'horizontal' | 'vertical';
children: React.ReactNode;
}> = ({ velocity, threshold, direction, children }) => {
if (Math.abs(velocity) < threshold) {
return <>{children}</>;
}
const stretchFactor = 1 + Math.abs(velocity) / 500;
const clampedStretch = Math.min(stretchFactor, 3);
const transform = direction === 'horizontal'
? `scaleX(${clampedStretch})`
: `scaleY(${clampedStretch})`;
return (
<div style={{ transform, opacity: 0.8 }}>
{children}
</div>
);
};Quality Presets
export const motionBlurPresets = {
preview: { samples: 4, quality: 'low', realtime: true },
draft: { samples: 8, quality: 'medium', realtime: true },
production: { samples: 16, quality: 'high', realtime: false },
maximum: { samples: 24, quality: 'maximum', realtime: false }
};Accessibility
// Disable motion blur for reduced motion preference
export const AccessibleMotionBlur: React.FC<{
reducedMotion: boolean;
children: React.ReactNode;
}> = ({ reducedMotion, children, ...blurProps }) => {
if (reducedMotion) {
return <>{children}</>;
}
return <MotionBlurElement {...blurProps}>{children}</MotionBlurElement>;
};Common Mistakes
- Blur on text - Never blur text, destroys readability
- Static blur - Blur should respond to velocity
- Too much blur - Loses object definition
- Inconsistent FPS - Match blur to frame rate
- Performance hit - Multi-sample blur is expensive
Related Skills
frame-timing/- Frame-accurate timing for blurremotion/- Remotion-specific implementationsaccessibility/- Reduced motion alternativestesting-patterns/- Testing motion blur output
See references/ for detailed multi-sample implementations.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

