Brush Size
150px
Strength
0.2
Swirl
Rings
4
Spread
5
Fade
3s
Spacing
15px
Click Strength
2
Dispersion
0
Glint
0
Tint Amount
0.1

More cursor effects in Pro

Cursor trails and pointer effects that give a site its own feel.

View all 19
19 properties
src'https://images.unsplash.com/...'Image URL the ripples distort. Cover fitted to the container.
brushSize150Diameter of each ripple the pointer lays down, in px.
strength0.2How far the image is pushed, as a fraction of its size.
swirlFull turns the push direction sweeps through as a ripple builds. 0 gives a flat push, higher folds the image into caustics.
rings4Concentric swells inside each ripple. 0 is a single plain blob.
spread5How many times its own size a ripple grows to before it dies.
fade3How long a ripple survives, in seconds.
spacing15Pointer travel between ripples, in px. Higher leaves a sparser trail.
dispersionChromatic split between the red and blue channels as they refract.
glintSheen riding the shoulders of each ripple.
tint#a855f7Colour the disturbed water takes on.
tintAmount0.1How strongly the tint colours the disturbed water.
highlightColor#ffffffColour of the sheen.
grayscaleDrain the colour out of the image so the folds read on tone alone.
trigger'hover' | 'click' | 'both''hover'What disturbs the surface: motion, clicks, or both.
clickStrength2How much larger a click ripple starts than a hover one.
quality'low' | 'medium' | 'high''low'Resolution of the displacement buffer. Lower trades crispness for fill rate.
enabledToggle the effect on or off.
Extra classes on the container.
srcstring

Image URL the ripples distort. Cover fitted to the container.

Default'https://images.unsplash.com/...'
brushSizenumber

Diameter of each ripple the pointer lays down, in px.

Default150
strengthnumber

How far the image is pushed, as a fraction of its size.

Default0.2
swirlnumber

Full turns the push direction sweeps through as a ripple builds. 0 gives a flat push, higher folds the image into caustics.

ringsnumber

Concentric swells inside each ripple. 0 is a single plain blob.

Default4
spreadnumber

How many times its own size a ripple grows to before it dies.

Default5
fadenumber

How long a ripple survives, in seconds.

Default3
spacingnumber

Pointer travel between ripples, in px. Higher leaves a sparser trail.

Default15
dispersionnumber

Chromatic split between the red and blue channels as they refract.

glintnumber

Sheen riding the shoulders of each ripple.

tintstring

Colour the disturbed water takes on.

Default#a855f7
tintAmountnumber

How strongly the tint colours the disturbed water.

Default0.1
highlightColorstring

Colour of the sheen.

Default#ffffff
grayscaleboolean

Drain the colour out of the image so the folds read on tone alone.

trigger'hover' | 'click' | 'both'

What disturbs the surface: motion, clicks, or both.

Default'hover'
clickStrengthnumber

How much larger a click ripple starts than a hover one.

Default2
quality'low' | 'medium' | 'high'

Resolution of the displacement buffer. Lower trades crispness for fill rate.

Default'low'
enabledboolean

Toggle the effect on or off.

Extra classes on the container.

Dependencies

1 required package

npm install ogl