Skip to content
PixiKit

Haze Tube

A twisting tube of streaked haze, pinched in the middle, with dust drifting along it.

pixikit.com/docs/effects/haze-tube

Customize

Radius1.5
Narrow1.8
Length10.0
Haze speed0.5
Dust speed1.0
Haze strength0.25
Haze frequency100
Dust density300
Dust size100
Dust opacity0.10
Edge fade2.0
Spiral tight0.50
Rot speed0.00
Base color
Base color light
Camera distance8.5

Props

19
NameTypeDefaultDescription
radiusnumber1.5Radius of the tube at its ends.
narrownumber1.8How much the tube narrows in the middle; 1 is a straight tube.
lengthnumber10Length of the tube.
hazeSpeednumber0.5How fast the haze streams along the tube.
dustSpeednumber1How fast the dust travels.
hazeStrengthnumber0.25Opacity of the haze.
hazeFrequencynumber100How fine the streaks are.
dustDensitynumber300How many dust grains there are.
dustSizenumber100Size of the dust grains.
dustOpacitynumber0.1Opacity of the dust.
edgeFadenumber2Length of the fade at both ends of the tube.
spiralTightnumber0.5How tightly the streaks wind around the tube.
rotSpeednumber0Steady rotation of the tube around its axis.
baseColorstring | [number, number, number]"#c084fc"Color on a dark page: a CSS color or [r, g, b] from 0 to 1.
baseColorLightstring | [number, number, number]"#4400aa"Color on a light page: a CSS color or [r, g, b] from 0 to 1.
cameraDistancenumber8.5Distance of the camera from the tube.
classNamestringNoneClasses for the root element; give it a height.
styleCSSPropertiesNoneInline styles for the root element.
childrenReactNodeNoneContent layered above the effect.

More background effects in Pro

View all

Related