vibran

Liquid image distortion

Also called: WebGL hover ripple

The photo becomes WebGL. Under the mouse or finger it bends like water, the colors split into red, green and blue and ripples spread from the touched point. When you stop, it settles back on its own.

Preview of Liquid image distortion running live
Copy the promptAdjust colors and speed

When to use it

For portfolio covers, fashion campaigns, event posters or any hero photo worth a pause. The box needs a defined height (the image covers it, like object-fit: cover). A photo from another domain only works if the server allows CORS; otherwise the plain image stays visible. Adjust data-forca for more or less distortion and set data-rgb="0" to turn off the color split. Avoid it on many images at once: each one opens its own WebGL context.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<div data-efeito="imagem-liquida" style="height:420px">
  <img src="foto.jpg" alt="Descrição da foto">
</div>

More images effects

All 11 images effects →