06.08 · 3D & Advanced
Noise-Based Motion
Smooth noise makes dots sway and a blob ripple. Best for calm backgrounds.
Watch it
It moves by itself. Pause it to look closely, or turn on slow motion to see each part of the movement.
Inside, the gray is the noise: a value that changes gradually from place to place. Each dot leans by the gray under its ring: the lighter the gray, the farther around it turns.
Plain random scatters the faint dots behind each dot (where it just was), since each new lean ignores the last. Smooth noise changes gradually, so they trail in a smooth curve.
Try it
Change a setting and see the difference as it moves.
Shape
A field of swaying dots, or one rippling blob.
Pattern size
Large patterns sway together; small ones look busy.
Speed
How fast the noise moves along.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add noise-based motion to [the background or shape you want to bring to life]. Use smooth noise, a random value that changes gradually from place to place, instead of plain random numbers, which jump. For a field of dots, turn the noise at each dot into a direction and nudge the dot that way, then move through the noise over time so the whole field sways like grass in the wind. For a blob, push each point of its outline in or out by the noise so the edge ripples. Space the dots by distance, not by count, so phones draw fewer. If the visitor has reduced motion turned on, keep everything still. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.