Particle Image

An image dissolved into GPU particles that swirl apart and reassemble

Customize

Particle Count
500000
Particle Size
2.0
Particle Opacity
0.85
Speed
1.0
Noise Scale
0.0005
Noise Strength
0.05
Damping
0.950
Lifespan
200
Image Opacity
1.00
Cursor Strength
0.10
Cursor Radius
100
Background

Props

21
imageUrlstring

Image sampled for particle color and drawn behind the field

Default"https://images.unsplash.com/..."
widthstring | number

Container width

Default"100%"
heightstring | number

Container height

Default"100%"
classNamestring

Additional CSS classes

Defaultundefined
childrenReactNode

Content rendered above the effect

Defaultundefined
particleCountnumber

Number of live particles, rounded up to a square simulation grid

Default500000
particleSizenumber

Particle diameter in CSS pixels

Default2
particleOpacitynumber

Peak particle opacity

Default0.85
speednumber

Rate the flow field evolves

Default1
noiseScalenumber

Flow field frequency: lower means longer, smoother currents

Default0.0005
noiseStrengthnumber

Acceleration applied along the flow field each frame

Default0.05
dampingnumber

Velocity retained each frame, lower settles faster

Default0.95
lifespannumber

Frames a particle lives before it respawns

Default200
showImageboolean

Draw the source image behind the particles

Defaulttrue
imageOpacitynumber

Opacity of the image behind the particles

Default1
backgroundColorstring

Background fill color in hex

Default"#ffffff"
cursorInteractionboolean

Let pointer movement drag particles along with it

Defaulttrue
cursorStrengthnumber

How much pointer momentum transfers to nearby particles

Default0.1
cursorRadiusnumber

Radius of the pointer influence in CSS pixels

Default100
dprnumber

Maximum device pixel ratio

Default2
pausedboolean

Freeze the simulation in place

Defaultfalse