06.27 · 3D & Advanced
Water Ripple
Ripples spread from your finger and bend the picture below. Best for hero images.
Drag it
Drag across the pond (a finger will not scroll the page), tap for a pebble, use Tab and the arrow keys, or press Show me.
The gray map is the water's height; blue tints mark slopes facing the light. Each step, a point becomes half its neighbors' total minus its last height; the picture is read from a shifted spot.
Rings on top draws light rings over a picture that stays flat; Bends the picture shifts the picture itself under the waves, so it looks like water. Drag or tap either half.
Try it
Change a setting, then drag the water or press Show me.
Ripple size
How wide each push or drop is.
How long ripples last
Long lets them bounce off the edges and cross.
Bend
How much the picture under the water bends.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add a water ripple effect to [the picture you want to look as if it lies under water]. Keep two grids of water heights, now and one step earlier. On each step, set every point to half the total of its four neighbors minus its earlier height, then damp it slightly, so ripples spread, cross, bounce off the edges and fade. A finger or mouse drag leaves a trail of small pushes without scrolling the page; a tap drops a pebble. Draw the picture shifted at each point by the slope of the water, so it bends under the waves. Use a coarse grid and fixed steps, and stop once the water is calm. Under reduced motion, show still rings that fade. 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.