Chromatic aberration image hover, RGB split on mouse move
Portuguese name: Imagem com aberração de cor
Chromatic aberration image: moving the pointer over the photo splits the red and blue channels along the movement, like a cheap lens. The faster the pointer, the bigger the split; when still, the image returns to normal.

When to use it
Portfolio covers, event banners and brand pages with a glitchy video look. It uses an SVG filter: no canvas needed and the image remains a regular img. Tune data-forca and data-retorno.
How to add it to your site
- 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.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- 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-aberracao" style="aspect-ratio:16/10"><img src="foto.webp" alt="Descrição da foto"></div>
More mouse effects
- Needle fieldcompass field
- Label cursorcontext cursor
- Gooey elastic cursormagnetic cursor
- Difference blend cursorinvert cursor
- Click sparkFaísca no clique
- Ribbon trailcursor ribbon
- Venetian blind image hover, slat image effectImagem persiana
- Reveal lensx-ray window