Fog
Fog that fills the screen and interacts with the mouse
Props
Prop
Details
colorAstringDefault:
#e0e0e0Primary fog color
colorAstringDefault: #e0e0e0Primary fog color
colorBstringDefault:
#888888Secondary fog color — creates variation across the field
colorBstringDefault: #888888Secondary fog color — creates variation across the field
seednumberDefault:
0Deterministic starting pattern — different seeds produce different fog configurations
seednumberDefault: 0Deterministic starting pattern — different seeds produce different fog configurations
speednumberDefault:
1Simulation speed multiplier
speednumberDefault: 1Simulation speed multiplier
turbulencenumberDefault:
1Ambient motion strength
turbulencenumberDefault: 1Ambient motion strength
detailnumberDefault:
15Fine-scale swirling structure — higher values produce more intricate wisps and vortices
detailnumberDefault: 15Fine-scale swirling structure — higher values produce more intricate wisps and vortices
blendingnumberDefault:
0.3How much the two colors blend together — 0 behaves like oil & water (colors stay distinct with sharp boundaries), 1 behaves like food coloring (colors fully mix)
blendingnumberDefault: 0.3How much the two colors blend together — 0 behaves like oil & water (colors stay distinct with sharp boundaries), 1 behaves like food coloring (colors fully mix)
mouseInfluencenumberDefault:
0.1Strength of cursor influence — move the cursor to push fog
mouseInfluencenumberDefault: 0.1Strength of cursor influence — move the cursor to push fog
mouseRadiusnumberDefault:
0.1Radius of cursor influence area
mouseRadiusnumberDefault: 0.1Radius of cursor influence area
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for color interpolation