Skip to content
PixiKit

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
NameTypeDefaultDescription
speednumber1How fast the cloud churns.
stepsnumber40Samples taken through the cloud; more is smoother and slower.
octavesnumber4Layers of turbulence folded into the cloud, 1 to 6.
focalnumber1Field of view; lower is more telephoto.
swirlnumber0.6How fast the core winds and unwinds the cloud.
swirlFalloffnumber5How quickly the twist fades away from the core.
waveAmpnumber0.5Depth of the folds.
waveFreqnumber4Size of the largest fold; higher is finer.
waveLapsenumber1.6How much finer each following fold is.
waveSpeednumber0.3How fast the folds travel.
thicknessnumber0.25Half height of the cloud layer.
softnessnumber0.008Smallest step through the cloud; lower is sharper and slower.
passthroughnumber0.15How far a sample coasts once it has left the layer.
skynumber7How sharply the brightness falls off toward the edges of the layer.
reachnumber3.2How deep into the cloud the view goes.
densitynumber1.2Overall opacity of the cloud.
spectrumnumber0.85How much of the rainbow shows through, 0 to 1.
colorWavenumber12How tightly the color bands wrap the layer.
colorSpeednumber0.3How fast the colors sway back and forth.
colorTwistnumber1How much depth skews the colors.
bloomnumber0.35Strength of the hot core.
bloomPowernumber3How tightly the hot core clings to the densest cloud.
grainnumber0.035Film grain strength.
vignettenumber0.25Corner darkening, 0 to 1.
opacitynumber1Opacity of the whole effect.
cursorSteernumber0.12How far the pointer leans the view.
colorstring"#e9d5ff"Color the whole cloud is tinted with.
highlightColorstring"#f5d0fe"Color of the hot core.
backgroundColorstring"#0a0a0a"Backdrop color, or "transparent" to show the page through.
grainRatenumber24Grain refreshes per second.
cursorInteractionbooleantrueLets the pointer lean the view.
pausedbooleanfalseFreezes the animation.
adaptiveQualitybooleantrueLowers the resolution when frames take too long.
targetFpsnumber60Frame rate the adaptive quality aims to hold.
maxFpsnumber40Upper limit for the frame rate.
dprnumber1.1Upper limit for the device pixel ratio.
classNamestringNoneClasses for the root element; give it a height.
styleCSSPropertiesNoneInline styles for the root element.
childrenReactNodeNoneContent layered above the effect.

Related