Component · Animated backgrounds

Flow field wind map background

by Informeek Studio 11 November 2026
Live Move the cursor to steer the swirl, click for a gust

The prompt

Create a flow field background that looks like a live wind map, behind a hero for a sailing forecast app called Leeway. Use a full-screen 2D canvas on deep navy (#06121d) with a faint 120px chart grid in CSS. Each frame, build a vector field on a coarse 24px grid: a prevailing breeze to the east, turned by smooth 3D value noise that changes slowly, with gust strength from a second noise layer, plus a low pressure swirl around the pointer that fades over about 160px. Seed a streamline every 26px, trace each one 26 steps of 4px through the interpolated field, and draw them all as one faint seafoam path (#9fe6d8 at 7% opacity) on an offscreen canvas that is redrawn every fourth frame. On top, run a short bright comet along every streamline, faster where the wind is stronger, coloured by speed from teal (#3f9e97) to seafoam, sand (#f2d49b) and coral (#ff9f6e). A click or tap sends an expanding gust ring. After 2.5s without input the swirl wanders by itself. Keep comets calm behind the headline. Copy: pill "Updated every 10 minutes", headline "Every gust, mapped as it moves" with "as it" in sand, one line, a sand "See tomorrow's wind" button and a small gust legend on desktop. Cap devicePixelRatio at 1.5 and draw one still frame for reduced motion.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by changing the four speed colours and the prevailing wind direction.

About this flow field

A flow field is a grid of directions, and anything that follows it draws smooth, natural curves. Styled as a wind map, it makes a natural hero for a sailing app. A steady breeze blows east, slow noise bends it into eddies and gusts, and a low pressure swirl follows your cursor. Faint streamlines show the shape of the wind, while short comets race along them, turning from teal to sand and coral where the gusts are strongest.

Two choices keep it smooth on phones. The field is worked out on a coarse 24 pixel grid and interpolated, rather than calculated for every point on every line. And the faint layer is cached on a second canvas and refreshed every fourth frame, because nobody can see it move that quickly. Strokes are grouped into one path per colour, so the browser draws five lines instead of thousands.

Why the prompt works

  • It separates the field from the drawing, which is how flow fields stay fast.
  • It colours by speed, so the image carries real information.
  • It gives every spacing in pixels, the numbers that set the density.
  • It covers idle, touch and reduced motion.

Where to use it

Weather, sailing, aviation, energy and data products, or any hero that should feel calm but alive.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Animated backgrounds

Venetian blinds effect background

Live
Component · Animated backgrounds

Isometric animation background

Live
Component · Animated backgrounds

Low poly background with moving light