vibran

Light prism

Portuguese name: Prisma

A light prism: a beam of white light enters a glass prism and fans out as a rainbow. The mouse widens or narrows the spread.

Preview of Light prism running live
Copy the promptAdjust colors and speed

When to use it

A direct reference to light and color: opticians, photography, print shops, design studios, lighting brands. It's WebGL and the rainbow is strong, so the brand has to handle a lot of color. Lower data-qualidade on phones, and use data-cores for the background and glass tones.

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:

<section data-efeito="prisma">...</section>

More backgrounds effects

All 43 backgrounds effects →