Lava Lamp
A lava lamp with glass and warm light: the wax rises, stretches, merges with other blobs and splits apart. Your cursor warms it.
- Plan
- Free · MIT
- Dependencies
- React only
- Props
- 5 (5 adjustable)
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
waxColor | string | "#FF6A1F" | Color of the wax. |
liquidColor | string | "#8A1240" | Color of the liquid inside the glass. |
speed | number | 1 | Speed of the blobs. |
glow | number | 1 | Intensity of the warm light around the lamp. |
interactive | boolean | true | The cursor warms the wax and attracts a blob. |
Installation
Install it
1Install the package
npm i furin-ui2Import it
import { LavaLamp } from "furin-ui";Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.
Dependencies
- React
- 18 or later
- WebGL
- in the browser
- Other libraries
- none
- License
- MIT
Each file ships its own CSS: there's nothing else to install.
Keep exploring
Prism Light
FreeA real 3D scene in WebGL2: a glass prism (beveled mesh with fresnel and refraction) on a reflective vinyl floor. A light orb follows your cursor and fires a volumetric beam; the spectrum fans out by Snell's law, one ray per color, and lands on the wall and floor with its caustic. The camera parallaxes with the cursor.
Backgrounds