173

Flow Field

Thousands of fine lines flow along invisible currents, and the cursor stirs them

BackgroundIdle loopHover & clickBackground decorHeadline & heroCanvasCanvas trails

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

The background is filled with hundreds of invisible tiny particles, each moving according to the “flow direction” at its position (from smoothly varying noise or trig functions that slowly change over time) and leaving a very fine trail that slowly fades, so the whole thing looks like a constantly flowing texture of wind or water; near the cursor the flow is twisted, forming stirred-up eddies. (Canvas 2D: each frame cover the canvas with a low-opacity fill for trails, then move each particle a short step along angle = f(x, y, t) and draw a line; respawn particles when their life ends or they leave the canvas; simplex noise makes the field look more natural)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More background effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →