Prism Fog
Soft folds of cloud lit from inside by drifting bands of spectral color.
pixikit.com/docs/effects/prism-fog
Customize
Speed1.00
Steps40
Octaves4
Focal1.00
Swirl0.60
Swirl falloff5.0
Wave amp0.50
Wave freq4.00
Wave lapse1.60
Wave speed0.30
Thickness0.25
Softness0.008
Passthrough0.15
Sky7.00
Reach3.2
Density0.80
Spectrum0.85
Color wave12.0
Color speed0.30
Color twist1.00
Bloom0.35
Bloom power3.00
Grain0.035
Vignette0.25
Opacity1.00
Cursor steer0.12
Color
Highlight color
Background color
Grain rate24
Cursor interaction
Paused
Adaptive quality
Target fps60
Max fps40
Dpr1.1
Props
39| Name | Type | Default | Description |
|---|---|---|---|
speed | number | 1 | How fast the cloud churns. |
steps | number | 40 | Samples taken through the cloud; more is smoother and slower. |
octaves | number | 4 | Layers of turbulence folded into the cloud, 1 to 6. |
focal | number | 1 | Field of view; lower is more telephoto. |
swirl | number | 0.6 | How fast the core winds and unwinds the cloud. |
swirlFalloff | number | 5 | How quickly the twist fades away from the core. |
waveAmp | number | 0.5 | Depth of the folds. |
waveFreq | number | 4 | Size of the largest fold; higher is finer. |
waveLapse | number | 1.6 | How much finer each following fold is. |
waveSpeed | number | 0.3 | How fast the folds travel. |
thickness | number | 0.25 | Half height of the cloud layer. |
softness | number | 0.008 | Smallest step through the cloud; lower is sharper and slower. |
passthrough | number | 0.15 | How far a sample coasts once it has left the layer. |
sky | number | 7 | How sharply the brightness falls off toward the edges of the layer. |
reach | number | 3.2 | How deep into the cloud the view goes. |
density | number | 1.2 | Overall opacity of the cloud. |
spectrum | number | 0.85 | How much of the rainbow shows through, 0 to 1. |
colorWave | number | 12 | How tightly the color bands wrap the layer. |
colorSpeed | number | 0.3 | How fast the colors sway back and forth. |
colorTwist | number | 1 | How much depth skews the colors. |
bloom | number | 0.35 | Strength of the hot core. |
bloomPower | number | 3 | How tightly the hot core clings to the densest cloud. |
grain | number | 0.035 | Film grain strength. |
vignette | number | 0.25 | Corner darkening, 0 to 1. |
opacity | number | 1 | Opacity of the whole effect. |
cursorSteer | number | 0.12 | How far the pointer leans the view. |
color | string | "#e9d5ff" | Color the whole cloud is tinted with. |
highlightColor | string | "#f5d0fe" | Color of the hot core. |
backgroundColor | string | "#0a0a0a" | Backdrop color, or "transparent" to show the page through. |
grainRate | number | 24 | Grain refreshes per second. |
cursorInteraction | boolean | true | Lets the pointer lean the view. |
paused | boolean | false | Freezes the animation. |
adaptiveQuality | boolean | true | Lowers the resolution when frames take too long. |
targetFps | number | 60 | Frame rate the adaptive quality aims to hold. |
maxFps | number | 40 | Upper limit for the frame rate. |
dpr | number | 1.1 | Upper limit for the device pixel ratio. |
className | string | None | Classes for the root element; give it a height. |
style | CSSProperties | None | Inline styles for the root element. |
children | ReactNode | None | Content layered above the effect. |