@bg-effects/bubbles
v1.0.2
Published
Realistic soap bubble background effect with rainbow iridescence and specular highlights.
Readme
@bg-effects/bubbles
Realistic soap bubble background effect with rainbow iridescence and specular highlights.
Features
- 🌈 Realistic thin-film interference (rainbow effects)
- ✨ Specular highlights and Fresnel edges
- 🎮 Three motion modes: Float, Physics, Wander
- 🎨 Fully customizable colors and appearance
- ⚡ High-performance WebGL rendering (100+ bubbles @ 60fps)
- 🐛 Built-in debug panel with real-time configuration
Installation
pnpm add @bg-effects/bubblesUsage
<script setup>
import { Bubbles } from '@bg-effects/bubbles'
</script>
<template>
<Bubbles
:bubbleCount="50"
motionMode="float"
:iridescence="0.8"
/>
</template>License
MIT
