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| Name | Type | Default | Description |
|---|---|---|---|
radius | number | 1.5 | Radius of the tube at its ends. |
narrow | number | 1.8 | How much the tube narrows in the middle; 1 is a straight tube. |
length | number | 10 | Length of the tube. |
hazeSpeed | number | 0.5 | How fast the haze streams along the tube. |
dustSpeed | number | 1 | How fast the dust travels. |
hazeStrength | number | 0.25 | Opacity of the haze. |
hazeFrequency | number | 100 | How fine the streaks are. |
dustDensity | number | 300 | How many dust grains there are. |
dustSize | number | 100 | Size of the dust grains. |
dustOpacity | number | 0.1 | Opacity of the dust. |
edgeFade | number | 2 | Length of the fade at both ends of the tube. |
spiralTight | number | 0.5 | How tightly the streaks wind around the tube. |
rotSpeed | number | 0 | Steady rotation of the tube around its axis. |
baseColor | string | [number, number, number] | "#c084fc" | Color on a dark page: a CSS color or [r, g, b] from 0 to 1. |
baseColorLight | string | [number, number, number] | "#4400aa" | Color on a light page: a CSS color or [r, g, b] from 0 to 1. |
cameraDistance | number | 8.5 | Distance of the camera from the tube. |
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. |