UI templates
Pick a UI template to include it in the prompt.
Usage with these values
import { MandalaDrum } from "@/components/scenes/mandala-drum";
export default function Background() {
return (
<MandalaDrum
className="h-svh w-full"
coreColor="#fff4e4"
midColor="#5a2a4a"
rimColor="#ffb36b"
accentColor="#ffe9a8"
backgroundColor="#07040a"
count={180000}
mode={0}
rings={0.2}
drumSize={1.9}
sweep={7}
blend={1.1}
amplitude={1}
settle={0.12}
scatter={1}
spin={0.01}
grainSize={0.3}
brightness={1}
glints={0.6}
plateTexture={0.5}
rimLight={0.6}
viewAngle={1.2}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js GPU cymatics scene: 180k grains on a round drum head gather on the still lines of its standing waves. A round plate's modes are Bessel functions times cos(nθ), so the figures come out as rings and petals with n-fold symmetry, like mandalas. The drum sweeps through modes and turns slowly; each change dissolves the figure and lets it re-form, and a click jumps to the next mode and scatters the grains. Colours, counts and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff4e4" | Sand |
| midColor | string (hex colour) | "#5a2a4a" | Drum tint |
| rimColor | string (hex colour) | "#ffb36b" | Rim light |
| accentColor |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















