- Docs
- Components
- Backgrounds
- Thinking Dots
Thinking Dots
A dot matrix breathing around a drifting cloud of density
Customize
Props
35| Name | Type | Default | Description |
|---|---|---|---|
speed | number | 1 | How fast the cloud drifts. |
lobes | number | 3 | Number of gaussian lobes making up the cloud. |
spacing | number | 0.058 | Distance between dot centres, in screen heights. |
dotSize | number | 0.022 | Radius of a dot outside the cloud, as a fraction of a cell. |
dotGain | number | 0.112 | Extra radius a dot gains at full cloud density. |
dotSoftness | number | 0.48 | Edge softness of a dot, 0 is hard and 1 is fully feathered. |
jitter | number | 0.01 | Random per-cell variation in dot radius. |
pulse | number | 0.1 | Depth of the size ripple travelling across the grid. |
pulseRate | number | 1.6 | Speed of that ripple. |
pulseGlow | number | 0.22 | Depth of the matching brightness ripple. |
drift | number | 0.22 | How far the lobes wander from the centre. |
cloudScale | number | 1 | Overall size of the cloud. |
turbulence | number | 0.22 | Strength of the noise that breaks up the cloud edge. |
turbulenceScale | number | 2.4 | Spatial frequency of that noise. |
ambient | number | 0.16 | Brightness of dots outside the cloud. |
intensity | number | 0.86 | Brightness a dot gains at full cloud density. |
accentStart | number | 0.55 | Density at which the accent colour starts appearing. |
accentEnd | number | 1.1 | Density at which the accent colour takes over. |
color | string | "#ff44af" | Colour of the resting dots. |
accentColor | string | "#ff44af" | Colour of the dots at the heart of the cloud. |
glow | number | 0.035 | Strength of the halo around the densest dots. |
glowFalloff | number | 4 | How quickly that halo falls off inside a cell. |
grain | number | 0.03 | Film grain strength, 0 to 1. |
grainRate | number | 24 | Grain refreshes per second. |
vignette | number | 0.1 | Corner darkening, 0 to 1. |
backgroundColor | string | "#0a0a0a" | Panel backdrop, or "transparent" to show the page through. |
opacity | number | 1 | Master alpha. |
cursorInteraction | boolean | true | Let the pointer draw the cloud toward it. |
cursorInfluence | number | 0.35 | How strongly the pointer swells the cloud. |
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 dot field. |
speednumberHow fast the cloud drifts.
1lobesnumberNumber of gaussian lobes making up the cloud.
3spacingnumberDistance between dot centres, in screen heights.
0.058dotSizenumberRadius of a dot outside the cloud, as a fraction of a cell.
0.022dotGainnumberExtra radius a dot gains at full cloud density.
0.112dotSoftnessnumberEdge softness of a dot, 0 is hard and 1 is fully feathered.
0.48jitternumberRandom per-cell variation in dot radius.
0.01pulsenumberDepth of the size ripple travelling across the grid.
0.1pulseRatenumberSpeed of that ripple.
1.6pulseGlownumberDepth of the matching brightness ripple.
0.22driftnumberHow far the lobes wander from the centre.
0.22cloudScalenumberOverall size of the cloud.
1turbulencenumberStrength of the noise that breaks up the cloud edge.
0.22turbulenceScalenumberSpatial frequency of that noise.
2.4ambientnumberBrightness of dots outside the cloud.
0.16intensitynumberBrightness a dot gains at full cloud density.
0.86accentStartnumberDensity at which the accent colour starts appearing.
0.55accentEndnumberDensity at which the accent colour takes over.
1.1colorstringColour of the resting dots.
"#ff44af"accentColorstringColour of the dots at the heart of the cloud.
"#ff44af"glownumberStrength of the halo around the densest dots.
0.035glowFalloffnumberHow quickly that halo falls off inside a cell.
4grainnumberFilm grain strength, 0 to 1.
0.03grainRatenumberGrain refreshes per second.
24vignettenumberCorner darkening, 0 to 1.
0.1backgroundColorstringPanel backdrop, or "transparent" to show the page through.
"#0a0a0a"opacitynumberMaster alpha.
1cursorInteractionbooleanLet the pointer draw the cloud toward it.
truecursorInfluencenumberHow strongly the pointer swells the cloud.
0.35pausedbooleanFreeze 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 dot field.
-