All effects
Parameter playground

Drag a slider: the demo replays itself so the difference is visible, and the matching number inside the prompt is rewritten. Copy it and you take a prompt tuned to your taste.

Max blur 10px Auto-sweeps: 2 is barely there, 20 smears into a blob; 10 sells the speed
Ghost copies 3 个 Auto-sweeps: 0 has no trail, 5 stacks into a smear; 3 reads the direction
Ghost lag 1.6 倍 Watch the gap to the body: 0.5 hugs it, 3 flings far; 1.6 trails cleanly
Lists

Motion Blur on Speed

The faster an element moves the stronger the blur - snapping back to crisp the instant it stops, with directional ghost trails.

AI Prompt
Apply motion blur to a dragged or sliding element based on its real-time velocity: the faster it moves, the stronger the blur (blur radius capped at 10px), smoothly restoring sharpness on release. Overlay 3 semi-transparent ghost copies behind the motion, offset by 1.6x the current speed, to reinforce the sense of speed. Compute velocity inside requestAnimationFrame and map it to CSS filter: blur().

How it works

A requestAnimationFrame loop is the heart. While dragging, per-frame velocity is simply the difference between the current and previous x position; on release, that same velocity feeds a small inertial model decaying each frame. The blur radius is velocity times a gain factor, clamped to a hard ceiling around ten pixels, then written to the card's filter. The ghost copies read the same velocity and offset themselves opposite to the motion with staggered multipliers, their opacity scaling with speed so they exist only while things move fast. Because every value derives from one velocity number per frame, the effect is continuous by construction - no state machine, no thresholds.

How to use this prompt

Use it on anything a user can flick: sortable drag lists, fast carousels, pull-out drawers, flung panels. Send the prompt with the element and its driver (pointer drag versus inertial scroll), plus one instruction amateurs skip: recompute velocity inside requestAnimationFrame, never inside pointermove handlers, or the blur stutters at input frequency instead of display frequency.

Tips for better results

Clamp the blur radius hard - past roughly ten pixels the element becomes an unreadable blob. Interpolate the blur value per frame rather than stepping it by speed tiers, or it flickers. Keep two or three ghost layers max with will-change: transform for compositing; more reads as double-exposure meddling. Vertical lists can reuse the same mapping, but apply the filter to the content layer, never the scroller itself, or the whole viewport smears.

Keep exploring