ParticleFlow
Thousands of drifting dust particles carried by a real incompressible fluid field the cursor stirs — drag to plow a wake and the particles ride the eddies and vortices it leaves behind, while a gentle ambient breeze keeps the whole scene breathing on its own
Props
Prop
Details
colorAstringDefault:
#8ec5ffColor of particles drifting slowly with the flow
colorAstringDefault: #8ec5ffColor of particles drifting slowly with the flow
colorBstringDefault:
#ffd98eColor particles flash toward as they speed up in the fast jets and wakes
colorBstringDefault: #ffd98eColor particles flash toward as they speed up in the fast jets and wakes
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
oklabColor space for the rest→excited color ramp
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: oklabColor space for the rest→excited color ramp
shape"arrow" | "streak" | "dot" | "square" | "glow"Default:
streakWhat each particle is drawn as — a streak or arrow that stretches along the flow, a plain dot, a square, or a soft glowing comet
shape"arrow" | "streak" | "dot" | "square" | "glow"Default: streakWhat each particle is drawn as — a streak or arrow that stretches along the flow, a plain dot, a square, or a soft glowing comet
countnumberDefault:
6000Number of drifting particles
countnumberDefault: 6000Number of drifting particles
sizenumberDefault:
1.2Size of each particle
sizenumberDefault: 1.2Size of each particle
trailsnumberDefault:
0How long each particle's motion trail persists — 0 draws crisp dust, 1 leaves long flowing ribbons
trailsnumberDefault: 0How long each particle's motion trail persists — 0 draws crisp dust, 1 leaves long flowing ribbons
speednumberDefault:
1How strongly the fluid carries the particles — higher makes the dust ride the flow faster
speednumberDefault: 1How strongly the fluid carries the particles — higher makes the dust ride the flow faster
forcenumberDefault:
1How hard the cursor's motion pushes the fluid — higher plows faster, more violent wakes and jets
forcenumberDefault: 1How hard the cursor's motion pushes the fluid — higher plows faster, more violent wakes and jets
swirlnumberDefault:
25Vorticity confinement — swirl energy that spins the flow into persistent eddies and vortices the dust orbits
swirlnumberDefault: 25Vorticity confinement — swirl energy that spins the flow into persistent eddies and vortices the dust orbits
momentumnumberDefault:
0.6How long the fluid keeps flowing after you stop dragging — high momentum lets the eddies carry the dust on and on
momentumnumberDefault: 0.6How long the fluid keeps flowing after you stop dragging — high momentum lets the eddies carry the dust on and on
ambientnumberDefault:
0.15A gentle, ever-evolving breeze that keeps the dust drifting even without the cursor — set to 0 for a field that only moves when you stir it
ambientnumberDefault: 0.15A gentle, ever-evolving breeze that keeps the dust drifting even without the cursor — set to 0 for a field that only moves when you stir it