Metaballs
A lava-lamp of liquid metaballs that merge and split as they orbit each other, surfaced with marching cubes and tinted with --primary.
A lava-lamp of liquid metaballs that merge and split as they orbit each other, surfaced with marching cubes and tinted with --primary.
Customize
Blobs6
Speed1
Smoothness44
Roughness0.18
Props
| Prop | Type | Default | Description |
|---|---|---|---|
blobs | number | 6 | Number of blobs. |
speed | number | 1 | Animation speed multiplier. |
resolution | number | 44 | Marching-cubes resolution (higher = smoother, heavier). |
roughness | number | 0.18 | Surface roughness (0–1). |
className | string | — | Classes for the wrapper element (set its height here). |
theme | "auto" | "light" | "dark" | "auto" | Color source. auto reads the live shadcn theme. |
blobsnumberNumber of blobs.
Default
6speednumberAnimation speed multiplier.
Default
1resolutionnumberMarching-cubes resolution (higher = smoother, heavier).
Default
44roughnessnumberSurface roughness (0–1).
Default
0.18classNamestringClasses for the wrapper element (set its height here).
Default
—theme"auto" | "light" | "dark"Color source. auto reads the live shadcn theme.
Default
"auto"