Glass cube
Portuguese name: Cubo de vidro
A glass cube with refraction and color dispersion. It spins on its own and follows the mouse.

When to use it
A showcase piece for design studios, tech products, jewelers or brands that talk about transparency. It's WebGL and very eye-catching, so keep surrounding text short. Lower data-qualidade on phones and set data-cores so the reflection carries the brand tone.
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:
<section data-efeito="cubo-vidro">...</section>
More backgrounds effects
- Gyroscope ringsAnéis giroscópio
- Black holeBuraco negro
- Background pathsCaminhos que fluem
- Starfieldwarp speed
- MeteorsChuva de meteoros
- Isometric wave columnsColunas em onda
- Chrome marbleliquid chrome
- Grainy gradientDegradê granulado