Skip to content
PixiKit

Wind Clouds

A bank of billowing clouds that rises from one edge, drifts with the wind and gets pushed aside by the pointer.

pixikit.com/docs/effects/wind-clouds

Customize

Preset
Colors2 of 10
Background color
Anchor
Height0.90
Coverage0.45
Density0.55
Scale1.00
Towers1.00
Opacity0.90
Wind0.00
Billow1.00
Speed1.00
Resolution0.36
Interactive
Cursor strength1.00
Cursor radius0.16
Seed0
Paused

Props

22
NameTypeDefaultDescription
preset"dusk" | "daylight" | "night" | "lavender" | "blush" | "sunset" | "storm""dusk"A complete sky; colors, backgroundColor, height, coverage, towers and opacity follow it until you pass them.
colorsstring[]["#6D5BC0", "#3A2E7A"]Two cloud colors: the lit edges, then the shaded, denser cores.
backgroundColorstring"#0a0a0a"Sky color behind the clouds; "transparent" floats them over the page.
anchor"bottom" | "top""bottom"Edge the bank rises from; top hangs the clouds from above.
heightnumber0.9How far the bank reaches into the frame, as a fraction of its height.
coveragenumber0.45How much of the bank is filled with cloud.
densitynumber0.55Base thickness of the clouds; lower values leave more sky between puffs.
scalenumber1Size of the puffs; larger values give bigger, calmer clouds.
towersnumber1How much the skyline rises into towers and dips between them.
opacitynumber0.7Opacity of the clouds over the sky.
windnumber0Sideways drift; negative values blow the clouds to the right.
billownumber1How quickly the puffs churn and change shape.
speednumber1Overall animation speed; 0 holds the current frame.
resolutionnumber0.36Render scale relative to the element; the low default keeps the clouds soft and cheap.
interactivebooleantrueMoving the pointer through the clouds drags them along like wind, then they settle back.
cursorStrengthnumber1How far the pointer drags the clouds; 0 turns it off.
cursorRadiusnumber0.16Size of the area the pointer disturbs, relative to the height.
seednumber0Changes the cloud formation and the skyline.
pausedbooleanfalseFreezes the drifting clouds.
classNamestringNoneClasses for the root element; give it a height.
styleCSSPropertiesNoneInline styles for the root element.
childrenReactNodeNoneContent layered above the effect.

Related