- Docs
- Components
- Backgrounds
- Aura Blob
Aura Blob
A soft glowing blob surrounded by a slowly shifting aura
Customize
Props
32| Name | Type | Default | Description |
|---|---|---|---|
speed | number | 0.5 | How fast the shells tumble. |
layers | number | 10 | Number of nested shells accumulated along each ray. The main cost knob. |
stagger | number | 2.3 | Rotation offset applied between consecutive shells, in radians. |
radius | number | 4 | Radius of the shell the aura wraps around. |
density | number | 0.9 | Thickness response of the shell. Lower spreads the glow wider. |
softness | number | 0.01 | Smallest distance the accumulator will divide by. |
warp | number | 0.25 | Strength of the ridged distortion breaking up the shells. |
warpScale | number | 1.8 | Spatial frequency of the distortion. |
gain | number | 2.6 | Overall brightness before tone mapping. |
exposure | number | 130 | Tone mapping headroom. Higher keeps more of the falloff. |
contrast | number | 1 | Tone response curve. Above 1 deepens the shadows. |
cameraDistance | number | 13 | Distance of the eye from the shell. |
focal | number | 1 | Focal length of the virtual lens. |
color | string | "#f472b6" | First palette colour. |
midColor | string | "#a855f7" | Second palette colour. |
deepColor | string | "#4338ca" | Third palette colour. |
hueDrift | number | 1 | How fast the palette cycles through the shells. |
pulse | number | 0.12 | Depth of the slow brightness breath. 0 disables it. |
pulseRate | number | 0.5 | Speed of the brightness breath. |
grain | number | 0.05 | Film grain strength, 0 to 1. |
grainSize | number | 1 | Grain cell size in CSS pixels. |
grainRate | number | 24 | Grain refreshes per second. |
backgroundColor | string | "#0a0a0a" | Panel backdrop, or "transparent" to show the page through. |
opacity | number | 1 | Master alpha. |
cursorInteraction | boolean | true | Let the pointer swing the shells around. |
cursorTilt | number | 0.6 | How far the pointer tilts the view, 0 to 1. |
paused | boolean | false | Freeze the animation. |
adaptiveQuality | boolean | true | Scale back resolution when the frame budget slips. |
targetFps | number | 60 | Frame rate the quality meter aims to hold. |
dpr | number | 1.75 | Upper device pixel ratio bound. |
className | string | - | Optional className applied to the root. |
children | ReactNode | - | Content layered above the aura. |
speednumberHow fast the shells tumble.
0.5layersnumberNumber of nested shells accumulated along each ray. The main cost knob.
10staggernumberRotation offset applied between consecutive shells, in radians.
2.3radiusnumberRadius of the shell the aura wraps around.
4densitynumberThickness response of the shell. Lower spreads the glow wider.
0.9softnessnumberSmallest distance the accumulator will divide by.
0.01warpnumberStrength of the ridged distortion breaking up the shells.
0.25warpScalenumberSpatial frequency of the distortion.
1.8gainnumberOverall brightness before tone mapping.
2.6exposurenumberTone mapping headroom. Higher keeps more of the falloff.
130contrastnumberTone response curve. Above 1 deepens the shadows.
1cameraDistancenumberDistance of the eye from the shell.
13focalnumberFocal length of the virtual lens.
1colorstringFirst palette colour.
"#f472b6"midColorstringSecond palette colour.
"#a855f7"deepColorstringThird palette colour.
"#4338ca"hueDriftnumberHow fast the palette cycles through the shells.
1pulsenumberDepth of the slow brightness breath. 0 disables it.
0.12pulseRatenumberSpeed of the brightness breath.
0.5grainnumberFilm grain strength, 0 to 1.
0.05grainSizenumberGrain cell size in CSS pixels.
1grainRatenumberGrain refreshes per second.
24backgroundColorstringPanel backdrop, or "transparent" to show the page through.
"#0a0a0a"opacitynumberMaster alpha.
1cursorInteractionbooleanLet the pointer swing the shells around.
truecursorTiltnumberHow far the pointer tilts the view, 0 to 1.
0.6pausedbooleanFreeze the animation.
falseadaptiveQualitybooleanScale back resolution when the frame budget slips.
truetargetFpsnumberFrame rate the quality meter aims to hold.
60dprnumberUpper device pixel ratio bound.
1.75classNamestringOptional className applied to the root.
-childrenReactNodeContent layered above the aura.
-